Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Allow re-materialization of pic load (controlled by -remat-pic-load for now). | Evan Cheng | 2008-02-22 | 1 | -3/+23 | |
| | | | | llvm-svn: 47476 | |||||
* | Enable re-materialization of instructions which have virtual register ↵ | Evan Cheng | 2008-02-22 | 2 | -39/+187 | |
| | | | | | | | | operands if the definition of the operand also reaches its uses. llvm-svn: 47475 | |||||
* | copy mmx values from/to memory with GPRs on x86-32 | Chris Lattner | 2008-02-22 | 1 | -1/+25 | |
| | | | | | | | | instead of with mmx registers. This horribleness is apparently done by gcc to avoid having to insert emms in places that really should have it. This is the second half of rdar://5741668. llvm-svn: 47474 | |||||
* | Print getresult instruction properly. | Devang Patel | 2008-02-22 | 1 | -0/+13 | |
| | | | | llvm-svn: 47473 | |||||
* | Print ret instruction that returns aggregates. | Devang Patel | 2008-02-22 | 1 | -2/+17 | |
| | | | | llvm-svn: 47472 | |||||
* | Read and write getresult. | Devang Patel | 2008-02-22 | 2 | -0/+15 | |
| | | | | llvm-svn: 47471 | |||||
* | Start using GPR's to copy around mmx value instead of mmx regs. | Chris Lattner | 2008-02-22 | 1 | -0/+32 | |
| | | | | | | | | | | GCC apparently does this, and code depends on not having to do emms when this happens. This is x86-64 only so far, second half should handle x86-32. rdar://5741668 llvm-svn: 47470 | |||||
* | Fix compiler warning. | Evan Cheng | 2008-02-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 47468 | |||||
* | Fix a regression in 403.gcc and 186.crafty introduced in 47383. To test | Dan Gohman | 2008-02-22 | 2 | -28/+30 | |
| | | | | | | | that a value is >= 32, check that all of the high bits are zero, not just one or more. llvm-svn: 47467 | |||||
* | print getresult instruction. | Devang Patel | 2008-02-21 | 1 | -0/+1 | |
| | | | | llvm-svn: 47461 | |||||
* | Use isa<> instead of getTypeID() to check StructType. | Devang Patel | 2008-02-21 | 2 | -7/+6 | |
| | | | | llvm-svn: 47460 | |||||
* | A few minor updates, removing implemented stuff and adding a couple of | Eli Friedman | 2008-02-21 | 1 | -83/+110 | |
| | | | | | | new things. llvm-svn: 47458 | |||||
* | Make the clobber analysis a bit more smart: we only are careful about | Chris Lattner | 2008-02-21 | 1 | -3/+13 | |
| | | | | | | | early clobbers if the clobber list contains a *register* not some thing like {memory}, {dirflag} etc. llvm-svn: 47457 | |||||
* | Treat clobber operands like early clobbers: if we have | Chris Lattner | 2008-02-21 | 1 | -0/+16 | |
| | | | | | | | | | any, we force sdisel to do all regalloc for an asm. This leads to gross but correct codegen. This fixes the rest of PR2078. llvm-svn: 47454 | |||||
* | Clear PhysRegPartUse for the sub register as well. | Bill Wendling | 2008-02-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 47453 | |||||
* | Adjust the MaxAlignment for the special register scavenging spill slot. | Bill Wendling | 2008-02-21 | 1 | -0/+3 | |
| | | | | llvm-svn: 47452 | |||||
* | Help testing. | Evan Cheng | 2008-02-21 | 1 | -0/+7 | |
| | | | | llvm-svn: 47448 | |||||
* | Change a C-style cast to const_cast, to avoid a -Wcast-qual warning. | Dan Gohman | 2008-02-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 47437 | |||||
* | Better names as per Evan's request | Andrew Lenharth | 2008-02-21 | 1 | -9/+10 | |
| | | | | llvm-svn: 47435 | |||||
* | Simplify this code, no functionality change. | Nick Lewycky | 2008-02-21 | 1 | -5/+2 | |
| | | | | llvm-svn: 47434 | |||||
* | GlobalValues are Constants, remove redundant code. Also fix typo in a comment. | Nick Lewycky | 2008-02-21 | 1 | -3/+1 | |
| | | | | llvm-svn: 47433 | |||||
* | Dan implemented one multiply issue. Replace it with another. :) | Chris Lattner | 2008-02-21 | 1 | -12/+33 | |
| | | | | llvm-svn: 47431 | |||||
* | Atomic op support. If any gcc test uses __sync builtins, it might start ↵ | Andrew Lenharth | 2008-02-21 | 8 | -7/+345 | |
| | | | | | | failing on archs that haven't implemented them yet llvm-svn: 47430 | |||||
* | Add support for matching mem operands. This fixes PR1133, patch by | Chris Lattner | 2008-02-21 | 1 | -1/+7 | |
| | | | | | | Eli Friedman. This implements CodeGen/Generic/2008-02-20-MatchingMem.ll. llvm-svn: 47428 | |||||
* | Fix a (harmless) but where vregs were added to the used reg lists for | Chris Lattner | 2008-02-21 | 1 | -9/+26 | |
| | | | | | | | | | | inline asms. Fix PR2078 by marking aliases of registers used when a register is marked used. This prevents EAX from being allocated when AX is listed in the clobber set for the asm. llvm-svn: 47426 | |||||
* | Let invoke return aggregate value. | Devang Patel | 2008-02-21 | 2 | -3/+4 | |
| | | | | llvm-svn: 47425 | |||||
* | Let function call return aggregate. | Devang Patel | 2008-02-21 | 2 | -7/+26 | |
| | | | | | | Now, we have very first multiple return value testcase! llvm-svn: 47424 | |||||
* | Clean up some spilling code using MachineRegisterInfo. | Evan Cheng | 2008-02-21 | 1 | -22/+51 | |
| | | | | llvm-svn: 47416 | |||||
* | regenerate. | Devang Patel | 2008-02-20 | 3 | -923/+989 | |
| | | | | llvm-svn: 47408 | |||||
* | Parse | Devang Patel | 2008-02-20 | 1 | -3/+37 | |
| | | | | | | | ret i32 1, i8 2 another step towards multiple return value support. llvm-svn: 47407 | |||||
* | What if functions can return aggregate values ? | Devang Patel | 2008-02-20 | 3 | -4/+9 | |
| | | | | | | One small step towards multiple return value support. llvm-svn: 47406 | |||||
* | Regenerated files. | Dale Johannesen | 2008-02-20 | 3 | -1156/+1178 | |
| | | | | llvm-svn: 47402 | |||||
* | Support alignment within ParamAttrs in the I/O handling. | Dale Johannesen | 2008-02-20 | 2 | -1/+2 | |
| | | | | llvm-svn: 47401 | |||||
* | Poorly named option. | Evan Cheng | 2008-02-20 | 2 | -3/+4 | |
| | | | | llvm-svn: 47400 | |||||
* | Remove one of the fixmes that I put in there. From Evan: | Bill Wendling | 2008-02-20 | 1 | -2/+3 | |
| | | | | | | | | No need to go up more levels. A def of a register also sets its sub-registers (so if PhysRegInfo[SuperReg] is NULL, it means SuperReg's super registers are not previously defined). llvm-svn: 47399 | |||||
* | Add convenient helper to get suffix of the file | Anton Korobeynikov | 2008-02-20 | 1 | -1/+4 | |
| | | | | llvm-svn: 47397 | |||||
* | getresult does not support nested aggregates. | Devang Patel | 2008-02-20 | 1 | -3/+14 | |
| | | | | llvm-svn: 47396 | |||||
* | Improve some comments explaining the "handle kills" stuff better. | Bill Wendling | 2008-02-20 | 1 | -2/+4 | |
| | | | | llvm-svn: 47395 | |||||
* | Verifier should use Assert1 instead of assert. | Devang Patel | 2008-02-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 47394 | |||||
* | getresult type is the type of indexed aggregate element | Devang Patel | 2008-02-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 47392 | |||||
* | Regenerate. | Devang Patel | 2008-02-20 | 3 | -327/+327 | |
| | | | | llvm-svn: 47391 | |||||
* | Specify GetResultInst index as an unsigned. | Devang Patel | 2008-02-20 | 2 | -11/+13 | |
| | | | | llvm-svn: 47390 | |||||
* | Fix comment. | Bill Wendling | 2008-02-20 | 1 | -2/+1 | |
| | | | | llvm-svn: 47389 | |||||
* | assert is more effective reminder then FIXME tag for unimplemented features. | Devang Patel | 2008-02-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 47388 | |||||
* | Use isValidOperands() to verify GetResultInst. | Devang Patel | 2008-02-20 | 1 | -1/+2 | |
| | | | | llvm-svn: 47387 | |||||
* | Temporarily backing out r47337. It breaks a number of CBE tests. | Evan Cheng | 2008-02-20 | 1 | -5/+7 | |
| | | | | llvm-svn: 47385 | |||||
* | LegalizeTypes support for scalarizing a vector store | Duncan Sands | 2008-02-20 | 4 | -8/+46 | |
| | | | | | | | | | and splitting extract_subvector. This fixes nine "make check" testcases, for example 2008-02-04-ExtractSubvector.ll and (partially) CodeGen/Generic/vector.ll. llvm-svn: 47384 | |||||
* | Convert Legalize to use the APInt form of ComputeMaskedBits. | Dan Gohman | 2008-02-20 | 2 | -14/+19 | |
| | | | | llvm-svn: 47383 | |||||
* | Add explicit keywords. | Dan Gohman | 2008-02-20 | 3 | -4/+4 | |
| | | | | llvm-svn: 47382 | |||||
* | Convert DAGCombiner to use the APInt form of ComputeMaskedBits. | Dan Gohman | 2008-02-20 | 1 | -12/+13 | |
| | | | | llvm-svn: 47381 |