forked from OSchip/llvm-project
Make test more flexible for when the variable is renamed in the generated LLVM IR. [NFC]
This commit is contained in:
parent
20d704a75e
commit
e79b1ab65b
|
@ -717,8 +717,8 @@ if.end:
|
|||
|
||||
; CHECK-LABEL: @common_addrspacecast(
|
||||
; CHECK: %. = select i1 %flag, i32 9, i32 10
|
||||
; CHECK: %a = addrspacecast i32* %x to i32 addrspace(1)*
|
||||
; CHECK: store i32 %., i32 addrspace(1)* %a
|
||||
; CHECK: %[[a:.*]] = addrspacecast i32* %x to i32 addrspace(1)*
|
||||
; CHECK: store i32 %., i32 addrspace(1)* %[[a]]
|
||||
define i32 @common_addrspacecast(i1 zeroext %flag, i32* %x) {
|
||||
entry:
|
||||
br i1 %flag, label %if.then, label %if.else
|
||||
|
|
Loading…
Reference in New Issue