- Dec 04, 2009
-
-
Jakob Stoklund Olesen authored
The coalescer is supposed to clean these up, but when setting up parameters for a function call, there may be copies to physregs. If the defining instruction has been LICM'ed far away, the coalescer won't touch it. The register allocation hint does not always work - when the register allocator is backtracking, it clears the hints. This patch takes care of a few more cases that r90163 missed. llvm-svn: 90502
-
Evan Cheng authored
- If the reaching definition is an undef and the use is a PHI, add the implicit_def to the end of the source block. - When reaching value is replaced with another, update the cache as well. llvm-svn: 90501
-
Devang Patel authored
Insert composite type DIE into the map before processing type fields. This allows fields to find their context DIE from the map. llvm-svn: 90498
-
Victor Hernandez authored
Add ParseInlineMetadata() which can parses metadata that refers to an instruction. Extend ParseParameterList() to use this new function so that calls to llvm.dbg.declare can pass inline metadata llvm-svn: 90497
-
- Dec 03, 2009
-
-
Jim Grosbach authored
llvm-svn: 90490
-
Evan Cheng authored
llvm-svn: 90489
-
Evan Cheng authored
llvm-svn: 90488
-
Bob Wilson authored
llvm-svn: 90487
-
Duncan Sands authored
Pointed out by Javier Martinez (who also provided a patch). Since this logic is not used on (for example) x86, I guess nobody noticed. Tested by generating SHL, SRL, SRA on various choices of i64 for all possible shift amounts, and comparing with gcc. Since I did this on x86-32, I had to force the use of ExpandShiftWithUnknownAmountBit. What I'm saying here is that I don't have a testcase I can add to the repository. llvm-svn: 90482
-
Jakob Stoklund Olesen authored
llvm-svn: 90481
-
Devang Patel authored
llvm-svn: 90474
-
Dan Gohman authored
end up on the same line. llvm-svn: 90473
-
Benjamin Kramer authored
llvm-svn: 90454
-
Andreas Neustifter authored
llvm-svn: 90451
-
Andreas Neustifter authored
Use integer values for weights to prevent rounding errors. Make ProfileEstimator more robust in general CFGs. llvm-svn: 90449
-
Daniel Dunbar authored
- This is a pretty slow / memory intensive implementation, and I will likely change it to an iterative model, but it works. llvm-svn: 90447
-
Andreas Neustifter authored
llvm-svn: 90446
-
Andreas Neustifter authored
llvm-svn: 90445
-
Evan Cheng authored
llvm-svn: 90432
-
Chris Lattner authored
llvm-svn: 90429
-
Chris Lattner authored
llvm-svn: 90428
-
Nate Begeman authored
Don't pull vector sext through both hands of a logical operation, since doing so prevents the fusion of vector sext and setcc into vsetcc. Add a testcase for the above transformation. Fix a bogus use of APInt noticed while tracking this down. llvm-svn: 90423
-
Chris Lattner authored
llvm-svn: 90419
-
Bob Wilson authored
both source operands. In the canonical form, the 2nd operand is changed to an undef and the shuffle mask is adjusted to only reference elements from the 1st operand. Radar 7434842. llvm-svn: 90417
-
Jakob Stoklund Olesen authored
llvm-svn: 90415
-
Owen Anderson authored
llvm-svn: 90408
-
Evan Cheng authored
llvm-svn: 90395
-
Bill Wendling authored
llvm-svn: 90383
-
Jakob Stoklund Olesen authored
The MO reference to a MachineOperand can be invalidated by MachineInstr::addOperand. Don't even use it for debugging. llvm-svn: 90381
-
Chris Lattner authored
llvm-svn: 90380
-
Devang Patel authored
Emit method definition DIE at module level (even for methods with inlined functino body at soure level) so that the debugger can invoke it. This fixes many test failures in gdb test suite. llvm-svn: 90375
-
Bill Wendling authored
function, converting "dyn_cast" to "cast", asserting the correct things, and other general cleanups. llvm-svn: 90371
-
Chris Lattner authored
llvm-svn: 90370
-
Chris Lattner authored
llvm-svn: 90369
-
Chris Lattner authored
llvm-svn: 90366
-
Chris Lattner authored
Patch by Howard Hinnant! llvm-svn: 90365
-
Bill Wendling authored
that it doesn't have dangling pointers when abstract types are resolved. This modifies it somewhat to address comments: making the "StructLayoutMap" an anonymous structure, calling "removeAbstractTypeUser" when appropriate, and adding asserts where helpful. llvm-svn: 90362
-
- Dec 02, 2009
-
-
Douglas Gregor authored
llvm-svn: 90354
-
Evan Cheng authored
llvm-svn: 90353
-
Bill Wendling authored
llvm-svn: 90352
-