OSDN Git Service

cache result of UI.getOperandNo() instead of calling it twice, it is cheaper this way
authorGabor Greif <ggreif@gmail.com>
Wed, 24 Mar 2010 10:12:54 +0000 (10:12 +0000)
committerGabor Greif <ggreif@gmail.com>
Wed, 24 Mar 2010 10:12:54 +0000 (10:12 +0000)
commit5eff285d8df05c7a570377aa83daf9fdfc536b62
tree2851b34db043b456c04c791ddf1acdf186e8ad86
parentbbdca3f68edce8b2cc409ed71d256b4dbb0c56ad
cache result of UI.getOperandNo() instead of calling it twice, it is cheaper this way

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99394 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/AddrModeMatcher.cpp