We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a44de12 commit 18e1a59Copy full SHA for 18e1a59
llvm/test/Transforms/GVNSink/sink-common-code.ll
@@ -695,8 +695,8 @@ if.end:
695
696
; CHECK-LABEL: @common_bitcast(
697
; CHECK: %. = select i1 %flag, float 2.000000e+00, float 1.000000e+00
698
-; CHECK: %a = bitcast i32* %x to float*
699
-; CHECK: store float %., float* %a
+; CHECK: %[[a1:.*]] = bitcast i32* %x to float*
+; CHECK: store float %., float* %[[a1]]
700
define i32 @common_bitcast(i1 zeroext %flag, i32* %x) {
701
entry:
702
br i1 %flag, label %if.then, label %if.else
@@ -717,8 +717,8 @@ if.end:
717
718
; CHECK-LABEL: @common_addrspacecast(
719
; CHECK: %. = select i1 %flag, i32 9, i32 10
720
-; CHECK: %[[a:.*]] = addrspacecast i32* %x to i32 addrspace(1)*
721
-; CHECK: store i32 %., i32 addrspace(1)* %[[a]]
+; CHECK: %[[a2:.*]] = addrspacecast i32* %x to i32 addrspace(1)*
+; CHECK: store i32 %., i32 addrspace(1)* %[[a2]]
722
define i32 @common_addrspacecast(i1 zeroext %flag, i32* %x) {
723
724
0 commit comments