[all-commits] [llvm/llvm-project] 9caca7: [AArch64][GlobalISel] Use the look-through constan...
AE via All-commits
all-commits at lists.llvm.org
Fri Dec 18 12:07:22 PST 2020
Branch: refs/heads/release/11.x
Home: https://github.com/llvm/llvm-project
Commit: 9caca7241d447266a23a99ea0536f30faaf19694
https://github.com/llvm/llvm-project/commit/9caca7241d447266a23a99ea0536f30faaf19694
Author: Amara Emerson <amara at apple.com>
Date: 2020-12-18 (Fri, 18 Dec 2020)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-unmerge-values.mir
Log Message:
-----------
[AArch64][GlobalISel] Use the look-through constant helper for the shift s32->s64 custom legalization.
Almost NFC, except it catches more cases and gives a 0.1% CTMark -O0 size win.
Commit: 43ff75f2c3feef64f9d73328230d34dac8832a91
https://github.com/llvm/llvm-project/commit/43ff75f2c3feef64f9d73328230d34dac8832a91
Author: Amara Emerson <amara at apple.com>
Date: 2020-12-18 (Fri, 18 Dec 2020)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-merge-values.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-non-pow2-load-store.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-shift.mir
M llvm/test/CodeGen/AArch64/arm64-clrsb.ll
Log Message:
-----------
[AArch64][GlobalISel] Promote scalar G_SHL constant shift amounts to s64.
This was supposed to be done in the first place as is currently the case for
G_ASHR and G_LSHR but was forgotten when the original shift legalization
overhaul was done last year.
This was exposed because we started falling back on s32 = s32, s64 SHLs
due to a recent combiner change.
Gives a very minor (0.1%) code size -O0 improvement on consumer-typeset.
Compare: https://github.com/llvm/llvm-project/compare/d104e582838f...43ff75f2c3fe
More information about the All-commits
mailing list