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 | 5ab770417bd230d2e319490261d300c50e932b71 (patch) | |
tree | a2694698e6a3a7966649d52c1356c8990a9906ca /unittests/Support/Path.cpp | |
parent | a85644459ce0d63c92eaf2b6b35440b37c2b5364 (diff) | |
download | llvm-5ab770417bd230d2e319490261d300c50e932b71.tar.gz llvm-5ab770417bd230d2e319490261d300c50e932b71.tar.bz2 llvm-5ab770417bd230d2e319490261d300c50e932b71.tar.xz |
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
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@183794 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/Path.cpp')
0 files changed, 0 insertions, 0 deletions