commit | 1875d1eae5f3fe99ab11bbe64db495a63c01c657 | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Jun 04 23:43:29 2009 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Jun 04 23:43:29 2009 +0000 |
tree | efe7e3aa1209bbd333ccbebb456d6748b3241a92 | |
parent | 7447761e359bb54f6db53f2af1b9419688e3359d [diff] |
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
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 +}