OSDN Git Service

[DAGCombiner] Ensure we use the correct CC result type in visitSDIV
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 28 Jun 2018 09:54:28 +0000 (09:54 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Thu, 28 Jun 2018 09:54:28 +0000 (09:54 +0000)
commit5796a8d8718684e49387c6597a8133d2bb44f98c
tree51063715447c88ae2eb2e429afe94ac7f9649db4
parente6a8acefb8f23ddd7a1c5e8500bca598574630bf
[DAGCombiner] Ensure we use the correct CC result type in visitSDIV

We could get away with it for constant folded cases, but not for rL335719.

Thanks to Krzysztof Parzyszek for noticing.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@335821 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/Hexagon/sdiv-minsigned.ll [new file with mode: 0644]
test/CodeGen/X86/combine-sdiv.ll