diff options
| author | Nikita Popov <npopov@redhat.com> | 2022-02-23 15:24:44 +0100 |
|---|---|---|
| committer | Nikita Popov <npopov@redhat.com> | 2022-02-23 15:29:21 +0100 |
| commit | 03e6efb8c23f489e45353b6b6d941628d9c49ca2 (patch) | |
| tree | 8af7e82eba7030542a48634235d05e8c9d1a93a0 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | b1a8dcf8c186ddfeeb062ab8475fe30365557955 (diff) | |
[InstCombine] Further simplify udiv -> lshr folding
Rather than queuing up actions, have one function that does the
log2() fold in the obvious way, but with a flag that allows us
to check whether the fold will succeed without actually performing
it.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
