aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/InstCombine/InstCombineAddSub.cpp
diff options
context:
space:
mode:
authorFrits van Bommel <fvbommel@gmail.com>2010-12-15 09:51:20 +0000
committerFrits van Bommel <fvbommel@gmail.com>2010-12-15 09:51:20 +0000
commit26e097ca4bdb31000655ff9ec39fe7d9b7ea226d (patch)
treedb522151cd6ccf109a0185760d9f988b783429f0 /lib/Transforms/InstCombine/InstCombineAddSub.cpp
parent22447ae54bcb8ca94ed994cad103074a24e66781 (diff)
Teach jump threading to "look through" a select when the branch direction of a terminator depends on it.
When it sees a promising select it now tries to figure out whether the condition of the select is known in any of the predecessors and if so it maps the operands appropriately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121859 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/InstCombine/InstCombineAddSub.cpp')
0 files changed, 0 insertions, 0 deletions