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/comparisons_i32.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/comparisons_i32.ll')
| -rw-r--r-- | llvm/test/CodeGen/WebAssembly/comparisons_i32.ll | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/comparisons_i32.ll b/llvm/test/CodeGen/WebAssembly/comparisons_i32.ll index c03e2b2b6dc..b724cec1cc6 100644 --- a/llvm/test/CodeGen/WebAssembly/comparisons_i32.ll +++ b/llvm/test/CodeGen/WebAssembly/comparisons_i32.ll @@ -8,7 +8,7 @@ target triple = "wasm32-unknown-unknown" ; CHECK-LABEL: eq_i32: ; CHECK-NEXT: .param i32, i32{{$}} ; CHECK-NEXT: .result i32{{$}} -; CHECK-NEXT: i32.eq $push[[NUM:[0-9]+]], $0, $1{{$}} +; CHECK-NEXT: i32.eq $push[[NUM:[0-9]+]]=, $0, $1{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} define i32 @eq_i32(i32 %x, i32 %y) { %a = icmp eq i32 %x, %y @@ -17,7 +17,7 @@ define i32 @eq_i32(i32 %x, i32 %y) { } ; CHECK-LABEL: ne_i32: -; CHECK: i32.ne $push[[NUM:[0-9]+]], $0, $1{{$}} +; CHECK: i32.ne $push[[NUM:[0-9]+]]=, $0, $1{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} define i32 @ne_i32(i32 %x, i32 %y) { %a = icmp ne i32 %x, %y @@ -26,7 +26,7 @@ define i32 @ne_i32(i32 %x, i32 %y) { } ; CHECK-LABEL: slt_i32: -; CHECK: i32.lt_s $push[[NUM:[0-9]+]], $0, $1{{$}} +; CHECK: i32.lt_s $push[[NUM:[0-9]+]]=, $0, $1{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} define i32 @slt_i32(i32 %x, i32 %y) { %a = icmp slt i32 %x, %y @@ -35,7 +35,7 @@ define i32 @slt_i32(i32 %x, i32 %y) { } ; CHECK-LABEL: sle_i32: -; CHECK: i32.le_s $push[[NUM:[0-9]+]], $0, $1{{$}} +; CHECK: i32.le_s $push[[NUM:[0-9]+]]=, $0, $1{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} define i32 @sle_i32(i32 %x, i32 %y) { %a = icmp sle i32 %x, %y @@ -44,7 +44,7 @@ define i32 @sle_i32(i32 %x, i32 %y) { } ; CHECK-LABEL: ult_i32: -; CHECK: i32.lt_u $push[[NUM:[0-9]+]], $0, $1{{$}} +; CHECK: i32.lt_u $push[[NUM:[0-9]+]]=, $0, $1{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} define i32 @ult_i32(i32 %x, i32 %y) { %a = icmp ult i32 %x, %y @@ -53,7 +53,7 @@ define i32 @ult_i32(i32 %x, i32 %y) { } ; CHECK-LABEL: ule_i32: -; CHECK: i32.le_u $push[[NUM:[0-9]+]], $0, $1{{$}} +; CHECK: i32.le_u $push[[NUM:[0-9]+]]=, $0, $1{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} define i32 @ule_i32(i32 %x, i32 %y) { %a = icmp ule i32 %x, %y @@ -62,7 +62,7 @@ define i32 @ule_i32(i32 %x, i32 %y) { } ; CHECK-LABEL: sgt_i32: -; CHECK: i32.gt_s $push[[NUM:[0-9]+]], $0, $1{{$}} +; CHECK: i32.gt_s $push[[NUM:[0-9]+]]=, $0, $1{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} define i32 @sgt_i32(i32 %x, i32 %y) { %a = icmp sgt i32 %x, %y @@ -71,7 +71,7 @@ define i32 @sgt_i32(i32 %x, i32 %y) { } ; CHECK-LABEL: sge_i32: -; CHECK: i32.ge_s $push[[NUM:[0-9]+]], $0, $1{{$}} +; CHECK: i32.ge_s $push[[NUM:[0-9]+]]=, $0, $1{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} define i32 @sge_i32(i32 %x, i32 %y) { %a = icmp sge i32 %x, %y @@ -80,7 +80,7 @@ define i32 @sge_i32(i32 %x, i32 %y) { } ; CHECK-LABEL: ugt_i32: -; CHECK: i32.gt_u $push[[NUM:[0-9]+]], $0, $1{{$}} +; CHECK: i32.gt_u $push[[NUM:[0-9]+]]=, $0, $1{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} define i32 @ugt_i32(i32 %x, i32 %y) { %a = icmp ugt i32 %x, %y @@ -89,7 +89,7 @@ define i32 @ugt_i32(i32 %x, i32 %y) { } ; CHECK-LABEL: uge_i32: -; CHECK: i32.ge_u $push[[NUM:[0-9]+]], $0, $1{{$}} +; CHECK: i32.ge_u $push[[NUM:[0-9]+]]=, $0, $1{{$}} ; CHECK-NEXT: return $pop[[NUM]]{{$}} define i32 @uge_i32(i32 %x, i32 %y) { %a = icmp uge i32 %x, %y |

