summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/XCore/fneg.ll
Commit message (Collapse)AuthorAgeFilesLines
* Revert "[NFC][CodeGen] Add unary FNeg tests to some X86/ and XCore/ tests."Cameron McInally2019-06-131-10/+0
| | | | | | This reverts commit 4f3cf3853e1145e3e08fb42ace79ba3e4e268540. llvm-svn: 363309
* [NFC][CodeGen] Add unary FNeg tests to some X86/ and XCore/ tests.Cameron McInally2019-06-101-0/+10
| | | | llvm-svn: 362987
* DAG: Fold fneg into compare with constant into the constantMatt Arsenault2017-01-301-2/+2
| | | | | | | | fcmp (fneg x), c, pred -> fcmp x, -c, (swap pred) InstCombine already does this. llvm-svn: 293512
* Convert CodeGen/*/*.ll tests to use the new CHECK-LABEL for easier ↵Stephen Lin2013-07-131-1/+1
| | | | | | | | | | debugging. No functionality change and all tests pass after conversion. This was done with the following sed invocation to catch label lines demarking function boundaries: sed -i '' "s/^;\( *\)\([A-Z0-9_]*\):\( *\)test\([A-Za-z0-9_-]*\):\( *\)$/;\1\2-LABEL:\3test\4:\5/g" test/CodeGen/*/*.ll which was written conservatively to avoid false positives rather than false negatives. I scanned through all the changes and everything looks correct. llvm-svn: 186258
* Move various XCore tests to FileCheckRichard Osborne2011-11-011-1/+3
| | | | llvm-svn: 143457
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-091-1/+1
| | | | llvm-svn: 81293
* switch off of 'Section' onto MCSection. We're not properly usingChris Lattner2009-07-311-2/+1
| | | | | | MCSection subclasses yet, but this is a step in the right direction. llvm-svn: 77708
* Split the Add, Sub, and Mul instruction opcodes into separateDan Gohman2009-06-041-1/+1
| | | | | | | | | | | | | | | integer and floating-point opcodes, introducing FAdd, FSub, and FMul. For now, the AsmParser, BitcodeReader, and IRBuilder all preserve backwards compatability, and the Core LLVM APIs preserve backwards compatibility for IR producers. Most front-ends won't need to change immediately. This implements the first step of the plan outlined here: http://nondot.org/sabre/LLVMNotes/IntegerOverflow.txt llvm-svn: 72897
* Fix for PR4235: to build a floating-point value from integer parts, Eli Friedman2009-05-201-1/+1
| | | | | | | | | | | | build an integer and cast that to a float. This fixes a crash caused by trying to split an f32 into two f16's. This changes the behavior in test/CodeGen/XCore/fneg.ll because that testcase now triggers a DAGCombine which converts the fneg into an integer operation. If someone is interested, it's probably possible to tweak the test to generate an actual fneg. llvm-svn: 72162
* Reapply r59464, this time using the correct typeDuncan Sands2008-11-181-1/+0
| | | | | | when softening FNEG. llvm-svn: 59513
* Revert r59464. It was causing this failure:Bill Wendling2008-11-181-0/+1
| | | | | | | | | | | | | | | | | | Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/XCore/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/XCore/fneg.ll Failed with signal(SIGABRT) at line 1 while running: llvm-as < /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/test/CodeGen/XCore/fneg.ll | llc -march=xcore > fneg.ll.tmp1.s Assertion failed: (VT.isFloatingPoint() && "Cannot create integer FP constant!"), function getConstantFP, file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvm.src/lib/CodeGen/SelectionDAG/SelectionDAG.cpp, line 913. 0 llc 0x0092115c _ZN4llvm3sys18RemoveFileOnSignalERKNS0_4PathEPSs + 844 1 libSystem.B.dylib 0x9217809b _sigtramp + 43 2 ??? 0xffffffff 0x0 + 4294967295 3 libSystem.B.dylib 0x921f0ec2 raise + 26 4 libSystem.B.dylib 0x9220047f abort + 73 5 libSystem.B.dylib 0x921f2063 __assert_rtn + 101 6 llc 0x005a5b0a _ZN4llvm12SelectionDAG13getConmake[1]: *** [check-local] Error 1 make: *** [check] Error 2 llvm-svn: 59487
* Add soft float support for a bunch more operations. OriginalDuncan Sands2008-11-171-0/+8
patch by Richard Osborne, tweaked and extended by your humble servant. llvm-svn: 59464
OpenPOWER on IntegriCloud