[llvm] r253149 - [WebAssembly] Make indentation consistent with the other testcases. NFC.
Dan Gohman via llvm-commits
llvm-commits at lists.llvm.org
Sat Nov 14 15:17:07 PST 2015
Author: djg
Date: Sat Nov 14 17:17:07 2015
New Revision: 253149
URL: http://llvm.org/viewvc/llvm-project?rev=253149&view=rev
Log:
[WebAssembly] Make indentation consistent with the other testcases. NFC.
Modified:
llvm/trunk/test/CodeGen/WebAssembly/select.ll
llvm/trunk/test/CodeGen/WebAssembly/unused-argument.ll
Modified: llvm/trunk/test/CodeGen/WebAssembly/select.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WebAssembly/select.ll?rev=253149&r1=253148&r2=253149&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/WebAssembly/select.ll (original)
+++ llvm/trunk/test/CodeGen/WebAssembly/select.ll Sat Nov 14 17:17:07 2015
@@ -11,9 +11,9 @@ target triple = "wasm32-unknown-unknown"
; CHECK: set_local 4, $pop
; CHECK: i32.select $push, (get_local 4), (get_local 0), (get_local 1)
define i32 @select_i32(i32 %a, i32 %b, i32 %cond) {
- %cc = icmp eq i32 %cond, 0
- %result = select i1 %cc, i32 %a, i32 %b
- ret i32 %result
+ %cc = icmp eq i32 %cond, 0
+ %result = select i1 %cc, i32 %a, i32 %b
+ ret i32 %result
}
; CHECK-LABEL: select_i64:
@@ -21,9 +21,9 @@ define i32 @select_i32(i32 %a, i32 %b, i
; CHECK: set_local 4, $pop
; CHECK: i64.select $push, (get_local 4), (get_local 0), (get_local 1)
define i64 @select_i64(i64 %a, i64 %b, i32 %cond) {
- %cc = icmp eq i32 %cond, 0
- %result = select i1 %cc, i64 %a, i64 %b
- ret i64 %result
+ %cc = icmp eq i32 %cond, 0
+ %result = select i1 %cc, i64 %a, i64 %b
+ ret i64 %result
}
; CHECK-LABEL: select_f32:
@@ -31,9 +31,9 @@ define i64 @select_i64(i64 %a, i64 %b, i
; CHECK: set_local 4, $pop
; CHECK: f32.select $push, (get_local 4), (get_local 0), (get_local 1)
define float @select_f32(float %a, float %b, i32 %cond) {
- %cc = icmp eq i32 %cond, 0
- %result = select i1 %cc, float %a, float %b
- ret float %result
+ %cc = icmp eq i32 %cond, 0
+ %result = select i1 %cc, float %a, float %b
+ ret float %result
}
; CHECK-LABEL: select_f64:
@@ -41,7 +41,7 @@ define float @select_f32(float %a, float
; CHECK: set_local 4, $pop
; CHECK: f64.select $push, (get_local 4), (get_local 0), (get_local 1)
define double @select_f64(double %a, double %b, i32 %cond) {
- %cc = icmp eq i32 %cond, 0
- %result = select i1 %cc, double %a, double %b
- ret double %result
+ %cc = icmp eq i32 %cond, 0
+ %result = select i1 %cc, double %a, double %b
+ ret double %result
}
Modified: llvm/trunk/test/CodeGen/WebAssembly/unused-argument.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/WebAssembly/unused-argument.ll?rev=253149&r1=253148&r2=253149&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/WebAssembly/unused-argument.ll (original)
+++ llvm/trunk/test/CodeGen/WebAssembly/unused-argument.ll Sat Nov 14 17:17:07 2015
@@ -30,6 +30,6 @@ define i32 @unused_second(i32 %x, i32 %y
; CHECK-NEXT: return{{$}}
declare i32 @return_something()
define void @call_something() {
- call i32 @return_something()
- ret void
+ call i32 @return_something()
+ ret void
}
More information about the llvm-commits
mailing list