SimplifyCFG: GEPs with constant indices are cheap enough to be executed unconditionally.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 24 Feb 2011 22:46:11 +0000 (22:46 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 24 Feb 2011 22:46:11 +0000 (22:46 +0000)
commit9b61c550c2f1fa889163a338f5d6c02b50fe961c
treedb2081af02933bd7b35a87d9340756fab4b111e7
parent93c65e6e661eda75711363bdd5ca15909920e1f0
SimplifyCFG: GEPs with constant indices are cheap enough to be executed unconditionally.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126445 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/select-gep.ll [new file with mode: 0644]