X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=test%2FCodeGen%2FWebAssembly%2Fphi.ll;h=c87ce63bab9de47f1bc0d6aeebd0208fed9d0775;hp=a4675fba711292e2cbe53b6ce5155828807df7ee;hb=de786c9b89c1047e18c2f166d97f21cfe682195a;hpb=e7c8e13fb5db1afd19f87a9e0d37f62a4af56b73 diff --git a/test/CodeGen/WebAssembly/phi.ll b/test/CodeGen/WebAssembly/phi.ll index a4675fba711..c87ce63bab9 100644 --- a/test/CodeGen/WebAssembly/phi.ll +++ b/test/CodeGen/WebAssembly/phi.ll @@ -8,8 +8,8 @@ target triple = "wasm32-unknown-unknown" ; Basic phi triangle. ; CHECK-LABEL: test0 -; CHECK: (setlocal [[REG:@.*]] (argument 0)) -; CHECK: (setlocal [[REG]] (sdiv [[REG]] {{.*}})) +; CHECK: (set_local [[REG:@.*]] (argument 0)) +; CHECK: (set_local [[REG]] (sdiv [[REG]] {{.*}})) ; CHECK: (return [[REG]]) define i32 @test0(i32 %p) { entry: @@ -27,9 +27,9 @@ done: ; CHECK-LABEL: test1 ; CHECK: BB1_1: -; CHECK: (setlocal [[REG0:@.*]] [[REG1:@.*]]) -; CHECK: (setlocal [[REG1]] [[REG2:@.*]]) -; CHECK: (setlocal [[REG2]] [[REG0]]) +; CHECK: (set_local [[REG0:@.*]] [[REG1:@.*]]) +; CHECK: (set_local [[REG1]] [[REG2:@.*]]) +; CHECK: (set_local [[REG2]] [[REG0]]) define i32 @test1(i32 %n) { entry: br label %loop