[WebAssembly] Don't use set_local instructions explicitly.
[oota-llvm.git] / test / CodeGen / WebAssembly / phi.ll
index 8db0958c30f418ce39ac3bb32c898bac8764b2af..13ce6da8244e66396d90be31aae0c71cd2dbe10f 100644 (file)
@@ -26,9 +26,9 @@ done:
 
 ; CHECK-LABEL: test1:
 ; CHECK: BB1_1:
-; CHECK: set_local $[[NUM0:[0-9]+]], $[[NUM1:[0-9]+]]{{$}}
-; CHECK: set_local $[[NUM1]], $[[NUM2:[0-9]+]]{{$}}
-; CHECK: set_local $[[NUM2]], $[[NUM0]]{{$}}
+; CHECK: copy_local $[[NUM0:[0-9]+]], $[[NUM1:[0-9]+]]{{$}}
+; CHECK: copy_local $[[NUM1]], $[[NUM2:[0-9]+]]{{$}}
+; CHECK: copy_local $[[NUM2]], $[[NUM0]]{{$}}
 define i32 @test1(i32 %n) {
 entry:
   br label %loop