aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyInstructions.cpp
diff options
context:
space:
mode:
authorCameron Zwarich <zwarich@apple.com>2010-12-30 00:42:23 +0000
committerCameron Zwarich <zwarich@apple.com>2010-12-30 00:42:23 +0000
commit2f6dc10cccdcf4d527c907029bfce756c494796c (patch)
treea3b8b6e0876613b28b33b9d7cbac65d9c036a2d1 /llvm/lib/Transforms/Utils/SimplifyInstructions.cpp
parentacc6b4e2fdd9a242b7f15ded72dd542c0518a115 (diff)
downloadllvm-2f6dc10cccdcf4d527c907029bfce756c494796c.zip
llvm-2f6dc10cccdcf4d527c907029bfce756c494796c.tar.gz
llvm-2f6dc10cccdcf4d527c907029bfce756c494796c.tar.bz2
Use getVRegDef() instead of def_iterator. This leads to fewer defs being added
with 2-address instructions, for about a 3.5% speedup of StrongPHIElimination on 403.gcc. llvm-svn: 122635
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyInstructions.cpp')
0 files changed, 0 insertions, 0 deletions