- Mar 07, 2014
-
-
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
-
Dmitri Gribenko authored
llvm-svn: 203246
-
Benjamin Kramer authored
llvm-svn: 203243
-
Benjamin Kramer authored
No functionality change. llvm-svn: 203242
-
Richard Sandiford authored
The target was marking SIGN_EXTEND as Custom because it wanted to optimize certain sign-extended shifts. In all other respects the extension is Legal, so it'd be better to do the optimization in PerformDAGCombine instead. No functional change intended. llvm-svn: 203234
-
Tim Northover authored
This helps the instruction selector to lower an i64 * i64 -> i128 multiplication into a single instruction on targets which support it. Patch by Manuel Jacob. llvm-svn: 203230
-
Tim Northover authored
Sequences of insertelement/extractelements are sometimes used to build vectorsr; this code tries to put them back together into shuffles, but could only produce a completely uniform shuffle types (<N x T> from two <N x T> sources). This should allow shuffles with different numbers of elements on the input and output sides as well. llvm-svn: 203229
-
Ahmed Charles authored
This changes the interface to be more explicit that ownership is being transferred. llvm-svn: 203223
-
Craig Topper authored
llvm-svn: 203221
-
Craig Topper authored
llvm-svn: 203220
-
Alexey Volkov authored
Differential Revision: http://llvm-reviews.chandlerc.com/D2982 llvm-svn: 203218
-
Alexey Volkov authored
Removed whitespace llvm-svn: 203216
-
David Majnemer authored
Summary: llvm/MC/MCSectionMachO.h and llvm/Support/MachO.h both had the same definitions for the section flags. Instead, grab the definitions out of support. No functionality change. Reviewers: grosbach, Bigcheese, rafael Reviewed By: rafael CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2998 llvm-svn: 203211
-
Ahmed Charles authored
llvm-svn: 203206
-
Rafael Espindola authored
The old system was fairly convoluted: * A temporary label was created. * A single PROLOG_LABEL was created with it. * A few MCCFIInstructions were created with the same label. The semantics were that the cfi instructions were mapped to the PROLOG_LABEL via the temporary label. The output position was that of the PROLOG_LABEL. The temporary label itself was used only for doing the mapping. The new CFI_INSTRUCTION has a 1:1 mapping to MCCFIInstructions and points to one by holding an index into the CFI instructions of this function. I did consider removing MMI.getFrameInstructions completelly and having CFI_INSTRUCTION own a MCCFIInstruction, but MCCFIInstructions have non trivial constructors and destructors and are somewhat big, so the this setup is probably better. The net result is that we don't create temporary labels that are never used. llvm-svn: 203204
-
Rafael Espindola authored
llvm-svn: 203203
-
Rafael Espindola authored
llvm-svn: 203202
-
Rafael Espindola authored
llvm-svn: 203199
-
Karthik Bhat authored
llvm-svn: 203198
-
Rafael Espindola authored
Patch by Manuel Jacob. llvm-svn: 203197
-
David Blaikie authored
llvm-svn: 203192
-
Eric Christopher authored
llvm-svn: 203191
-
Eric Christopher authored
llvm-svn: 203190
-
David Blaikie authored
This removes a relocation from each subprogram, reducing link times, etc. llvm-svn: 203187
-
David Blaikie authored
llvm-svn: 203186
-
David Blaikie authored
llvm-svn: 203184
-
Owen Anderson authored
llvm-svn: 203181
-