- Dec 14, 2010
-
-
Daniel Dunbar authored
llvm-svn: 121772
-
Jim Grosbach authored
llvm-svn: 121769
-
Bill Wendling authored
llvm-svn: 121765
-
Chris Lattner authored
which is simpler than finding a place to insert in BB. - Don't perform the 'if condition hoisting' xform on certain i1 PHIs, as it interferes with switch formation. This re-fixes "example 7", without breaking the world hopefully. llvm-svn: 121764
-
Chris Lattner authored
first, it can kick in on blocks whose conditions have been folded to a constant, even though one of the edges will be trivially folded. second, it doesn't clean up the "if diamond" that it just eliminated away. This is a problem because other simplifycfg xforms kick in depending on the order of block visitation, causing pointless work. llvm-svn: 121762
-
Chris Lattner authored
breaking the selfhost builds, though I can't fathom how. llvm-svn: 121761
-
Chris Lattner authored
when all 2-entry phis are simplified away. llvm-svn: 121760
-
Chris Lattner authored
don't print it unless the xform happens. llvm-svn: 121758
-
Chris Lattner authored
llvm-svn: 121757
-
Chris Lattner authored
llvm-svn: 121756
-
Chris Lattner authored
llvm-svn: 121755
-
Chris Lattner authored
GetIfCondition faster by avoiding pred_iterator. No really interesting change. llvm-svn: 121754
-
Chris Lattner authored
llvm-svn: 121753
-
Chris Lattner authored
code a bit, switch from constant folding to instsimplify. llvm-svn: 121751
-
Chris Lattner authored
work, but fixes 400.perlbmk. llvm-svn: 121749
-
Bill Wendling authored
instruction based on the t_addrmode_s# mode and what it returned. There is some obvious badness to this. In particular, it's hard to do MC-encoding when the instruction may change out from underneath you after the t_addrmode_s# variable is finally resolved. The solution is to revert a long-ago change that merged the reg/reg and reg/imm versions. There is the addition of several new addressing modes. They no longer have extraneous operands associated with them. I.e., if it's reg/reg we don't have to have a dummy zero immediate tacked on to the SDNode. There are some obvious cleanups here, which will happen shortly. llvm-svn: 121747
-
-
Jakob Stoklund Olesen authored
llvm-svn: 121741
-
Jakob Stoklund Olesen authored
spill weight. Filter out fixed registers instead. Add support for reassigning an interference that was assigned to an alias. llvm-svn: 121737
-
Jakob Stoklund Olesen authored
llvm-svn: 121736
-
Owen Anderson authored
Second attempt at make Thumb2 LEAs pseudos. This time, perform the lowering much later, which makes the entire process cleaner. llvm-svn: 121735
-
Owen Anderson authored
Fix recent buildbot breakage by pulling SimplifyCFG back to its state as of r121694, the most recent state where I'm confident there were no crashes or miscompilations. XFAIL the test added since then for now. llvm-svn: 121733
-
Jason W Kim authored
Test has fixme, to move to .s -> .o test when AsmParser works better. llvm-svn: 121732
-
Bob Wilson authored
Use the same COPY_TO_REGCLASS approach as for the 2-register *_sfp instructions. This change made a big difference in the code generated for the CodeGen/Thumb2/cross-rc-coalescing-2.ll test: The coalescer is still doing a fine job, but some instructions that were previously moved outside the loop are not moved now. It's using fewer VFP registers now, which is generally a good thing, so I think the estimates for register pressure changed and that affected the LICM behavior. Since that isn't obviously wrong, I've just changed the test file. This completes the work for Radar 8711675. llvm-svn: 121730
-
Bob Wilson authored
llvm-svn: 121729
-
Chris Lattner authored
temporarily disable part of my previous patch, which causes an iterator invalidation issue, causing a crash on some versions of perlbmk. llvm-svn: 121728
-
- Dec 13, 2010
-
-
Dan Gohman authored
llvm-svn: 121727
-
Owen Anderson authored
llvm-svn: 121726
-
Dan Gohman authored
memdep is updated to handle it. llvm-svn: 121725
-
Dan Gohman authored
llvm-svn: 121723
-
Owen Anderson authored
Make Thumb2 LEA-like instruction into pseudos, which map down to ADR. Provide correct fixups for Thumb2 ADR, which is _of course_ different from ARM ADR fixups, or any other Thumb2 fixup. llvm-svn: 121721
-
Bob Wilson authored
llvm-svn: 121719
-
Bob Wilson authored
Jakob Olesen suggested that we can avoid the need for separate pseudo instructions here by using COPY_TO_REGCLASS in the patterns. The pattern gets pretty ugly but it seems to work well. Partial fix for Radar 8711675. llvm-svn: 121718
-
Bob Wilson authored
Partial fix for Radar 8711675. llvm-svn: 121716
-
Bob Wilson authored
llvm-svn: 121715
-
Evan Cheng authored
llvm-svn: 121714
-
Chris Lattner authored
llvm-svn: 121711
-
Owen Anderson authored
In Thumb2, direct branches can be encoded as either a "short" conditional branch with a null predicate, or as a "long" direct branch. While the mnemonics are the same, they encode the branch offset differently, and the Darwin assembler appears to prefer the "long" form for direct branches. Thus, in the name of bitwise equivalence, provide encoding and fixup support for it. llvm-svn: 121710
-
Jim Grosbach authored
llvm-svn: 121709
-
Jim Grosbach authored
llvm-svn: 121708
-