- Apr 19, 2012
-
-
Michael J. Spencer authored
llvm-ld is no longer useful and causes confusion and so it is being removed. * Does not work very well on Windows because it must call a gcc like driver to assemble and link. * Has lots of hard coded paths which are wrong on many systems. * Does not understand most of ld's options. * Can be partially replaced by llvm-link | opt | {llc | as, llc -filetype=obj} | ld, or fully replaced by Clang. I know of no production use of llvm-ld, and hacking use should be replaced by Clang's driver. llvm-svn: 155147
-
Jim Grosbach authored
There's almost always a small number of instruction operands, so use a SmallVector and save on heap allocations. llvm-svn: 155143
-
Jim Grosbach authored
llvm-svn: 155142
-
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
-
Daniel Dunbar authored
llvm-svn: 155134
-
Daniel Dunbar authored
- Work in progress, this is mostly important because it lets us incrementally migrate the remaining documentation. - Lots of styling, editing, and integration work yet to come… - PR12589 llvm-svn: 155133
-
Daniel Dunbar authored
- Work in progress, this is just the basic structure. llvm-svn: 155132
-
Daniel Dunbar authored
the user has another lit somewhere. llvm-svn: 155131
-
Gabor Greif authored
llvm-svn: 155128
-
Craig Topper authored
Make fast isel use &XXXRegClass instead of XXXRegisterClass. Not a functional change since XXXRegisterClass is just a constant alias of &XXXRegClass, but should probably go away. llvm-svn: 155104
-
Andrew Trick authored
llvm-svn: 155090
-
Andrew Trick authored
llvm-svn: 155089
-
Jakob Stoklund Olesen authored
llvm-svn: 155081
-
Jim Grosbach authored
llvm-svn: 155075
-
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
-
-
Bill Wendling authored
llvm-svn: 155049
-
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
-
Jim Grosbach authored
llvm-svn: 155040
-
Jim Grosbach authored
StringMap iterators are not deterministic, and that's more important here than speed or memory. llvm-svn: 155039
-
Benjamin Kramer authored
llvm-svn: 155038
-
Jim Grosbach authored
llvm-svn: 155037
-
Benjamin Kramer authored
Same color scheme as clang uses. The colors are only enabled if the output is a tty. llvm-svn: 155035
-
Jim Grosbach authored
llvm-svn: 155034
-
Jim Grosbach authored
llvm-svn: 155032
-
Akira Hatanaka authored
llvm-svn: 155031
-
Akira Hatanaka authored
llvm-svn: 155030
-
Jim Grosbach authored
llvm-svn: 155027
-
Jim Grosbach authored
llvm-svn: 155026
-
Jim Grosbach authored
llvm-svn: 155025
-
Jim Grosbach authored
llvm-svn: 155024
-
Jim Grosbach authored
llvm-svn: 155016
-
Jim Grosbach authored
llvm-svn: 155015
-
Jim Grosbach authored
That way we get source line number information from the diagnostics. llvm-svn: 155014
-
Jim Grosbach authored
llvm-svn: 155013
-
Jim Grosbach authored
llvm-svn: 155012
-
Jakob Stoklund Olesen authored
llvm-svn: 155010
-
Jakob Stoklund Olesen authored
llvm-svn: 155009
-
Silviu Baranga authored
llvm-svn: 155004
-