- Oct 31, 2010
-
-
Eric Christopher authored
llvm-svn: 117879
-
Bill Wendling authored
looks like is happening: Without the peephole optimizer: (1) sub r6, r6, #32 orr r12, r12, lr, lsl r9 orr r2, r2, r3, lsl r10 (x) cmp r6, #0 ldr r9, LCPI2_10 ldr r10, LCPI2_11 (2) sub r8, r8, #32 (a) movge r12, lr, lsr r6 (y) cmp r8, #0 LPC2_10: ldr lr, [pc, r10] (b) movge r2, r3, lsr r8 With the peephole optimizer: ldr r9, LCPI2_10 ldr r10, LCPI2_11 (1*) subs r6, r6, #32 (2*) subs r8, r8, #32 (a*) movge r12, lr, lsr r6 (b*) movge r2, r3, lsr r8 (1) is used by (x) for the conditional move at (a). (2) is used by (y) for the conditional move at (b). After the peephole optimizer, these the flags resulting from (1*) are ignored and only the flags from (2*) are considered for both conditional moves. llvm-svn: 117876
-
Nicolas Geoffray authored
llvm-svn: 117867
-
Chris Lattner authored
let Constraints = "$val = $dst", Defs = [EFLAGS] in, isCodeGenOnly = 1 { we now get: X86InstrCompiler.td:653:52: error: Expected class, def, defm, multiclass or let definition let Constraints = "$val = $dst", Defs = [EFLAGS] in, isCodeGenOnly = 1 { ^ llvm-svn: 117863
-
Chris Lattner authored
Use this to make the X86 and ARM targets set isCodeGenOnly=1 automatically for their instructions that have Format=Pseudo, resolving a hack in tblgen. llvm-svn: 117862
-
Chris Lattner authored
and make it a hard error for instructions to not have an asm string. These instructions should be marked isCodeGenOnly. llvm-svn: 117861
-
Chris Lattner authored
got a dulicated line). llvm-svn: 117860
-
Chris Lattner authored
llvm-svn: 117859
-
Chris Lattner authored
Instead of silently ignoring these instructions, emit a hard error and force the target author to either refactor the target or mark the instruction 'isCodeGenOnly'. Mark a few instructions in ARM and MBlaze as isCodeGenOnly the are doing this. llvm-svn: 117858
-
Chris Lattner authored
how the push/pop mnemonic aliases are wrong. llvm-svn: 117857
-
Duncan Sands authored
calling convention out of the fast and normal ISel files, and into the calling convention TD file. llvm-svn: 117856
-
Duncan Sands authored
which has the same logic specified in the CallingConv TD file. This brings FastISel in line with the standard X86 ISel. llvm-svn: 117855
-
Duncan Sands authored
llvm-svn: 117854
-
Rafael Espindola authored
it would be a bit too big :-) llvm-svn: 117849
-
- Oct 30, 2010
-
-
Eric Christopher authored
llvm-svn: 117848
-
Benjamin Kramer authored
llvm-svn: 117847
-
Chris Lattner authored
llvm-svn: 117846
-
Chris Lattner authored
AsmMatcherInfo so we don't have two places that know the feature -> enum mapping. No functionality change. llvm-svn: 117845
-
Chris Lattner authored
that are only used by MnemonicAliases will be found. llvm-svn: 117844
-
Chris Lattner authored
'tomatch' code contains \n's. llvm-svn: 117843
-
Chris Lattner authored
cases that are currently exercised). Thanks to Frits van Bommel for the great review! llvm-svn: 117840
-
Chris Lattner authored
"In32BitMode" and "In64BitMode" into tblgen, allow any predicate that inherits from AssemblerPredicate. llvm-svn: 117831
-
Chris Lattner authored
directives, allowing things like this: def : MnemonicAlias<"pop", "popl">, Requires<[In32BitMode]>; def : MnemonicAlias<"pop", "popq">, Requires<[In64BitMode]>; Move the rest of the X86 MnemonicAliases over to the .td file. llvm-svn: 117830
-
Chris Lattner authored
llvm-svn: 117828
-
Chris Lattner authored
with a useful error message instead of having tblgen explode with an assert. llvm-svn: 117827
-
Chris Lattner authored
inline into MatchInstructionImpl. llvm-svn: 117826
-
Chris Lattner authored
llvm-svn: 117824
-
Chris Lattner authored
llvm-svn: 117823
-
Chris Lattner authored
llvm-svn: 117822
-
Chris Lattner authored
llvm-svn: 117821
-
Chris Lattner authored
for shl. Caught by inspection. llvm-svn: 117820
-
Chris Lattner authored
llvm-svn: 117819
-
Chris Lattner authored
llvm-svn: 117818
-
Chris Lattner authored
llvm-svn: 117817
-
Chris Lattner authored
llvm-svn: 117816
-
Chris Lattner authored
just remaps one mnemonic to another. Convert a few of the X86 aliases from .cpp to .td code. llvm-svn: 117815
-
Chris Lattner authored
llvm-svn: 117803
-
Duncan Sands authored
it claiming not to have side-effects is no longer needed. llvm-svn: 117789
-
Jim Grosbach authored
feature lists for instruction pattern predicates. llvm-svn: 117788
-
Jim Grosbach authored
llvm-svn: 117787
-