diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2005-12-22 21:07:29 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2005-12-22 21:07:29 +0000 |
| commit | 8f8124edaa822d8ddf19aa3ad3455bd5737487b7 (patch) | |
| tree | 3131ed0c0895327b1941afdd9ead870f40b82e5b /llvm/test/Regression/Verifier/2004-01-22-FloatNormalization.ll | |
| parent | d834d495b2e886169967dee509ecb860ee1fd236 (diff) | |
| download | bcm5719-llvm-8f8124edaa822d8ddf19aa3ad3455bd5737487b7.tar.gz bcm5719-llvm-8f8124edaa822d8ddf19aa3ad3455bd5737487b7.zip | |
Fix PR409:
Implement the suggested check to ensure that out-of-range float constants
don't get accepted by LLVM accidentally. Adjust the supporting test cases
as well.
llvm-svn: 24963
Diffstat (limited to 'llvm/test/Regression/Verifier/2004-01-22-FloatNormalization.ll')
| -rw-r--r-- | llvm/test/Regression/Verifier/2004-01-22-FloatNormalization.ll | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/Regression/Verifier/2004-01-22-FloatNormalization.ll b/llvm/test/Regression/Verifier/2004-01-22-FloatNormalization.ll new file mode 100644 index 00000000000..8fbfe194277 --- /dev/null +++ b/llvm/test/Regression/Verifier/2004-01-22-FloatNormalization.ll @@ -0,0 +1,6 @@ +; RUN: llvm-as < %s -o /dev/null -f +; XFAIL: * + +; make sure that invalid 'float' values are caught. + +global float 0x1 |

