summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FloatingPointRegKill.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove the X86::FP_REG_KILL pseudo-instruction and the X86FloatingPointRegKillJakob Stoklund Olesen2010-07-161-153/+0
| | | | | | | | | pass that inserted it. It is no longer necessary to limit the live ranges of FP registers to a single basic block. llvm-svn: 108536
* A basic block that only uses RFP registers still needs the FP_REG_KILL marker.Jakob Stoklund Olesen2010-07-121-10/+7
| | | | | | This fixes PR7375. llvm-svn: 108120
* now that fp reg kill insertion stuff happens as a separateChris Lattner2010-05-211-38/+33
| | | | | | | | | | | | | | | | | | pass after isel instead of being interlaced with it, we can trust that all the code for a function has been isel'd before it is run. The practical impact of this is that we can scan for machine instr phis instead of doing a fuzzy match on the LLVM BB for phi nodes. Doing the fuzzy match required knowing when isel would produce an fp reg stack phi which was gross. It was also wrong in cases where select got lowered to a branch tree because cmovs aren't available (PR6828). Just do the scan on machine phis which is simpler, faster and more correct. This fixes PR6828. llvm-svn: 104333
* Use less evil form of switch stmt.Chris Lattner2010-05-211-2/+4
| | | | llvm-svn: 104331
* use continue to reduce nesting.Chris Lattner2010-05-211-14/+17
| | | | llvm-svn: 104330
* pull a nested loop of this pass out to its own function,Chris Lattner2010-05-211-42/+55
| | | | | | eliminating the gymnastics around the ContainsFPCode var. llvm-svn: 104328
* modernize this pass a bit, fit in 80 columns.Chris Lattner2010-05-211-6/+9
| | | | llvm-svn: 104326
* use DebugLoc default ctor instead of DebugLoc::getUnknownLoc()Chris Lattner2010-04-021-1/+1
| | | | llvm-svn: 100214
* Uniformize the names of type predicates: rather than having isFloatTy andDuncan Sands2010-02-151-1/+1
| | | | | | isInteger, we now have isFloatTy and isIntegerTy. Requested by Chris! llvm-svn: 96223
* Remove includes of Support/Compiler.h that are no longer needed after theNick Lewycky2009-10-251-1/+0
| | | | | | VISIBILITY_HIDDEN removal. llvm-svn: 85043
* Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.Nick Lewycky2009-10-251-1/+1
| | | | | | | Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-2/+3
| | | | llvm-svn: 78948
* X86 floating-point passes don't modify the CFG.Dan Gohman2009-08-011-0/+1
| | | | llvm-svn: 77757
* Remove non-DebugLoc versions of BuildMI from X86.Dale Johannesen2009-02-131-1/+1
| | | | | | There were some that might even matter in X86FastISel. llvm-svn: 64437
* Move the code that inserts X87 FP_REG_KILL instructions from aDan Gohman2008-11-121-0/+139
special-purpose hook to a new pass. Also, add check to see if any x87 virtual registers are used, to avoid doing any work in the common case that no x87 code is needed. llvm-svn: 59190
OpenPOWER on IntegriCloud