- Jul 20, 2011
-
-
Devang Patel authored
llvm-svn: 135528
-
- Jul 19, 2011
-
-
Jay Foad authored
llvm-svn: 135478
-
Evan Cheng authored
(including compilation, assembly). Move relocation model Reloc::Model from TargetMachine to MCCodeGenInfo so it's accessible even without TargetMachine. llvm-svn: 135468
-
Devang Patel authored
Revert r135423. llvm-svn: 135454
-
Bill Wendling authored
llvm-svn: 135450
-
Bill Wendling authored
llvm-svn: 135448
-
Bill Wendling authored
library. llvm-svn: 135443
-
Evan Cheng authored
better location welcome). llvm-svn: 135438
-
- Jul 18, 2011
-
-
Jeffrey Yasskin authored
errors like the one corrected by r135261. Migrate all LLVM callers of the old constructor to the new one. llvm-svn: 135431
-
Evan Cheng authored
to MCRegisterInfo. Also initialize the mapping at construction time. This patch eliminate TargetRegisterInfo from TargetAsmInfo. It's another step towards fixing the layering violation. llvm-svn: 135424
-
Devang Patel authored
During bottom up fast-isel, instructions emitted to materalize registers are at top of basic block and do not have debug location. This may misguide debugger while entering the basic block and sometimes debugger provides semi useful view of current location to developer by picking up previous known location as current location. Assign a sensible location to the first instruction in a basic block, if it does not have one location derived from source file, so that debugger can provide meaningful user experience to developers in edge cases. [take 2] llvm-svn: 135423
-
Jakob Stoklund Olesen authored
When splitting a live range immediately before an LDR_POST instruction that redefines the address register, make sure to use the correct value number in leaveIntvBefore. We need the value number entering the instruction. <rdar://problem/9793765> llvm-svn: 135413
-
Frits van Bommel authored
Migrate LLVM and Clang to use the new makeArrayRef(...) functions where previously explicit non-default constructors were used. Mostly mechanical with some manual reformatting. llvm-svn: 135390
-
Jakob Stoklund Olesen authored
When trying to rematerialize a value before an instruction that has an early-clobber redefine of the virtual register, make sure to look up the correct value number. Early-clobber defs are moved one slot back, so getBaseIndex is needed to find the used value number. Bugpoint was unable to reduce the test case for this, see PR10388. llvm-svn: 135378
-
Chris Lattner authored
llvm-svn: 135375
-
- Jul 17, 2011
-
-
Nadav Rotem authored
llvm-svn: 135362
-
- Jul 16, 2011
-
-
Jakub Staszak authored
llvm-svn: 135354
-
Jakub Staszak authored
llvm-svn: 135352
-
Matt Beaumont-Gay authored
llvm-svn: 135339
-
Jakob Stoklund Olesen authored
This should unbreak the build-self-4-mingw32 tester. I have a very complicated test case that I will try to clean up. llvm-svn: 135329
-
Dan Gohman authored
llvm-svn: 135320
-
Dan Gohman authored
and just use the ones from TargetLowering directly. llvm-svn: 135318
-
Dan Gohman authored
llvm-svn: 135311
-
- Jul 15, 2011
-
-
Jakob Stoklund Olesen authored
This gets rid of some of the gory splitting details in RAGreedy and makes them available to future SplitKit clients. Slightly generalize the functionality to support multi-way splitting. Specifically, SplitEditor::splitLiveThroughBlock() supports switching between different register intervals in a block. llvm-svn: 135307
-
Dan Gohman authored
llvm-svn: 135305
-
Devang Patel authored
llvm-svn: 135302
-
Devang Patel authored
llvm-svn: 135278
-
Jay Foad authored
llvm-svn: 135265
-
Evan Cheng authored
llvm-svn: 135254
-
Devang Patel authored
llvm-svn: 135232
-
Evan Cheng authored
Rename createAsmInfo to createMCAsmInfo and move registration code to MCTargetDesc to prepare for next round of changes. llvm-svn: 135219
-
Devang Patel authored
llvm-svn: 135212
-
Devang Patel authored
Improve DbgScope->dump() output. llvm-svn: 135207
-
- Jul 14, 2011
-
-
Eric Christopher authored
when determining validity of matching constraint. Allow i1 types access to the GR8 reg class for x86. Fixes PR10352 and rdar://9777108 llvm-svn: 135180
-
Benjamin Kramer authored
llvm-svn: 135154
-
Nadav Rotem authored
[VECTOR-SELECT] During type legalization we often use the SIGN_EXTEND_INREG SDNode. When this SDNode is legalized during the LegalizeVector phase, it is scalarized because non-simple types are automatically marked to be expanded. In this patch we add support for lowering SIGN_EXTEND_INREG manually. This fixes CodeGen/X86/vec_sext.ll when running with the '-promote-elements' flag. llvm-svn: 135144
-
Nadav Rotem authored
llvm-svn: 135143
-
Jakob Stoklund Olesen authored
Original commit message: Count references to interference cache entries. Each InterferenceCache::Cursor instance references a cache entry. A non-zero reference count guarantees that the entry won't be reused for a new register. This makes it possible to have multiple live cursors examining interference for different physregs. The total number of live cursors into a cache must be kept below InterferenceCache::getMaxCursors(). Code generation should be unaffected by this change, and it doesn't seem to affect the cache replacement strategy either. llvm-svn: 135130
-
Devang Patel authored
llvm-svn: 135127
-
Benjamin Kramer authored
Don't emit a bit test if there is only one case the test can yield false. A simple SETNE is sufficient. llvm-svn: 135126
-