diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-07-26 16:14:53 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-07-26 16:14:53 +0000 |
commit | b381e7e59a182c418c44cea54c127ec2366a40d2 (patch) | |
tree | b2a3bdd3fffaf65517feca02809edbb3f5832bc3 /llvm/lib/CodeGen | |
parent | 1d5e640428b18b6e2c600dc8e566943004ad6dd9 (diff) | |
download | bcm5719-llvm-b381e7e59a182c418c44cea54c127ec2366a40d2.tar.gz bcm5719-llvm-b381e7e59a182c418c44cea54c127ec2366a40d2.zip |
[InstCombine] add tests for udiv with common factor; NFC
This fold is mentioned in PR38239:
https://bugs.llvm.org/show_bug.cgi?id=38239
The general case probably belongs in -reassociate, but given that we do
basic reassociation optimizations similar to this in instcombine already,
we might as well be consistent within instcombine and handle this pattern?
llvm-svn: 338038
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions