18 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py2; RUN: opt -passes=dse -S < %s | FileCheck %s3 4define void @f() {5; CHECK-LABEL: @f(6; CHECK-NEXT: [[TMP1:%.*]] = call noalias ptr @_Znwm()7; CHECK-NEXT: [[TMP4:%.*]] = call noalias ptr @_Znwm()8; CHECK-NEXT: ret void9;10 %tmp1 = call noalias ptr @_Znwm()11 %tmp4 = call noalias ptr @_Znwm()12 store ptr %tmp4, ptr %tmp113 store i8 0, ptr %tmp4, align 114 ret void15}16 17declare ptr @_Znwm()18