- Mar 08, 2014
-
-
David Blaikie authored
Suggested by Adrian Prantl in code review for r203187 llvm-svn: 203323
-
Eric Christopher authored
Add a testcase based on sret.cpp where we can now hash the entire compile unit. llvm-svn: 203319
-
Adam Nemet authored
This is already done for shifts. Allow it for rotations as well. E.g.: (rotl:i32 x, (trunc (and y, 31))) -> (rotl:i32 x, (and (trunc y), 31)) Use the newly factored-out distributeTruncateThroughAnd. With this patch and some X86.td tweaks we should be able to remove redundant masking of the rotation amount like in the example above. HW implicitly performs this masking. The testcase will be added as part of the X86 patch. llvm-svn: 203316
-
Adam Nemet authored
This is the new idiom: x<<(y&31) | x>>((0-y)&31) which is recognized as: x ROTL (y&31) The change refines matchRotateSub. In Neg & (OpSize - 1) == (OpSize - Pos) & (OpSize - 1), if Pos is Pos' & (OpSize - 1) we can just use Pos' instead of Pos. llvm-svn: 203315
-
Adam Nemet authored
Slightly change the wording in the function comment. Originally, it can be misunderstood as we turned the input into two subsequent rotates. Better connect the comment which talks about Mask and the code which used LoBits. Renamed variable to MaskLoBits. llvm-svn: 203314
-
Arnold Schwaighofer authored
be split and the result type widened. When the condition of a vselect has to be split it makes no sense widening the vselect and thereby widening the condition. We end up in an endless loop of widening (vselect result type) and splitting (condition mask type) doing this. Instead, split both the condition and the vselect and widen the result. I ran this over the test suite with i686 and mattr=+sse and saw no regressions. Fixes PR18036. llvm-svn: 203311
-
Adrian Prantl authored
horrible/fragile. rdar://problem/16264854 llvm-svn: 203309
-
- Mar 07, 2014
-
-
Eric Christopher authored
llvm-svn: 203307
-
Owen Anderson authored
llvm-svn: 203306
-
Eric Christopher authored
llvm-svn: 203305
-
Eric Christopher authored
First: refactor out the emission of entries into the .debug_loc section into its own routine. Second: add a new class ByteStreamer that can be used to either emit using an AsmPrinter or hash using DIEHash the series of bytes that would be emitted. Use this in all of the location emission routines for the .debug_loc section. No functional change intended outside of a few additional comments in verbose assembly. llvm-svn: 203304
-
Eric Christopher authored
to the hash. llvm-svn: 203303
-
Eli Bendersky authored
llvm-svn: 203301
-
rdar://problem/16264854Adrian Prantl authored
This breaks linux buildbots. Go figure. llvm-svn: 203300
-
Sasa Stankovic authored
llvm-svn: 203298
-
-
David Blaikie authored
Suggested by Adrian Prantl in code review for r203187. llvm-svn: 203296
-
David Blaikie authored
llvm-svn: 203295
-
Benjamin Kramer authored
Looks like GCC implements the lambda->function pointer conversion differently. llvm-svn: 203294
-
Benjamin Kramer authored
No functionality change. llvm-svn: 203288
-
Eric Christopher authored
declaration. llvm-svn: 203287
-
Eric Christopher authored
llvm-svn: 203286
-
Eli Bendersky authored
EXPECT_TRUE/FALSE is also more idiomatic for booleans than EXPECT_EQ llvm-svn: 203284
-
Tom Stellard authored
Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 203281
-
Tom Stellard authored
These are sometimes created by the shrink to boolean optimization in the globalopt pass. Reviewed-by:
Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 203280
-
Benjamin Kramer authored
No functionality change. llvm-svn: 203276
-
Jordan Rose authored
Previously, the assertions in PointerIntPair would try to calculate the value (1 << NumLowBitsAvailable); the inferred type here is 'int', so if there were more than 31 bits available we'd get a shift overflow. Also, add a rudimentary unit test file for PointerIntPair. llvm-svn: 203273
-
Michael Gottesman authored
Patch by Konrad Kleine. Differential Revision: http://llvm-reviews.chandlerc.com/D2967 llvm-svn: 203272
-
Benjamin Kramer authored
It has a lot of them with complex types. C++11 really shines here. llvm-svn: 203270
-
Rafael Espindola authored
The integrated assembler now works for ppc. Since this was the last use of the bg/p predicate and Hal says that it is now dead, drop the predicate too. llvm-svn: 203269
-
Ted Kremenek authored
llvm-svn: 203267
-
Ted Kremenek authored
llvm-svn: 203265
-
David Majnemer authored
This is a straightfoward replacement, it makes debugging a little easier. This has no functional impact. llvm-svn: 203264
-
David Blaikie authored
For incoming improvements to inlined functions and lexical blocks suggested by Adrian Prantl in review of r203187. llvm-svn: 203263
-
Nico Weber authored
Patch from Sean McBride <sean@rogue-research.com>! llvm-svn: 203258
-
Duncan P. N. Exon Smith authored
Using const is orthogonal to guidelines on using auto& and auto*. llvm-svn: 203257
-
David Blaikie authored
Code review feedback to r203187 from Oliver Stannard. Thanks! llvm-svn: 203256
-
Duncan P. N. Exon Smith authored
llvm-svn: 203254
-
Duncan P. N. Exon Smith authored
Be case-insensitive when processing .unreq directives. Patch by Lin Zuojian! llvm-svn: 203251
-
Benjamin Kramer authored
Simplify the remaining ones a bit. llvm-svn: 203249
-