summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/WebAssembly/phi.ll
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-10-03 00:01:53 +0000
committerDan Gohman <dan433584@gmail.com>2015-10-03 00:01:53 +0000
commit6a050f30de04c54010da63d997fb304078adf49d (patch)
tree2aab33e183d72fce3003ebf12fa4c4dbc9b4e5b5 /llvm/test/CodeGen/WebAssembly/phi.ll
parenteb440092c9e85f287e050d6ebcaa5d34932044e2 (diff)
downloadbcm5719-llvm-6a050f30de04c54010da63d997fb304078adf49d.tar.gz
bcm5719-llvm-6a050f30de04c54010da63d997fb304078adf49d.zip
[WebAssembly] Rename setlocal to set_local to match the spec.
llvm-svn: 249218
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/phi.ll')
-rw-r--r--llvm/test/CodeGen/WebAssembly/phi.ll10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/phi.ll b/llvm/test/CodeGen/WebAssembly/phi.ll
index a4675fba711..c87ce63bab9 100644
--- a/llvm/test/CodeGen/WebAssembly/phi.ll
+++ b/llvm/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
OpenPOWER on IntegriCloud