- Nov 03, 2009
-
-
Chris Lattner authored
llvm-svn: 85858
-
Chris Lattner authored
std::map to DenseMap, exposed on release llvm-gcc bootstrap. llvm-svn: 85840
-
- Nov 02, 2009
-
-
Chris Lattner authored
llvm-svn: 85818
-
Chris Lattner authored
disable it until I can fix it. llvm-svn: 85810
-
Chris Lattner authored
function to calls of that function, regardless of whether it has local linkage or has its address taken. Not escaping should only affect whether we make an aggressive assumption about the arguments to a function, not whether we can track the result of it. llvm-svn: 85795
-
Chris Lattner authored
llvm-svn: 85793
-
Chris Lattner authored
a shared place instead of duplicating it 4 times. llvm-svn: 85792
-
Chris Lattner authored
"multiple return values" but not "first class aggregates" llvm-svn: 85791
-
Chris Lattner authored
llvm-svn: 85790
-
Chris Lattner authored
instead of reinventing SCCP-specific logic. This gives us new powers. llvm-svn: 85789
-
Chris Lattner authored
a DenseMap. Doing this required being aware of subtle iterator invalidation issues, but it provides a big speedup. In a release-asserts build, this sped up optimizing 403.gcc from 1.34s -> 0.79s (IPSCCP) and 1.11s -> 0.44s (SCCP). This commit also conflates in a bunch of general cleanups, sorry. llvm-svn: 85788
-
Chris Lattner authored
an assertion on the buildbot. llvm-svn: 85784
-
Chris Lattner authored
simplify some code. llvm-svn: 85783
-
Chris Lattner authored
llvm-svn: 85780
-
Chris Lattner authored
llvm-svn: 85778
-
Chris Lattner authored
llvm-svn: 85777
-
Chris Lattner authored
function, eliminate temporary (and pointless) smallvector. llvm-svn: 85776
-
Chris Lattner authored
llvm-svn: 85775
-
Chris Lattner authored
llvm-svn: 85774
-
Chris Lattner authored
llvm-svn: 85773
-
Chris Lattner authored
of the two loads agree. Propagate that onto the new store. llvm-svn: 85772
-
- Nov 01, 2009
-
-
Chris Lattner authored
not the max. This didn't matter until the previous patch because instcombine would refuse to sink loads with differenting alignments. llvm-svn: 85738
-
Chris Lattner authored
llvm-svn: 85737
-
Chris Lattner authored
phis, it didn't preserve the alignment of the load. This is a missed optimization of the alignment is high and a miscompilation when the alignment is low. llvm-svn: 85736
-
Chris Lattner authored
can be banging on a context at a time, this isn't needed. Owen, please review. llvm-svn: 85728
-
Chris Lattner authored
in a way that should prevent ip constprop. This allows clang/test/CodeGen/indirect-goto.c to pass with the new indirect goto lowering. llvm-svn: 85709
-
Chris Lattner authored
ended in an uncond branch because the pass requires BreakCriticalEdges. However, BCE doesn't eliminate critical adges from indbrs. llvm-svn: 85707
-
Chris Lattner authored
This prevents unswitching from duplicating indbr's. llvm-svn: 85705
-
- Oct 31, 2009
-
-
Chris Lattner authored
llvm-svn: 85692
-
Chris Lattner authored
Fix CodeGenPrepare to not try to split edges from indirectbr. llvm-svn: 85690
-
Chris Lattner authored
llvm-svn: 85671
-
Dan Gohman authored
clears out more information than just the stored backedge taken count. llvm-svn: 85664
-
Dan Gohman authored
the new common CodeMetrics code. llvm-svn: 85663
-
Dan Gohman authored
llvm-svn: 85661
-
Dan Gohman authored
llvm-svn: 85660
-
Dan Gohman authored
LoopUnrollPass.cpp, for consistency with other passes which are similarly split. llvm-svn: 85659
-
Dan Gohman authored
to unfold loop-invariant loads. llvm-svn: 85657
-
Dan Gohman authored
llvm-svn: 85655
-
Evan Cheng authored
llvm-svn: 85641
-
Dan Gohman authored
PHI operands by the predecessor order, sort them by the order used by the first PHI in the block. This is still suffucient to expose duplicates. llvm-svn: 85634
-