aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/GraphWriter.cpp
diff options
context:
space:
mode:
authorArnold Schwaighofer <aschwaighofer@apple.com>2013-07-05 18:28:39 +0000
committerArnold Schwaighofer <aschwaighofer@apple.com>2013-07-05 18:28:39 +0000
commit50b76b522686a7efd079ca4178cad517757d3b06 (patch)
tree18ee330d095cae1994a12143c30f8223c1fe6434 /llvm/lib/Support/GraphWriter.cpp
parentabb160e68964ddf534e240e3ea0bf90af53f894d (diff)
downloadllvm-50b76b522686a7efd079ca4178cad517757d3b06.zip
llvm-50b76b522686a7efd079ca4178cad517757d3b06.tar.gz
llvm-50b76b522686a7efd079ca4178cad517757d3b06.tar.bz2
ARM: Fix incorrect pack pattern
A "pkhtb x, x, y asr #num" uses the lower 16 bits of "y asr #num" and packs them in the bottom half of "x". An arithmetic and logic shift are only equivalent in this context if the shift amount is 16. We would be shifting in ones into the bottom 16bits instead of zeros if "y" is negative. radar://14338767 llvm-svn: 185712
Diffstat (limited to 'llvm/lib/Support/GraphWriter.cpp')
0 files changed, 0 insertions, 0 deletions