aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachinePipeliner.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2021-02-28 08:20:57 -0800
committerCraig Topper <craig.topper@sifive.com>2021-02-28 08:26:22 -0800
commitca5247bb1770a1dfa56b78303d99f1cc9a0a06ee (patch)
treeca724b9ef7b704c75c9b59a7e9f16a76a4453bad /llvm/lib/CodeGen/MachinePipeliner.cpp
parent1d6a6f3b0c710ccd6558644d195cf939c4995d84 (diff)
downloadllvm-ca5247bb1770a1dfa56b78303d99f1cc9a0a06ee.zip
llvm-ca5247bb1770a1dfa56b78303d99f1cc9a0a06ee.tar.gz
llvm-ca5247bb1770a1dfa56b78303d99f1cc9a0a06ee.tar.bz2
[DAGCombiner] Don't skip no overflow check on UMULO if the first computeKnownBits call doesn't return any 0 bits.
Even if the first computeKnownBits call doesn't have any zero bits it is possible the other operand has bitwidth-1 leading zero. In that case overflow is still impossible. So always call computeKnownBits for both operands.
Diffstat (limited to 'llvm/lib/CodeGen/MachinePipeliner.cpp')
0 files changed, 0 insertions, 0 deletions