diff options
author | Nikita Popov <npopov@redhat.com> | 2022-02-23 14:52:56 +0100 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-02-23 14:55:23 +0100 |
commit | 5ccb0582c2b199913829d75a1dbbc866a707f400 (patch) | |
tree | d3e30520bdb6082b763b4d5f2d7ab66dd1facdd5 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 82951cfb8a413aab9c4b8aeecbd7475dda8f1fb1 (diff) | |
download | llvm-5ccb0582c2b199913829d75a1dbbc866a707f400.zip llvm-5ccb0582c2b199913829d75a1dbbc866a707f400.tar.gz llvm-5ccb0582c2b199913829d75a1dbbc866a707f400.tar.bz2 |
[InstCombine] Simplify udiv -> lshr folding
What we're really doing here is converting Op0 udiv Op1 into
Op0 lshr log2(Op1), so phrase it in that way. Actually pushing
the lshr into the log2(Op1) expression should be seen as a separate
transform.
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions