1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt -passes='deadargelim' -S %s | FileCheck %s
4 define dso_local void @_ZdlPv(ptr %p) nobuiltin {
5 ; CHECK-LABEL: @_ZdlPv(
13 define dso_local i32 @test_fn(ptr %ptr) {
14 ; CHECK-LABEL: @test_fn(
16 ; CHECK-NEXT: call void @_ZdlPv(ptr [[PTR:%.*]]) #[[ATTR1:[0-9]+]]
17 ; CHECK-NEXT: ret i32 1
20 call void @_ZdlPv(ptr %ptr) builtin