summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2021-05-17 16:00:53 -0700
committerJessica Paquette <jpaquette@apple.com>2021-05-18 10:00:00 -0700
commit58c57e1b5f5fbc489b95f3b3a387451632c60eea (patch)
tree86e876e178e4a88f2a52543cf79be4dbd57d4e81 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent75ea0abaae4547574aa887650b09b98832384fc5 (diff)
[AArch64][GlobalISel] Prefer mov for s32->s64 G_ZEXT
We can use an ORRWrs (mov) + SUBREG_TO_REG rather than a UBFX for G_ZEXT on s32->s64. This closer matches what SDAG does, and is likely more power efficient etc. (Also fixed up arm64-rev.ll which had a fallback check line which was entirely useless.) Simple example: https://godbolt.org/z/h1jKKdx5c Differential Revision: https://reviews.llvm.org/D102656
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions