- Mar 19, 2010
-
-
Chris Lattner authored
can't match or just have no testcases. Will remove after confirmation from dan that they really are dead. llvm-svn: 98930
-
Daniel Dunbar authored
llvm-svn: 98919
-
Chris Lattner authored
to input patterns, we can fix X86ISD::CMP and X86ISD::BT as taking two inputs (which have to be the same type) and *returning an i32*. This is how the SDNodes get made in the graph, but we weren't able to model it this way due to deficiencies in the pattern language. Now we can change things like this: def UCOM_FpIr80: FpI_<(outs), (ins RFP80:$lhs, RFP80:$rhs), CompareFP, - [(X86cmp RFP80:$lhs, RFP80:$rhs), - (implicit EFLAGS)]>; // CC = ST(0) cmp ST(i) + [(set EFLAGS, (X86cmp RFP80:$lhs, RFP80:$rhs))]>; and fix terrible crimes like this: -def : Pat<(parallel (X86cmp GR8:$src1, 0), (implicit EFLAGS)), +def : Pat<(X86cmp GR8:$src1, 0), (TEST8rr GR8:$src1, GR8:$src1)>; This relies on matching the result of TEST8rr (which is EFLAGS, which is an implicit def) to the result of X86cmp, an i32. llvm-svn: 98903
-
- Mar 18, 2010
-
-
Eric Christopher authored
llvm-svn: 98881
-
Daniel Dunbar authored
were missing it on some movq instructions and were not including the appropriate PCrel bias. llvm-svn: 98880
-
Chris Lattner authored
llvm-svn: 98864
-
Eric Christopher authored
llvm-svn: 98862
-
Daniel Dunbar authored
temporary workaround for matching inc/dec on x86_64 to the correct instruction. - This hack will eventually be replaced with a robust mechanism for handling matching instructions based on the available target features. llvm-svn: 98858
-
Chris Lattner authored
llvm-svn: 98855
-
Chris Lattner authored
files that produce special relocation types where the linker changes movq's into lea's. llvm-svn: 98839
-
Chris Lattner authored
llvm-svn: 98835
-
Benjamin Kramer authored
llvm-svn: 98819
-
Evan Cheng authored
llvm-svn: 98810
-
Daniel Dunbar authored
MC/Darwin: Add a new target hook for whether the target uses "reliable" symbol differences, basically whether the assembler should attempt to understand atoms when using scattered symbols. Also, avoid some virtual call overhead. llvm-svn: 98789
-
Evan Cheng authored
X86 address mode matching code MatchAddressRecursively does some aggressive hack which require doing a RAUW. It may end up deleting some SDNode up stream. It should avoid referencing deleted nodes. llvm-svn: 98780
-
- Mar 17, 2010
-
-
Chris Lattner authored
should use CreateTempSymbol() if they don't care about the name. llvm-svn: 98712
-
- Mar 16, 2010
-
-
Chris Lattner authored
llvm-svn: 98616
-
Chris Lattner authored
with the integrated assembler! llvm-svn: 98615
-
Daniel Dunbar authored
- Although it would be nice to allow this decoupling, the assembler needs to be able to reason about MCSymbolRefExprs in too many places to make this viable. We can use a target specific encoding of the variant if this becomes an issue. - This patch also extends llvm-mc to support parsing of the modifiers, as opposed to lumping them in with the symbol. llvm-svn: 98592
-
Dan Gohman authored
32-bit indices. Instead of shuffling each element out of the index vector, when all indices are needed, just store the input vector to the stack and load the elements out. llvm-svn: 98588
-
- Mar 15, 2010
-
-
Daniel Dunbar authored
MC/Mach-O/x86_64: Temporary labels in cstring sections require symbols (and external relocations, but we don't have x86_64 relocations yet). llvm-svn: 98583
-
Bill Wendling authored
section, remove the target-specific code that performs this. llvm-svn: 98580
-
Chris Lattner authored
llvm-svn: 98578
-
Bill Wendling authored
to is local to the translation unit, we need to place fill the value of that symbol into the non-lazy pointer. This should conclude all Darwin changes for placing the LSDA into the TEXT section. There is some cleanup to do. I.e., there's no longer a special need for target-specific code here. But that can come later. llvm-svn: 98564
-
Evan Cheng authored
llvm-svn: 98561
-
Chris Lattner authored
llvm-svn: 98531
-
Jeffrey Yasskin authored
to re-instrument the code. We depend on the system valgrind.h to avoid adding a new license. llvm-svn: 98529
-
- Mar 14, 2010
-
-
Chris Lattner authored
fix the rest of the buildbot failures on non-x86 hosts. llvm-svn: 98522
-
Chris Lattner authored
(at least) on non-x86 builders. llvm-svn: 98520
-
Evan Cheng authored
llvm-svn: 98510
-
Chris Lattner authored
the operand type. llvm-svn: 98507
-
Chris Lattner authored
PR4841. Patch by Craig Smith! llvm-svn: 98496
-
Chris Lattner authored
llvm-svn: 98494
-
Chris Lattner authored
MachineInstr -> MCInst. This is what the assembler backend wants, it relaxes from smaller to larger things. This fixes rdar://7750815 llvm-svn: 98493
-
Chris Lattner authored
to get unique assembler temporary labels. llvm-svn: 98489
-
Chris Lattner authored
contain an MCSymbol instead of a label index. llvm-svn: 98482
-
Chris Lattner authored
with an MCSymbol instead of an immediate. llvm-svn: 98481
-
Chris Lattner authored
llvm-svn: 98474
-
Evan Cheng authored
Do not force indirect tailcall through fixed registers: eax, r11. Add support to allow loads to be folded to tail call instructions. llvm-svn: 98465
-
Chris Lattner authored
an MCSymbol. Make the EH_LABEL MachineInstr hold its label with an MCSymbol instead of ID. Fix a bug in MMI.cpp which would return labels named "Label4" instead of "label4". llvm-svn: 98463
-