| Index: tests_lit/llvm2ice_tests/fpconst.pnacl.ll
|
| diff --git a/tests_lit/llvm2ice_tests/fpconst.pnacl.ll b/tests_lit/llvm2ice_tests/fpconst.pnacl.ll
|
| index 6ca41e44083c7ccb3ec9c9637b8b315e55fffae5..b9d4e58ba1c07289d7d4e6ec0f5116b20e0470ce 100644
|
| --- a/tests_lit/llvm2ice_tests/fpconst.pnacl.ll
|
| +++ b/tests_lit/llvm2ice_tests/fpconst.pnacl.ll
|
| @@ -6,6 +6,7 @@
|
| ; number in a reasonable number of digits". See
|
| ; http://llvm.org/docs/LangRef.html#simple-constants .
|
|
|
| +; RUN: %llvm2ice -Om1 --verbose none %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 \
|
| @@ -534,5 +535,16 @@ return: ; preds = %entry, %sw.bb65, %s
|
| ret double %retval.0
|
| }
|
|
|
| +; The FP constant pool entries for each type are dumped in some
|
| +; implementation-dependent order. So for the purposes of lit, we just
|
| +; pick one value for each type, and make sure it appears exactly once.
|
| +
|
| +; Check for float 0.5
|
| +; CHECK: .long 1056964608
|
| +; CHECK-NOT: .long 1056964608
|
| +; Check for double 0.5
|
| +; CHECK: .quad 4602678819172646912
|
| +; CHECK-NOT: .quad 4602678819172646912
|
| +
|
| ; ERRORS-NOT: ICE translation error
|
| ; DUMP-NOT: SZ
|
|
|