| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Don't copy regs that are only used in the entry block into a vreg. This | Chris Lattner | 2005-08-26 | 1 | -3/+9 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes the code generated for: short %test(short %A) { %B = xor short %A, -32768 ret short %B } to: _test: xori r2, r3, 32768 xoris r2, r2, 65535 extsh r3, r2 blr instead of: _test: rlwinm r2, r3, 0, 16, 31 xori r2, r3, 32768 xoris r2, r2, 65535 extsh r3, r2 blr llvm-svn: 23109 | |||||
| * | Call the InsertAtEndOfBasicBlock hook if the usesCustomDAGSchedInserter | Chris Lattner | 2005-08-26 | 1 | -0/+14 | |
| | | | | | | | flag is set on an instruction. llvm-svn: 23098 | |||||
| * | Make -view-isel-dags show the dag before instruction selecting, in case | Chris Lattner | 2005-08-24 | 1 | -2/+2 | |
| | | | | | | | the target isel crashes due to unimplemented features like calls :) llvm-svn: 22997 | |||||
| * | Fix a problem where constant expr shifts would not have their shift amount | Chris Lattner | 2005-08-22 | 1 | -5/+5 | |
| | | | | | | | promoted to the right type. This fixes: IA64/2005-08-22-LegalizerCrash.ll llvm-svn: 22969 | |||||
| * | Enable critical edge splitting by default | Chris Lattner | 2005-08-18 | 1 | -16/+10 | |
| | | | | | llvm-svn: 22863 | |||||
| * | Add a new beta option for critical edge splitting, to avoid a problem that | Chris Lattner | 2005-08-17 | 1 | -0/+23 | |
| | | | | | | | | | | Nate noticed in yacr2 (and I know occurs in other places as well). This is still rough, as the critical edge blocks are not intelligently placed but is added to get some idea to see if this improves performance. llvm-svn: 22825 | |||||
| * | Fix a regression on X86, where FP values can be promoted too. | Chris Lattner | 2005-08-17 | 1 | -1/+4 | |
| | | | | | llvm-svn: 22822 | |||||
| * | Eliminate the RegSDNode class, which 3 nodes (CopyFromReg/CopyToReg/ImplicitDef) | Chris Lattner | 2005-08-16 | 1 | -4/+43 | |
| | | | | | | | | | | | | | | | used to tack a register number onto the node. Instead of doing this, make a new node, RegisterSDNode, which is a leaf containing a register number. These three operations just become normal DAG nodes now, instead of requiring special handling. Note that with this change, it is no longer correct to make illegal CopyFromReg/CopyToReg nodes. The legalizer will not touch them, and this is bad, so don't do it. :) llvm-svn: 22806 | |||||
| * | Eliminate the SetCCSDNode in favor of a CondCodeSDNode class. This pulls the | Chris Lattner | 2005-08-09 | 1 | -4/+4 | |
| | | | | | | | | | CC out of the SetCC operation, making SETCC a standard ternary operation and CC's a standard DAG leaf. This will make it possible for other node to use CC's as operands in the future... llvm-svn: 22728 | |||||
| * | Eliminate all remaining tabs and trailing spaces. | Jeff Cohen | 2005-07-27 | 1 | -2/+2 | |
| | | | | | llvm-svn: 22523 | |||||
| * | Remove unnecessary FP_EXTEND. This causes worse codegen for SSE. | Nate Begeman | 2005-07-19 | 1 | -3/+0 | |
| | | | | | llvm-svn: 22469 | |||||
| * | Make several cleanups to Andrews varargs change: | Chris Lattner | 2005-07-05 | 1 | -22/+25 | |
| | | | | | | | | | | | 1. Pass Value*'s into lowering methods so that the proper pointers can be added to load/stores from the valist 2. Intrinsics that return void should only return a token chain, not a token chain/retval pair. 3. Rename LowerVAArgNext -> LowerVAArg, because VANext is long gone. llvm-svn: 22338 | |||||
| * | restore old srcValueNode behavior and try to to work around it | Andrew Lenharth | 2005-06-29 | 1 | -2/+2 | |
| | | | | | llvm-svn: 22315 | |||||
| * | tracking the instructions causing loads and stores provides more information ↵ | Andrew Lenharth | 2005-06-29 | 1 | -2/+2 | |
| | | | | | | | than just the pointer being loaded or stored llvm-svn: 22311 | |||||
| * | If we support structs as va_list, we must pass pointers to them to va_copy | Andrew Lenharth | 2005-06-22 | 1 | -4/+5 | |
| | | | | | | | See last commit for LangRef, this implements it on all targets. llvm-svn: 22273 | |||||
| * | core changes for varargs | Andrew Lenharth | 2005-06-18 | 1 | -18/+12 | |
| | | | | | llvm-svn: 22254 | |||||
| * | Fix construction of ioport intrinsics, fixing X86/io.llx and io-port.llx | Chris Lattner | 2005-05-14 | 1 | -4/+10 | |
| | | | | | llvm-svn: 22026 | |||||
| * | Eliminate special purpose hacks for dynamic_stack_alloc. | Chris Lattner | 2005-05-14 | 1 | -3/+8 | |
| | | | | | llvm-svn: 22015 | |||||
| * | LowerOperation takes a dag | Chris Lattner | 2005-05-14 | 1 | -1/+1 | |
| | | | | | llvm-svn: 22004 | |||||
| * | Align doubles on 8-byte boundaries if possible. | Chris Lattner | 2005-05-13 | 1 | -0/+9 | |
| | | | | | llvm-svn: 21993 | |||||
| * | Add an isTailCall flag to LowerCallTo | Chris Lattner | 2005-05-13 | 1 | -3/+4 | |
| | | | | | llvm-svn: 21958 | |||||
| * | Emit function entry code after lowering hte arguments. | Chris Lattner | 2005-05-13 | 1 | -2/+2 | |
| | | | | | llvm-svn: 21931 | |||||
| * | Allow targets to emit code into the entry block of each function | Chris Lattner | 2005-05-13 | 1 | -0/+2 | |
| | | | | | llvm-svn: 21930 | |||||
| * | Pass calling convention to use into lower call to | Chris Lattner | 2005-05-12 | 1 | -3/+4 | |
| | | | | | llvm-svn: 21900 | |||||
| * | wrap long line | Chris Lattner | 2005-05-11 | 1 | -1/+2 | |
| | | | | | llvm-svn: 21870 | |||||
| * | The semantics of cast X to bool are a comparison against zero, not a truncation! | Chris Lattner | 2005-05-09 | 1 | -0/+5 | |
| | | | | | llvm-svn: 21833 | |||||
| * | Add support for matching the READPORT, WRITEPORT, READIO, WRITEIO intrinsics | Chris Lattner | 2005-05-09 | 1 | -14/+28 | |
| | | | | | llvm-svn: 21825 | |||||
| * | Don't use the load/store instruction as the source pointer, use the pointer | Chris Lattner | 2005-05-09 | 1 | -2/+2 | |
| | | | | | | | being stored/loaded through! llvm-svn: 21806 | |||||
| * | wrap long lines | Chris Lattner | 2005-05-09 | 1 | -2/+4 | |
| | | | | | llvm-svn: 21804 | |||||
| * | When hitting an unsupported intrinsic, actually print it | Chris Lattner | 2005-05-05 | 1 | -0/+10 | |
| | | | | | | | Lower debug info to noops. llvm-svn: 21698 | |||||
| * | Implement count leading zeros (ctlz), count trailing zeros (cttz), and count | Andrew Lenharth | 2005-05-03 | 1 | -0/+15 | |
| | | | | | | | | | | population (ctpop). Generic lowering is implemented, however only promotion is implemented for SelectionDAG at the moment. More coming soon. llvm-svn: 21676 | |||||
| * | Codegen and legalize sin/cos/llvm.sqrt as FSIN/FCOS/FSQRT calls. This patch | Chris Lattner | 2005-04-30 | 1 | -0/+25 | |
| | | | | | | | | was contributed by Morten Ofstad, with some minor tweaks and bug fixes added by me. llvm-svn: 21636 | |||||
| * | Implement Value* tracking for loads and stores in the selection DAG. This ↵ | Andrew Lenharth | 2005-04-27 | 1 | -2/+3 | |
| | | | | | | | | | enables one to use alias analysis in the backends. (TRUNK)Stores and (EXT|ZEXT|SEXT)Loads have an extra SDOperand which is a SrcValueSDNode which contains the Value*. Note that if the operation is introduced by the backend, it will still have the operand, but the value* will be null. llvm-svn: 21599 | |||||
| * | Convert tabs to spaces | Misha Brukman | 2005-04-22 | 1 | -5/+4 | |
| | | | | | llvm-svn: 21439 | |||||
| * | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -28/+28 | |
| | | | | | llvm-svn: 21420 | |||||
| * | Fold shift by size larger than type size to undef | Nate Begeman | 2005-04-12 | 1 | -8/+1 | |
| | | | | | | | Make llvm undef values generate ISD::UNDEF nodes llvm-svn: 21261 | |||||
| * | Emit BRCONDTWOWAY when possible. | Chris Lattner | 2005-04-09 | 1 | -7/+6 | |
| | | | | | llvm-svn: 21167 | |||||
| * | transform fabs/fabsf calls into FABS nodes. | Chris Lattner | 2005-04-02 | 1 | -29/+39 | |
| | | | | | llvm-svn: 21014 | |||||
| * | Turn -0.0 - X -> fneg | Chris Lattner | 2005-04-02 | 1 | -1/+13 | |
| | | | | | llvm-svn: 21011 | |||||
| * | PCMarker support for DAG and Alpha | Andrew Lenharth | 2005-03-31 | 1 | -0/+6 | |
| | | | | | llvm-svn: 20965 | |||||
| * | Instead of setting up the CFG edges at selectiondag construction time, set | Chris Lattner | 2005-03-30 | 1 | -7/+15 | |
| | | | | | | | | them up after the code has been emitted. This allows targets to select one mbb as multiple mbb's as needed. llvm-svn: 20937 | |||||
| * | Fix a bug that andrew noticed where we do not correctly sign/zero extend | Chris Lattner | 2005-03-29 | 1 | -4/+13 | |
| | | | | | | | | | returned integer values all of the way to 64-bits (we only did it to 32-bits leaving the top bits undefined). This causes problems for targets like alpha whose ABI's define the top bits too. llvm-svn: 20926 | |||||
| * | Change interface to LowerCallTo to take a boolean isVarArg argument. | Nate Begeman | 2005-03-26 | 1 | -3/+6 | |
| | | | | | llvm-svn: 20842 | |||||
| * | This mega patch converts us from using Function::a{iterator|begin|end} to | Chris Lattner | 2005-03-15 | 1 | -3/+3 | |
| | | | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597 | |||||
| * | Fix compilation errors with VS 2005, patch by Aaron Gray. | Misha Brukman | 2005-02-17 | 1 | -0/+3 | |
| | | | | | llvm-svn: 20231 | |||||
| * | Don't sink argument loads into loops or other bad places. This disables ↵ | Chris Lattner | 2005-02-17 | 1 | -1/+8 | |
| | | | | | | | folding of argument loads with instructions that are not in the entry block. llvm-svn: 20228 | |||||
| * | Adjust to changes in SelectionDAG interface. | Chris Lattner | 2005-01-23 | 1 | -2/+2 | |
| | | | | | llvm-svn: 19779 | |||||
| * | Get this to work for 64-bit systems. | Chris Lattner | 2005-01-22 | 1 | -6/+11 | |
| | | | | | llvm-svn: 19763 | |||||
| * | Support targets that do not use i8 shift amounts. | Chris Lattner | 2005-01-19 | 1 | -0/+4 | |
| | | | | | llvm-svn: 19707 | |||||
| * | Teach legalize to promote copy(from|to)reg, instead of making the isel pass | Chris Lattner | 2005-01-18 | 1 | -21/+1 | |
| | | | | | | | | | | do it. This results in better code on X86 for floats (because if strict precision is not required, we can elide some more expensive double -> float conversions like the old isel did), and allows other targets to emit CopyFromRegs that are not legal for arguments. llvm-svn: 19668 | |||||

