[InstCombine] Re-commit of r218721 (Optimize icmp-select-icmp sequence)
authorGerolf Hoflehner <ghoflehner@apple.com>
Fri, 21 Nov 2014 23:36:44 +0000 (23:36 +0000)
committerGerolf Hoflehner <ghoflehner@apple.com>
Fri, 21 Nov 2014 23:36:44 +0000 (23:36 +0000)
commit5182ad54b24df52557c7c7170d4b874b6b156673
tree9f110b4944d586ca5d9008f8866f8bf3d72c57f7
parent0b1407b5cfde0117d0e96e970d2032380dfa601c
[InstCombine] Re-commit of  r218721 (Optimize icmp-select-icmp sequence)

Fixes the self-host fail. Note that this commit activates dominator
analysis in the combiner by default (like the original commit did).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222590 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/Value.h
lib/IR/Value.cpp
lib/Transforms/InstCombine/InstCombine.h
lib/Transforms/InstCombine/InstCombineCompares.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp
test/Transforms/InstCombine/pr12338.ll
test/Transforms/InstCombine/pr21199.ll [new file with mode: 0644]
test/Transforms/InstCombine/pr21210.ll [new file with mode: 0644]
test/Transforms/InstCombine/select-cmp-br.ll [new file with mode: 0644]