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 | 7a1e924b9a7dde1bf936e38777e48b4dda7e8d1c (patch) | |
tree | 549117b556b091087ac735e22ac9e8d6e71d4841 /tools/llvm-mc/AsmParser.cpp | |
parent | 878daed2aa158319f0d5a3dce4034499437f38fe (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80483 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc/AsmParser.cpp')
0 files changed, 0 insertions, 0 deletions