Index: tests_lit/llvm2ice_tests/bitcast.ll |
diff --git a/tests_lit/llvm2ice_tests/bitcast.ll b/tests_lit/llvm2ice_tests/bitcast.ll |
index c180c876c00636b819f56dffbdb766c9e6496012..8c9a9361eedbd660ec67596690fae243daa174af 100644 |
--- a/tests_lit/llvm2ice_tests/bitcast.ll |
+++ b/tests_lit/llvm2ice_tests/bitcast.ll |
@@ -1,5 +1,7 @@ |
-; RUIN: %llvm2ice -verbose inst %s | FileCheck %s |
-; RUIN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s |
+; Trivial smoke test of bitcast between integer and FP types. |
+ |
+; RUN: %llvm2ice --verbose inst %s | FileCheck %s |
+; RUN: %llvm2ice --verbose none %s | FileCheck --check-prefix=ERRORS %s |
; RUN: %llvm2iceinsts %s | %szdiff %s | FileCheck --check-prefix=DUMP %s |
; RUN: %llvm2iceinsts --pnacl %s | %szdiff %s \ |
; RUN: | FileCheck --check-prefix=DUMP %s |
@@ -7,24 +9,28 @@ |
define internal i32 @cast_f2i(float %f) { |
entry: |
%v0 = bitcast float %f to i32 |
+; CHECK: bitcast |
ret i32 %v0 |
} |
define internal float @cast_i2f(i32 %i) { |
entry: |
%v0 = bitcast i32 %i to float |
+; CHECK: bitcast |
ret float %v0 |
} |
define internal i64 @cast_d2ll(double %d) { |
entry: |
%v0 = bitcast double %d to i64 |
+; CHECK: bitcast |
ret i64 %v0 |
} |
define internal double @cast_ll2d(i64 %ll) { |
entry: |
%v0 = bitcast i64 %ll to double |
+; CHECK: bitcast |
ret double %v0 |
} |