Use getVRegDef() instead of def_iterator. This leads to fewer defs being added
authorCameron Zwarich <zwarich@apple.com>
Thu, 30 Dec 2010 00:42:23 +0000 (00:42 +0000)
committerCameron Zwarich <zwarich@apple.com>
Thu, 30 Dec 2010 00:42:23 +0000 (00:42 +0000)
commitd16ad3e43c4dc59b3f6f8f36338a778f7c7a8701
tree5d70be74276d860b084551583e4a90526770c747
parente0f6db369d09e15f752618b2346642ee65bf7b3d
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122635 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/StrongPHIElimination.cpp