- Apr 22, 2012
-
-
Bill Wendling authored
llvm-svn: 155307
-
Bill Wendling authored
names. This saves collecting types we normally don't care about. llvm-svn: 155300
-
Chris Lattner authored
StringRef::getAsInteger llvm-svn: 155298
-
- Apr 21, 2012
-
-
Nadav Rotem authored
llvm-svn: 155296
-
Craig Topper authored
llvm-svn: 155294
-
Craig Topper authored
llvm-svn: 155291
-
NAKAMURA Takumi authored
Thanks to Andy Gibbs, to report the issue. llvm-svn: 155287
-
NAKAMURA Takumi authored
llvm-svn: 155286
-
Nuno Lopes authored
llvm-svn: 155283
-
NAKAMURA Takumi authored
llvm-svn: 155281
-
Benjamin Kramer authored
No functionality change. llvm-svn: 155280
-
Jim Grosbach authored
VMUL and VEXT. llvm-svn: 155258
-
Jakob Stoklund Olesen authored
The X86 target is editing the selection DAG while isel is selecting nodes following a topological ordering. When the DAG hacking triggers CSE, nodes can be deleted and bad things happen. llvm-svn: 155257
-
Jim Grosbach authored
llvm-svn: 155254
-
Bill Wendling authored
llvm-svn: 155253
-
Jakob Stoklund Olesen authored
Now that multiple DAGUpdateListeners can be active at the same time, ISelPosition can become a local variable in DoInstructionSelection. We simply register an ISelUpdater with CurDAG while ISelPosition exists. llvm-svn: 155249
-
Jakob Stoklund Olesen authored
Instead of passing listener pointers to RAUW, let SelectionDAG itself keep a linked list of interested listeners. This makes it possible to have multiple listeners active at once, like RAUWUpdateListener was already doing. It also makes it possible to register listeners up the call stack without controlling all RAUW calls below. DAGUpdateListener uses an RAII pattern to add itself to the SelectionDAG list of active listeners. llvm-svn: 155248
-
- Apr 20, 2012
-
-
Bill Wendling authored
process any more Values. llvm-svn: 155241
-
Jakob Stoklund Olesen authored
The <undef> flag on a def operand only applies to partial register redefinitions. Only print the flag when relevant, and print it as <def,read-undef> to make it clearer what it means. llvm-svn: 155239
-
Andrew Trick authored
llvm-svn: 155229
-
Andrew Trick authored
This nicely handles the most common case of virtual register sets, but also handles anticipated cases where we will map pointers to IDs. The goal is not to develop a completely generic SparseSet template. Instead we want to handle the expected uses within llvm without any template antics in the client code. I'm adding a bit of template nastiness here, and some assumption about expected usage in order to make the client code very clean. The expected common uses cases I'm designing for: - integer keys that need to be reindexed, and may map to additional data - densely numbered objects where we want pointer keys because no number->object map exists. llvm-svn: 155227
-
Andrew Trick authored
llvm-svn: 155226
-
Jim Grosbach authored
Use the new TwoOperandAliasConstraint to handle lots of the two-operand aliases for NEON instructions. There's still more to go, but this is a good chunk of them. llvm-svn: 155210
-
Gabor Greif authored
llvm-svn: 155195
-
Gabor Greif authored
(load only has one operand) and smuggle in some whitespace changes too NB: I am obviously testing the water here, and believe that the unguarded cast is still wrong, but why is the getZExtValue of the load's operand tested against zero here? Any review is appreciated. llvm-svn: 155190
-
Craig Topper authored
Convert more uses of XXXRegisterClass to &XXXRegClass. No functional change since they are equivalent. llvm-svn: 155188
-
Craig Topper authored
Convert some uses of XXXRegisterClass to &XXXRegClass. No functional change since they are equivalent. llvm-svn: 155186
-
Jakob Stoklund Olesen authored
While the patch was perfect and defect free, it exposed a really nasty bug in X86 SelectionDAG that caused an llc crash when compiling lencod. I'll put the patch back in after fixing the SelectionDAG problem. llvm-svn: 155181
-
Jim Grosbach authored
llvm-svn: 155178
-
Jim Grosbach authored
No need for these explicit aliases anymore. Nuke 'em. llvm-svn: 155173
-
Bill Wendling authored
llvm-svn: 155166
-
- Apr 19, 2012
-
-
Dan Gohman authored
loop repeatedlt making the same change. This is for rdar://11256239. llvm-svn: 155160
-
Jakob Stoklund Olesen authored
The shl instruction is used to represent multiplication by a constant power of two as well as bitwise left shifts. Some InstCombine transformations would turn an shl instruction into a bit mask operation, making it difficult for later analysis passes to recognize the constsnt multiplication. Disable those shl transformations, deferring them to DAGCombine time. An 'shl X, C' instruction is now treated mostly the same was as 'mul X, C'. These transformations are deferred: (X >>? C) << C --> X & (-1 << C) (When X >> C has multiple uses) (X >>? C1) << C2 --> X << (C2-C1) & (-1 << C2) (When C2 > C1) (X >>? C1) << C2 --> X >>? (C1-C2) & (-1 << C2) (When C1 > C2) The corresponding exact transformations are preserved, just like div-exact + mul: (X >>?,exact C) << C --> X (X >>?,exact C1) << C2 --> X << (C2-C1) (X >>?,exact C1) << C2 --> X >>?,exact (C1-C2) The disabled transformations could also prevent the instruction selector from recognizing rotate patterns in hash functions and cryptographic primitives. I have a test case for that, but it is too fragile. llvm-svn: 155136
-
Gabor Greif authored
llvm-svn: 155128
-
Andrew Trick authored
llvm-svn: 155090
-
Kevin Enderby authored
symbolicated. These have and operand type of TYPE_RELv which was not handled as isBranch in translateImmediate() in X86Disassembler.cpp. rdar://11268426 llvm-svn: 155074
-
Dan Gohman authored
a function with arguments. This fixes rdar://11265785. llvm-svn: 155073
-
- Apr 18, 2012
-
-
Chandler Carruth authored
commits have had several major issues pointed out in review, and those issues are not being addressed in a timely fashion. Furthermore, this was all committed leading up to the v3.1 branch, and we don't need piles of code with outstanding issues in the branch. It is possible that not all of these commits were necessary to revert to get us back to a green state, but I'm going to let the Hexagon maintainer sort that out. They can recommit, in order, after addressing the feedback. Reverted commits, with some notes: Primary commit r154616: HexagonPacketizer - There are lots of review comments here. This is the primary reason for reverting. In particular, it introduced large amount of warnings due to a bad construct in tablegen. - Follow-up commits that should be folded back into this when reposting: - r154622: CMake fixes - r154660: Fix numerous build warnings in release builds. - Please don't resubmit this until the three commits above are included, and the issues in review addressed. Primary commit r154695: Pass to replace transfer/copy ... - Reverted to minimize merge conflicts. I'm not aware of specific issues with this patch. Primary commit r154703: New Value Jump. - Primarily reverted due to merge conflicts. - Follow-up commits that should be folded back into this when reposting: - r154703: Remove iostream usage - r154758: Fix CMake builds - r154759: Fix build warnings in release builds - Please incorporate these fixes and and review feedback before resubmitting. Primary commit r154829: Hexagon V5 (floating point) support. - Primarily reverted due to merge conflicts. - Follow-up commits that should be folded back into this when reposting: - r154841: Remove unused variable (fixing build warnings) There are also accompanying Clang commits that will be reverted for consistency. llvm-svn: 155047
-
Pete Cooper authored
LiveIntervalUpdate validators weren't recorded after the calls to std::for_each. Turns out std::for_each doesn't update the variable passed in for the functor but instead copy constructs a new one. llvm-svn: 155041
-
Benjamin Kramer authored
Same color scheme as clang uses. The colors are only enabled if the output is a tty. llvm-svn: 155035
-