diff options
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/phi.ll')
-rw-r--r-- | llvm/test/CodeGen/WebAssembly/phi.ll | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/phi.ll b/llvm/test/CodeGen/WebAssembly/phi.ll index 9b1d506e29c..107e87219f8 100644 --- a/llvm/test/CodeGen/WebAssembly/phi.ll +++ b/llvm/test/CodeGen/WebAssembly/phi.ll @@ -8,11 +8,11 @@ target triple = "wasm32-unknown-unknown" ; Basic phi triangle. ; CHECK-LABEL: test0: -; CHECK: @0{{$}} -; CHECK: set_local [[REG:@.*]], pop -; CHECK: sdiv [[REG]], {{.*}} +; CHECK: get_local 0{{$}} +; CHECK: set_local [[REG:.*]], pop +; CHECK: sdiv (get_local [[REG]]), {{.*}} ; CHECK: set_local [[REG]], pop -; CHECK: return [[REG]] +; CHECK: return (get_local [[REG]]) define i32 @test0(i32 %p) { entry: %t = icmp slt i32 %p, 0 @@ -29,9 +29,9 @@ done: ; CHECK-LABEL: test1: ; CHECK: BB1_1: -; CHECK: [[REG1:@.*]] -; CHECK: set_local [[REG0:@.*]], pop -; CHECK: [[REG2:@.*]] +; CHECK: get_local [[REG1:.*]] +; CHECK: set_local [[REG0:.*]], pop +; CHECK: get_local [[REG2:.*]] ; CHECK: set_local [[REG1]], pop ; CHECK: [[REG0]] ; CHECK: set_local [[REG2]], pop |