diff options
author | Dan Gohman <gohman@apple.com> | 2009-06-04 23:43:29 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-06-04 23:43:29 +0000 |
commit | 9f5f322a032cc22b5375cf698ac58fe7644547c0 (patch) | |
tree | efe7e3aa1209bbd333ccbebb456d6748b3241a92 /test/CodeGen/CBackend | |
parent | 40e233f103f7aa43f99dd6ee24ed8a22d5d1ea38 (diff) | |
download | external_llvm-9f5f322a032cc22b5375cf698ac58fe7644547c0.zip external_llvm-9f5f322a032cc22b5375cf698ac58fe7644547c0.tar.gz external_llvm-9f5f322a032cc22b5375cf698ac58fe7644547c0.tar.bz2 |
Fix an erroneous check for isFNeg; the FNeg case is handled
a few lines later on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72904 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/CBackend')
-rw-r--r-- | test/CodeGen/CBackend/fneg.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/CBackend/fneg.ll b/test/CodeGen/CBackend/fneg.ll new file mode 100644 index 0000000..68849b2 --- /dev/null +++ b/test/CodeGen/CBackend/fneg.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc -march=c + +define void @func() nounwind { + entry: + %0 = fsub double -0.0, undef + ret void +} |