summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-rc/ResourceFileWriter.h
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-02-13 22:24:37 +0000
committerSanjay Patel <spatel@rotateright.com>2018-02-13 22:24:37 +0000
commit7558d860af88bde4b860d9f66fd0281a331db345 (patch)
tree527c3c11d3199e193dca4ff61893ea5d6093eac9 /llvm/tools/llvm-rc/ResourceFileWriter.h
parentb42495468250e7887b3273100299190a70fab9ce (diff)
downloadbcm5719-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.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud