diff options
| author | Sanjay Patel <spatel@rotateright.com> | 2018-02-13 22:24:37 +0000 |
|---|---|---|
| committer | Sanjay Patel <spatel@rotateright.com> | 2018-02-13 22:24:37 +0000 |
| commit | 7558d860af88bde4b860d9f66fd0281a331db345 (patch) | |
| tree | 527c3c11d3199e193dca4ff61893ea5d6093eac9 /llvm/tools/llvm-rc/ResourceFileWriter.cpp | |
| parent | b42495468250e7887b3273100299190a70fab9ce (diff) | |
| download | bcm5719-llvm-7558d860af88bde4b860d9f66fd0281a331db345.tar.gz bcm5719-llvm-7558d860af88bde4b860d9f66fd0281a331db345.zip | |
[InstCombine] (lshr X, 31) * Y --> (ashr X, 31) & Y
This replaces the bit-tracking based fold that did the same thing,
but it only worked for scalars and not directly.
There is no evidence in existing regression tests that the greater
power of bit-tracking was needed here, but we should be aware of
this potential loss of optimization.
llvm-svn: 325062
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceFileWriter.cpp')
0 files changed, 0 insertions, 0 deletions

