summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2013-07-09 22:59:22 +0000
committerJim Grosbach <grosbach@apple.com>2013-07-09 22:59:22 +0000
commitebcad2e0633b3750fdec1e740ed0deb3816bdc38 (patch)
tree7569ef705867cb0bbec3b15e364e324e9a145f2b /clang/lib/CodeGen/CodeGenModule.cpp
parent6578cb64788ea3c61476d7634515683faf5a91e5 (diff)
downloadbcm5719-llvm-ebcad2e0633b3750fdec1e740ed0deb3816bdc38.tar.gz
bcm5719-llvm-ebcad2e0633b3750fdec1e740ed0deb3816bdc38.zip
ARM: Fix incorrect pack pattern for thumb2
Propagate the fix from r185712 to Thumb2 codegen as well. Original commit message applies here as well: 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. rdar://14338767 llvm-svn: 185982
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud