diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-30 06:13:40 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-30 06:13:40 +0000 |
commit | 905976b1db17157b8ae04953bb052b76928b6ba7 (patch) | |
tree | be665c46414be280f8fe3bc2f428faed900e2b27 /llvm/lib/MC/MCNullStreamer.cpp | |
parent | 93ad6170fd3b201ed119d1c4086a393670260f11 (diff) | |
download | bcm5719-llvm-905976b1db17157b8ae04953bb052b76928b6ba7.tar.gz bcm5719-llvm-905976b1db17157b8ae04953bb052b76928b6ba7.zip |
inline the trivial AddToWorkList/RemoveFromWorkList methods
into their callers. simplify ReplaceInstUsesWith. Make
EraseInstFromFunction only add operands to the worklist if
there aren't too many of them (this was a scalability win
for crazy programs that was only infrequently enforced).
Switch more code to using EraseInstFromFunction instead of
duplicating it inline. Change some fcmp/icmp optimizations
to modify fcmp/icmp in place instead of creating a new one
and deleting the old one just to change the predicate.
llvm-svn: 80483
Diffstat (limited to 'llvm/lib/MC/MCNullStreamer.cpp')
0 files changed, 0 insertions, 0 deletions