summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorDan Gohman <dan433584@gmail.com>2015-11-14 23:17:07 +0000
committerDan Gohman <dan433584@gmail.com>2015-11-14 23:17:07 +0000
commit19601fbc8ac6fbfbfad43c03e4587899641a2683 (patch)
tree507d9a0bf87ec3756b1505399b3c4cf1016001be /llvm/test
parent8ad045c1d14ff13a6f4acb3ce1ed83c1111856a8 (diff)
downloadbcm5719-llvm-19601fbc8ac6fbfbfad43c03e4587899641a2683.tar.gz
bcm5719-llvm-19601fbc8ac6fbfbfad43c03e4587899641a2683.zip
[WebAssembly] Make indentation consistent with the other testcases. NFC.
llvm-svn: 253149
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/CodeGen/WebAssembly/select.ll24
-rw-r--r--llvm/test/CodeGen/WebAssembly/unused-argument.ll4
2 files changed, 14 insertions, 14 deletions
diff --git a/llvm/test/CodeGen/WebAssembly/select.ll b/llvm/test/CodeGen/WebAssembly/select.ll
index 6b9679f9e5e..7371507db12 100644
--- a/llvm/test/CodeGen/WebAssembly/select.ll
+++ b/llvm/test/CodeGen/WebAssembly/select.ll
@@ -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, i32 %cond) {
; 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, i32 %cond) {
; 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 %b, i32 %cond) {
; 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
}
diff --git a/llvm/test/CodeGen/WebAssembly/unused-argument.ll b/llvm/test/CodeGen/WebAssembly/unused-argument.ll
index b22de384868..088d2382df7 100644
--- a/llvm/test/CodeGen/WebAssembly/unused-argument.ll
+++ b/llvm/test/CodeGen/WebAssembly/unused-argument.ll
@@ -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
}
OpenPOWER on IntegriCloud