diff options
author | Craig Topper <craig.topper@sifive.com> | 2022-06-06 09:45:52 -0700 |
---|---|---|
committer | Craig Topper <craig.topper@sifive.com> | 2022-06-06 09:59:23 -0700 |
commit | be398100eaf5a59146170167e34ffc7ba880c88e (patch) | |
tree | 313da83732fc1a986f0c06ebfe5a02455301f4f0 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | eebbfbcd500be4c644cb10adf3e4fc45a4a79e0a (diff) | |
download | llvm-be398100eaf5a59146170167e34ffc7ba880c88e.zip llvm-be398100eaf5a59146170167e34ffc7ba880c88e.tar.gz llvm-be398100eaf5a59146170167e34ffc7ba880c88e.tar.bz2 |
[SelectionDAG] Further improve computeKnownBits for (smax X, C) where C is non-negative.
Move the code that was added for D126896 after the normal recursive calls
to computeKnownBits. This allows us to calculate trailing zeros.
Previously we would break out of the switch before the recursive calls.
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions