diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-02-24 23:34:24 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-02-24 23:34:24 +0000 |
commit | 0d67b10a3c95dc61cd4b56ba51e86ddc47d92cb2 (patch) | |
tree | 2ecec1ad11610644929b07f1913357b338fffb31 /clang/lib/AST/ODRHash.cpp | |
parent | 6de8aca1d00257607b039ef41dc54b0ecfb25ef4 (diff) | |
download | bcm5719-llvm-0d67b10a3c95dc61cd4b56ba51e86ddc47d92cb2.tar.gz bcm5719-llvm-0d67b10a3c95dc61cd4b56ba51e86ddc47d92cb2.zip |
[Hexagon] Undo shift folding where it could simplify addressing mode
For example, avoid (single shift):
r0 = and(##536870908,lsr(r0,#3))
r0 = memw(r1+r0<<#0)
in favor of (two shifts):
r0 = lsr(r0,#5)
r0 = memw(r1+r0<<#2)
llvm-svn: 296196
Diffstat (limited to 'clang/lib/AST/ODRHash.cpp')
0 files changed, 0 insertions, 0 deletions