summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Fix a bug in getMaxValue/getMinValue to pass the right signedness theChris Lattner2009-01-301-6/+6
| | | | | | the constructed APSInt, patch suggested by Ben Laurie! llvm-svn: 63362
* Enable target tripple.Devang Patel2009-01-301-1/+1
| | | | llvm-svn: 63361
* Linux and other target's encoding for DW_AT_declaration may not match.Devang Patel2009-01-301-0/+1
| | | | llvm-svn: 63360
* Propagate debug info when building SelectionDAG.Dale Johannesen2009-01-302-399/+525
| | | | llvm-svn: 63359
* Remove dead code, again.Devang Patel2009-01-301-14/+0
| | | | llvm-svn: 63358
* Remove dead code.Devang Patel2009-01-301-10/+0
| | | | llvm-svn: 63357
* Add DW_AT_declaration for class methods.Devang Patel2009-01-302-2/+36
| | | | llvm-svn: 63356
* Propagate debug location info for the token factor.Bill Wendling2009-01-301-5/+5
| | | | llvm-svn: 63355
* Add dump() routines to help debug debug info :)Devang Patel2009-01-302-0/+128
| | | | llvm-svn: 63353
* Add DebugLoc propagation to some of the methods in DAG combiner.Bill Wendling2009-01-301-27/+34
| | | | llvm-svn: 63350
* Explain why this is here.Bill Wendling2009-01-291-0/+1
| | | | llvm-svn: 63342
* XFAIL this test. It only worked before because of a bug in the spill point ↵Owen Anderson2009-01-291-0/+1
| | | | | | | | selection code. Not deleting because it should be possible to enhance the selection code to handle this in the future. llvm-svn: 63340
* Correct the algorithms for choosing spill and restore points so that we ↵Owen Anderson2009-01-291-2/+23
| | | | | | | | don't try to insert loads/stores between call frame setup and the actual call. This fixes the last known failure for the pre-alloc-splitter. llvm-svn: 63339
* Explicitly add PseudoSourceValue information when loweringDan Gohman2009-01-291-10/+11
| | | | | | BUILD_VECTOR and conversions to stack operations. llvm-svn: 63333
* Make a few things const, fix some comments, and simplifyDan Gohman2009-01-291-16/+8
| | | | | | some assertions. llvm-svn: 63328
* Fix windows build, patch by Marius Wachtler!Chris Lattner2009-01-291-2/+2
| | | | llvm-svn: 63325
* Local register allocator shouldn't assume only the entry and landing pad ↵Evan Cheng2009-01-292-16/+51
| | | | | | basic blocks have live-ins. llvm-svn: 63323
* Fix two typos that Duncan spotted in a comment.Dan Gohman2009-01-291-1/+1
| | | | llvm-svn: 63312
* In the case of an extractelement on an insertelement value,Dan Gohman2009-01-292-1/+30
| | | | | | | the element indices may be equal if either one is not a constant. llvm-svn: 63311
* Add a always_inline test case.Evan Cheng2009-01-291-0/+12
| | | | llvm-svn: 63304
* Revert r63273. This was already implemented by Dale. There's no need for myBill Wendling2009-01-292-94/+135
| | | | | | change. llvm-svn: 63301
* Add a test case for Chris lvalue alignment fixes.Evan Cheng2009-01-291-0/+17
| | | | llvm-svn: 63300
* Fix an issue where restores could be inserted after a terminator instruction,Owen Anderson2009-01-291-4/+12
| | | | | | | | and an iterator invalidation issue. FreeBench/pifft no longer miscompiles with these fixes! llvm-svn: 63293
* Comments are good. :-)Owen Anderson2009-01-291-3/+30
| | | | llvm-svn: 63276
* Add support for aggressive load-use-store folding. This takes care of the Owen Anderson2009-01-291-19/+85
| | | | | | vast majority of code size regressions introduced by pre-alloc-splitting. llvm-svn: 63274
* - Add DebugLoc to getTargetNode(). Bill Wendling2009-01-293-135/+97
| | | | | | | | | - Modify TableGen to add the DebugLoc when calling getTargetNode. (The light-weight wrappers are only temporary. The non-DebugLoc version will be removed once the whole debug info stuff is finished with.) llvm-svn: 63273
* Fix PR3424, a static constructor ordering issue. Patch by Robert Schuster!Chris Lattner2009-01-291-4/+7
| | | | llvm-svn: 63269
* Exit with nice warnings when register allocator run out of registers.Evan Cheng2009-01-295-41/+124
| | | | llvm-svn: 63267
* Make x86's BT instruction matching more thorough, and add someDan Gohman2009-01-296-40/+562
| | | | | | | | | dagcombines that help it match in several more cases. Add several more cases to test/CodeGen/X86/bt.ll. This doesn't yet include matching for BT with an immediate operand, it just covers more register+register cases. llvm-svn: 63266
* Move the code that starts printing the Select_* functionsDan Gohman2009-01-291-3/+3
| | | | | | | | after the code that sorts the patterns. This doesn't affect the output, but it makes the code a little easier to follow. llvm-svn: 63265
* A slight compile time optimization. If the caller knows there isn't a free ↵Evan Cheng2009-01-291-6/+6
| | | | | | register getReg() should not call getFreeReg(). llvm-svn: 63263
* Add DebugLoc-sensitive versions of many node creationDale Johannesen2009-01-292-0/+547
| | | | | | functions. Currently omitted: memcpy, memmove, memset. llvm-svn: 63259
* Fix comment about removeRange.Evan Cheng2009-01-292-2/+2
| | | | llvm-svn: 63255
* Fixed lowering of v816 shuffles.Mon P Wang2009-01-282-1/+15
| | | | llvm-svn: 63252
* Make test platform agnostic.Bill Wendling2009-01-281-3/+1
| | | | llvm-svn: 63247
* Add DebugLoc to the getNode() methods.Bill Wendling2009-01-282-51/+177
| | | | llvm-svn: 63245
* Give this test an explicit target, to make it host-independent.Dan Gohman2009-01-281-1/+1
| | | | llvm-svn: 63244
* SDOperand has been renamed to SDValue. SDNode::Val is nowDan Gohman2009-01-281-14/+14
| | | | | | accessed via SDNode::getNode. llvm-svn: 63240
* Add more comments describing SDNode operator codes.Dan Gohman2009-01-281-8/+12
| | | | llvm-svn: 63239
* Add DebugLoc-aware constructors for SDNode derivedDale Johannesen2009-01-282-0/+107
| | | | | | | classes (those that reasonably have a DebugLoc associated with them). llvm-svn: 63236
* Add some comments on ISD::NodeType.Dan Gohman2009-01-281-0/+7
| | | | llvm-svn: 63234
* Do not forget to derived type while constructing an array type.Devang Patel2009-01-282-0/+95
| | | | llvm-svn: 63233
* Fix some issues with volatility, move "CanConvertToScalar" check Chris Lattner2009-01-282-21/+45
| | | | | | after the others. llvm-svn: 63227
* strengthen this test.Chris Lattner2009-01-281-3/+2
| | | | llvm-svn: 63222
* Fixed extract element when the result needs to be promoted and the input ↵Mon P Wang2009-01-281-0/+2
| | | | | | widened. llvm-svn: 63217
* Delete unnecessary elses.Dan Gohman2009-01-281-2/+2
| | | | llvm-svn: 63214
* Enable PACKAGE_VERSION in cmake builds, this unbreaks the clang build with ↵Chris Lattner2009-01-282-2/+3
| | | | | | | | cmake. Patch by Piotr Rak! llvm-svn: 63213
* Make isOperationLegal do what its name suggests, and introduce aDan Gohman2009-01-286-57/+72
| | | | | | | | | | | | | | | new isOperationLegalOrCustom, which does what isOperationLegal previously did. Update a bunch of callers to use isOperationLegalOrCustom instead of isOperationLegal. In some case it wasn't obvious which behavior is desired; when in doubt I changed then to isOperationLegalOrCustom as that preserves their previous behavior. This is for the second half of PR3376. llvm-svn: 63212
* Formatting.Duncan Sands2009-01-281-8/+5
| | | | llvm-svn: 63199
* Rename getAnalysisToUpdate to getAnalysisIfAvailable.Duncan Sands2009-01-2829-85/+87
| | | | llvm-svn: 63198
OpenPOWER on IntegriCloud