diff options
author | Dan Gohman <dan433584@gmail.com> | 2015-11-23 21:55:57 +0000 |
---|---|---|
committer | Dan Gohman <dan433584@gmail.com> | 2015-11-23 21:55:57 +0000 |
commit | 700515fa929495428201f9d19198dd4bab4ec35e (patch) | |
tree | e523f08b3cb235e7ababd995f805e7b52aba3d82 /llvm/test/CodeGen/WebAssembly/phi.ll | |
parent | 2e1d85a09e140e6c41e8b575511e43df28186eb2 (diff) | |
download | bcm5719-llvm-700515fa929495428201f9d19198dd4bab4ec35e.tar.gz bcm5719-llvm-700515fa929495428201f9d19198dd4bab4ec35e.zip |
[WebAssembly] Suffix output operands with '='.
This distinguishes input operands from output operands. This is something of
a syntactic experiment to see whether the mild amount of clutter this adds is
outweighed by the extra information it conveys to the reader.
llvm-svn: 253922
Diffstat (limited to 'llvm/test/CodeGen/WebAssembly/phi.ll')
-rw-r--r-- | llvm/test/CodeGen/WebAssembly/phi.ll | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/phi.ll b/llvm/test/CodeGen/WebAssembly/phi.ll index 13ce6da8244..abbc1c59af3 100644 --- a/llvm/test/CodeGen/WebAssembly/phi.ll +++ b/llvm/test/CodeGen/WebAssembly/phi.ll @@ -8,7 +8,7 @@ target triple = "wasm32-unknown-unknown" ; Basic phi triangle. ; CHECK-LABEL: test0: -; CHECK: div_s $[[NUM0:[0-9]+]], $0, $pop[[NUM1:[0-9]+]]{{$}} +; CHECK: div_s $[[NUM0:[0-9]+]]=, $0, $pop[[NUM1:[0-9]+]]{{$}} ; CHECK: return $[[NUM0]]{{$}} define i32 @test0(i32 %p) { entry: @@ -26,9 +26,9 @@ done: ; CHECK-LABEL: test1: ; CHECK: BB1_1: -; CHECK: copy_local $[[NUM0:[0-9]+]], $[[NUM1:[0-9]+]]{{$}} -; CHECK: copy_local $[[NUM1]], $[[NUM2:[0-9]+]]{{$}} -; CHECK: copy_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 |