diff options
author | JF Bastien <jfb@google.com> | 2013-06-11 22:13:46 +0000 |
---|---|---|
committer | JF Bastien <jfb@google.com> | 2013-06-11 22:13:46 +0000 |
commit | 3c6bb8e19f0671f2184e45a38e7a965cd787b13d (patch) | |
tree | c1d5a52a0eb9b7863d060e057cb3493ba2ccdb0d /clang/unittests/Lex/PPCallbacksTest.cpp | |
parent | b0c72d99dc912ae672a5e6db86e9fc2b11f8bfb0 (diff) | |
download | bcm5719-llvm-3c6bb8e19f0671f2184e45a38e7a965cd787b13d.tar.gz bcm5719-llvm-3c6bb8e19f0671f2184e45a38e7a965cd787b13d.zip |
ARM FastISel fix sext/zext fold
Sign- and zero-extension folding was slightly incorrect because it wasn't checking that the shift on extensions was zero. Further, I recently added AND rd, rn, #255 as a form of 8-bit zero extension, and failed to add the folding code for it.
This patch fixes both issues.
This patch fixes both, and the test should remain the same:
test/CodeGen/ARM/fast-isel-fold.ll
llvm-svn: 183794
Diffstat (limited to 'clang/unittests/Lex/PPCallbacksTest.cpp')
0 files changed, 0 insertions, 0 deletions