diff options
author | Chris Lattner <sabre@nondot.org> | 2004-07-01 04:11:35 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-07-01 04:11:35 +0000 |
commit | 635b83f13516a203b31b3537901fe2d2f5f1d277 (patch) | |
tree | 131b30bd5a4cd68ce84494f0ea53f1a829174deb /test/Transforms | |
parent | 1394784e876511110edd5302aefefbf97aefa07b (diff) | |
download | external_llvm-635b83f13516a203b31b3537901fe2d2f5f1d277.zip external_llvm-635b83f13516a203b31b3537901fe2d2f5f1d277.tar.gz external_llvm-635b83f13516a203b31b3537901fe2d2f5f1d277.tar.bz2 |
Fix testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14516 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
-rw-r--r-- | test/Transforms/ConstProp/calls.ll | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Transforms/ConstProp/calls.ll b/test/Transforms/ConstProp/calls.ll index 9abf7b7..fb924d8 100644 --- a/test/Transforms/ConstProp/calls.ll +++ b/test/Transforms/ConstProp/calls.ll @@ -4,7 +4,7 @@ declare double %cos(double) declare double %sin(double) declare double %tan(double) declare double %sqrt(double) -declare bool %llvm.isnan(double) +declare bool %llvm.isunordered(double, double) double %T() { %A = call double %cos(double 0.0) @@ -18,8 +18,8 @@ double %T() { } bool %TNAN() { - %A = call bool %llvm.isnan(double 0x7FF8000000000000) ;; it's a nan! - %B = call bool %llvm.isnan(double 123.0) + %A = call bool %llvm.isunordered(double 0x7FF8000000000000, double 1.0) ;; it's a nan! + %B = call bool %llvm.isunordered(double 123.0, double 1.0) %C = or bool %A, %B ret bool %C } |