- Feb 22, 2010
-
-
Chris Lattner authored
has one of the list of acceptable opcodes for a complex pattern. This fixes 4 regtest failures. llvm-svn: 96814
-
Chris Lattner authored
sure to only run the complex pattern on nodes where the target opts in. This patch only handles targets with one opcode specified so far, but fixes 16 failures, only 34 left. llvm-svn: 96813
-
Chris Lattner authored
result nodes correctly. Note that this includes a horrible hack in DAGISelHeader which cannot be fixed reasonably without eliminating (parallel) from input patterns. That, in turn, can't be done until we support writing multiple result patterns for the X86and_flag and related multiple-result nodes. llvm-svn: 96767
-
- Feb 21, 2010
-
-
Chris Lattner authored
DAGISelEmitter does. This fixes 11 arm failures (8 left). llvm-svn: 96757
-
Chris Lattner authored
least cost matches. This gets us from 195 -> 208 passes on the ppc codegen tests. llvm-svn: 96747
-
Chris Lattner authored
llvm-svn: 96730
-
Chris Lattner authored
With this, the matcher actually works reasonably well, but crashes on larger examples in the scheduler. llvm-svn: 96727
-
Chris Lattner authored
body before the push. llvm-svn: 96726
-
Chris Lattner authored
llvm-svn: 96725
-
Chris Lattner authored
of the matched pattern to use the newly created node results. Onto the "making it actually work" phase! llvm-svn: 96724
-
Chris Lattner authored
the point where it is to the 95% feature complete mark, it just needs result updating to be done (then testing, optimization etc). More specificallly, this adds support for chain and flag handling on the result nodes, support for sdnodexforms, support for variadic nodes, memrefs, pinned physreg inputs, and probably lots of other stuff. In the old DAGISelEmitter, this deletes the dead code related to OperatorMap, cleans up a variety of dead stuff handling "implicit remapping" from things like globaladdr -> targetglobaladdr (which is no longer used because globaladdr always needs to be legalized), and some minor formatting fixes. llvm-svn: 96716
-
- Feb 19, 2010
-
-
Chris Lattner authored
llvm-svn: 96663
-
Chris Lattner authored
llvm-svn: 96661
-
Chris Lattner authored
llvm-svn: 96639
-
Chris Lattner authored
llvm-svn: 96636
-
- Feb 18, 2010
-
-
Chris Lattner authored
building the tree to represent them but not emitting table entries for them yet. llvm-svn: 96617
-
Chris Lattner authored
Nothing real here yet. llvm-svn: 96575
-
Chris Lattner authored
relationship, this is a linear list relationship. llvm-svn: 96561
-
Chris Lattner authored
field to MatcherNode. llvm-svn: 96560
-
Chris Lattner authored
llvm-svn: 96541
-
- Feb 17, 2010
-
-
Chris Lattner authored
llvm-svn: 96497
-
Chris Lattner authored
and add a sparc implementation that knows about delay slots. Patch by Nathan Keynes! llvm-svn: 96492
-
Chris Lattner authored
llvm-svn: 96466
-
Chris Lattner authored
llvm-svn: 96464
-
Chris Lattner authored
tblgen splatted code into the implementation. llvm-svn: 96460
-
Chris Lattner authored
I'd like to eventually rip it out, but for now producing the same selections as the old matcher is more important. llvm-svn: 96458
-
Chris Lattner authored
resolving a fixme. llvm-svn: 96457
-
Chris Lattner authored
functionality change. llvm-svn: 96453
-
Chris Lattner authored
'ischaincompatible' when a pattern has more than one input chain. Need to do some commenting and cleanup now that I understand how this works. llvm-svn: 96443
-
Chris Lattner authored
llvm-svn: 96437
-
Chris Lattner authored
variables. Use the fancy OpNo variable instead of i, which has the right index including chains. llvm-svn: 96436
-
Chris Lattner authored
llvm-svn: 96433
-
Chris Lattner authored
llvm-svn: 96422
-
Chris Lattner authored
for evaluating complex patterns. Some cleanup has to happen before this can be used though. llvm-svn: 96419
-
Chris Lattner authored
llvm-svn: 96416
-
Chris Lattner authored
record all their results. llvm-svn: 96412
-
Chris Lattner authored
does the same thing as getComplexPatternInfo. llvm-svn: 96411
-
- Feb 16, 2010
-
-
Chris Lattner authored
llvm-svn: 96409
-
rdar://7653908Chris Lattner authored
into a roundss intrinsic, producing a cyclic dag. The root cause of this is badness handling ComplexPattern nodes in the old dagisel that I noticed through inspection. Eliminate a copy of the of the code that handled ComplexPatterns by making EmitChildMatchCode call into EmitMatchCode. llvm-svn: 96408
-
Chris Lattner authored
need to scan the entire subtree of the pattern anymore. llvm-svn: 96369
-