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/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | b1a8dcf8c186ddfeeb062ab8475fe30365557955 (diff) | |
download | llvm-03e6efb8c23f489e45353b6b6d941628d9c49ca2.zip llvm-03e6efb8c23f489e45353b6b6d941628d9c49ca2.tar.gz llvm-03e6efb8c23f489e45353b6b6d941628d9c49ca2.tar.bz2 |
[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/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions