[all-commits] [llvm/llvm-project] 5811d7: [AArch64][GlobalISel] Promote scalar G_SHL constan...
AE via All-commits
all-commits at lists.llvm.org
Sun Sep 27 01:53:41 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5811d723998a3abdd3cb95dc579d28f48c57c2fa
https://github.com/llvm/llvm-project/commit/5811d723998a3abdd3cb95dc579d28f48c57c2fa
Author: Amara Emerson <amara at apple.com>
Date: 2020-09-27 (Sun, 27 Sep 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.
More information about the All-commits
mailing list