diff options
author | Sanjay Patel <spatel@rotateright.com> | 2017-08-07 15:47:48 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2017-08-07 15:47:48 +0000 |
commit | 807f92b8ffd10420fdad0395cabf8c9d9e8bf22e (patch) | |
tree | 83347a21f20881134aaf75d91a712eaf4d71662d /llvm/lib/CodeGen/SelectionDAG | |
parent | 47e0cf378c793b00207998a0537c2fd75bd1ec74 (diff) | |
download | bcm5719-llvm-807f92b8ffd10420fdad0395cabf8c9d9e8bf22e.tar.gz bcm5719-llvm-807f92b8ffd10420fdad0395cabf8c9d9e8bf22e.zip |
[x86] revert r310208 to investigate test-suite failures (PR34105 / PR34097)
llvm-svn: 310264
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp index 4d817f15d40..4b57787699b 100644 --- a/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp @@ -7394,7 +7394,7 @@ SDValue DAGCombiner::visitSIGN_EXTEND(SDNode *N) { SimplifySelectCC(DL, N00, N01, ExtTrueVal, Zero, CC, true)) return SCC; - if (!VT.isVector() && !TLI.convertSelectOfConstantsToMath()) { + if (!VT.isVector()) { EVT SetCCVT = getSetCCResultType(N00VT); // Don't do this transform for i1 because there's a select transform // that would reverse it. |