- Nov 16, 2010
-
-
Chris Lattner authored
branches to be emitted as: bne cr0, 2 instead of: bne cr0, $+8 llvm-svn: 119317
-
Bill Wendling authored
llvm-svn: 119315
-
Bill Wendling authored
'db', 'ib', 'da') instead of having that mode as a separate field in the instruction. It's more convenient for the asm parser and much more readable for humans. <rdar://problem/8654088> llvm-svn: 119310
-
Michael J. Spencer authored
llvm-svn: 119309
-
Chris Lattner authored
llvm-svn: 119308
-
Chris Lattner authored
these instructions to be encoded with getMachineOpValue. This unbreaks ExecutionEngine/2003-01-04-ArgumentBug.ll when running on a G5 llvm-svn: 119307
-
Jakob Stoklund Olesen authored
Use amazing new function call technology instead of writing identical code in multiple places. This fixes PR8604. llvm-svn: 119306
-
Jakob Stoklund Olesen authored
The live range of a register defined by an early clobber starts at the use slot, not the def slot. Except when it is an early clobber tied to a use operand. Then it starts at the def slot like a standard def. llvm-svn: 119305
-
Owen Anderson authored
llvm-svn: 119295
-
Rafael Espindola authored
llvm-svn: 119286
-
- Nov 15, 2010
-
-
Chris Lattner authored
to be broken for other reasons llvm-svn: 119283
-
Jakob Stoklund Olesen authored
This reverts r119183 which borke the buildbots. llvm-svn: 119270
-
Owen Anderson authored
llvm-svn: 119187
-
Evan Cheng authored
iterator, not TII->OptimizeCompareInstr. llvm-svn: 119186
-
Owen Anderson authored
llvm-svn: 119185
-
Eric Christopher authored
pass in the first place and was masked by earlier failures not warning and aborting the block. llvm-svn: 119184
-
Jakob Stoklund Olesen authored
The live range of a register defined by an early clobber starts at the use slot, not the def slot. llvm-svn: 119183
-
Jakob Stoklund Olesen authored
live ranges for the spill register are also defined at the use slot instead of the normal def slot. This fixes PR8612 for the inline spiller. A use was being allocated to the same register as a spilled early clobber def. This problem exists in all the spillers. A fix for the standard spiller is forthcoming. llvm-svn: 119182
-
Jim Grosbach authored
llvm-svn: 119180
-
Owen Anderson authored
llvm-svn: 119176
-
Benjamin Kramer authored
llvm-svn: 119175
-
Owen Anderson authored
llvm-svn: 119170
-
Dan Gohman authored
no longer included by default. llvm-svn: 119169
-
Jim Grosbach authored
llvm-svn: 119167
-
Jim Grosbach authored
llvm-svn: 119164
-
Dan Gohman authored
llvm-svn: 119163
-
Duncan Sands authored
values that are equal to the phi itself. llvm-svn: 119161
-
Duncan Sands authored
llvm-svn: 119153
-
Rafael Espindola authored
variable if recursing fails to simplify it. Factor AliasedSymbol to be a method of MCSymbol. Update MCAssembler::EvaluateFixup to match the change in EvaluateAsRelocatableImpl. Remove the WeakRefExpr hack, as the object writer now sees the weakref with no extra effort needed. Nothing else is using MCTargetExpr, but keep it for now. Now that the ELF writer sees relocations with aliases, handle .weak foo2 foo2: .weak bar2 .set bar2,foo2 .quad bar2 the same way gas does and produce a relocation with bar2. llvm-svn: 119152
-
Jason W Kim authored
Added 2 new subclasses - X86ELFObjectWriter and ARMELFObectWriter. ARM and X86 require different code for RecordRelocation(), possibly others. llvm-svn: 119149
-
Rafael Espindola authored
This moves most of the isUsed logic to the MCSymbol itself. With this we get a bit more relaxed about allowing definitions after uses: uses that don't evaluate their argument immediately (jmp foo) are accepted. ddunbar, this was the smallest compromise I could think of that lets us accept gcc (and clang!) assembly. llvm-svn: 119144
-
Kalle Raiskila authored
No functionality change. llvm-svn: 119142
-
Chris Lattner authored
directly on the mac. This is very early, doesn't support relocations and has a terrible hack to avoid .machine from being printed, but despite that it generates an bitwise-identical-to-cctools .o file for stuff like this: define i32 @test() nounwind { ret i32 42 } I don't plan to continue pushing this forward, but if anyone else was interested in doing it, it should be really straight-forward. llvm-svn: 119136
-
Chris Lattner authored
into the immediate field. This allows us to encode stuff like this: lbz r3, lo16(__ZL4init)(r4) ; globalopt.cpp:5 ; encoding: [0x88,0x64,A,A] ; fixup A - offset: 0, value: lo16(__ZL4init), kind: fixup_ppc_lo16 stw r3, lo16(__ZL1s)(r5) ; globalopt.cpp:6 ; encoding: [0x90,0x65,A,A] ; fixup A - offset: 0, value: lo16(__ZL1s), kind: fixup_ppc_lo16 With this, we should have a completely function MCCodeEmitter for PPC, wewt. llvm-svn: 119134
-
Chris Lattner authored
modes. For example, we now get: ld r3, lo16(_G)(r3) ; encoding: [0xe8,0x63,A,0bAAAAAA00] ; fixup A - offset: 0, value: lo16(_G), kind: fixup_ppc_lo14 llvm-svn: 119133
-
Chris Lattner authored
print DBG_VALUE instructions. This should unbreak the llvm-gcc-powerpc-darwin9 buildbot. llvm-svn: 119132
-
Chris Lattner authored
llvm-svn: 119130
-
Chris Lattner authored
llvm-svn: 119129
-
Chris Lattner authored
llvm-svn: 119128
-
Chris Lattner authored
lis r4, ha16(__ZL4init) ; encoding: [0x3c,0x80,A,A] ; fixup A - offset: 0, value: ha16(__ZL4init), kind: fixup_ppc_ha16 llvm-svn: 119127
-