- Aug 10, 2010
-
-
Devang Patel authored
llvm-svn: 110712
-
Evan Cheng authored
llvm-svn: 110710
-
Evan Cheng authored
Re-apply r110655 with fixes. Epilogue must restore sp from fp if the function stack frame has a var-sized object. Also added a test case to check for the added benefit of this patch: it's optimizing away the unnecessary restore of sp from fp for some non-leaf functions. llvm-svn: 110707
-
Jakob Stoklund Olesen authored
When splitting a live range, the new registers have fewer uses and the permissible register class may be less constrained. Recompute the register class constraint from the uses of new registers created for a split. This may let them be allocated from a larger set, possibly avoiding a spill. llvm-svn: 110703
-
Daniel Dunbar authored
register is", it breaks a couple test-suite tests. llvm-svn: 110701
-
Daniel Dunbar authored
parentheses from argument lists. llvm-svn: 110692
-
Jakob Stoklund Olesen authored
during live range splitting. llvm-svn: 110686
-
Michael J. Spencer authored
This reverts commit 110575. Target.isAbsolute() is true if SD would be null. llvm-svn: 110683
-
Chandler Carruth authored
llvm-svn: 110667
-
Tobias Grosser authored
llvm-svn: 110665
-
Devang Patel authored
llvm-svn: 110656
-
Evan Cheng authored
reserved, not available for general allocation. This eliminates all the extra checks for Darwin. This change also fixes the use of FP to access frame indices in leaf functions and cleaned up some confusing code in epilogue emission. llvm-svn: 110655
-
Bill Wendling authored
llvm-svn: 110654
-
Devang Patel authored
llvm-svn: 110653
-
Devang Patel authored
llvm-svn: 110652
-
Bruno Cardoso Lopes authored
llvm-svn: 110650
-
Evan Cheng authored
llvm-svn: 110649
-
Bruno Cardoso Lopes authored
llvm-svn: 110648
-
Bruno Cardoso Lopes authored
llvm-svn: 110645
-
Devang Patel authored
Refactor and simplify code to avoid redundant checks. llvm-svn: 110642
-
Chris Lattner authored
is the default. Patch by NAKAMURA Takumi! llvm-svn: 110636
-
Bruno Cardoso Lopes authored
llvm-svn: 110633
-
Jakob Stoklund Olesen authored
register at a time. This turns out to be slightly faster than iterating over instructions, but more importantly, it allows us to compute spill weights for new registers created after the spill weight pass has run. Also compute the allocation hint at the same time as the spill weight. This allows us to use the spill weight as a cost metric for copies, and choose the most profitable hint if there is more than one possibility. The new hints provide a very small (< 0.1%) but universal code size improvement. llvm-svn: 110631
-
Bruno Cardoso Lopes authored
llvm-svn: 110630
-
Bill Wendling authored
pass. This pass should expand with all of the small, fine-grained optimization passes to reduce compile time and increase happiment. llvm-svn: 110627
-
Devang Patel authored
llvm-svn: 110623
-
Devang Patel authored
llvm-svn: 110621
-
Eric Christopher authored
llvm-svn: 110618
-
Kevin Enderby authored
previously collected info from the .file directives and outputs the encoded bytes for it. For now this is only in the Mach-O streamer but at some point will move to a more generic place. llvm-svn: 110617
-
Evan Cheng authored
This will always be false before PEI: (DisableFramePointerElim(MF) && MFI->adjustsStack()) Which means it's going to make r11 available as a general purpose register even if -disable-fp-elim is specified. It's working on Darwin only because r7 is always reserved. But it's obviously broken for other targets. llvm-svn: 110614
-
- Aug 09, 2010
-
-
Bruno Cardoso Lopes authored
Add VCVTPD2PS, VCVTPS2DQ, VCVTPS2PDY, VCVTTPD2DQY, VCVTTPS2DQ and VCVTPD2DQ 256-bit conversion intrinsics llvm-svn: 110608
-
Devang Patel authored
llvm-svn: 110607
-
Bruno Cardoso Lopes authored
Add patterns to AVX conversions instructions. Do that instead of declaring more intructions whenever is possible, more coming llvm-svn: 110605
-
Nick Lewycky authored
llvm-svn: 110601
-
Devang Patel authored
llvm-svn: 110600
-
Owen Anderson authored
llvm-svn: 110598
-
Eli Friedman authored
it doesn't regress again. llvm-svn: 110597
-
Oscar Fuentes authored
Next time the build is broken due to wrong library dependencies, just try building again (if you are on some Unix and are building all LLVM targets) or ask someone to commit the regenerated LLVMLibDeps.cmake. llvm-svn: 110593
-
Devang Patel authored
llvm-svn: 110590
-
Jakob Stoklund Olesen authored
If we are emitting COPY instructions for the REG_SEQUENCE, make sure the kill flag goes on the last COPY. Otherwise we may be using a killed register. <rdar://problem/8287792> llvm-svn: 110589
-