diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-03-17 19:08:00 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-03-17 19:08:00 +0000 |
commit | b3bcd95771810f75736c1be0088618a03c9f0fe3 (patch) | |
tree | 21063a0040e6b0b5e5bfe4d9025d39933038093f /llvm/lib/Analysis/ValueTracking.cpp | |
parent | a3a2f9424e0c45e0fefa1c81bd370bfa8d8ac1e2 (diff) | |
download | bcm5719-llvm-b3bcd95771810f75736c1be0088618a03c9f0fe3.tar.gz bcm5719-llvm-b3bcd95771810f75736c1be0088618a03c9f0fe3.zip |
[InstCombine] canonicalize rotate right by constant to rotate left
This was noted as a backend problem:
https://bugs.llvm.org/show_bug.cgi?id=41057
...and subsequently fixed for x86:
rL356121
But we should canonicalize these in IR for the benefit of all targets
and improve IR analysis such as CSE.
llvm-svn: 356338
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions