[all-commits] [llvm/llvm-project] 07c8bc: [AArch64] Narrow G_SEXT_INREG to s64 before lowering.
Craig Topper via All-commits
all-commits at lists.llvm.org
Mon Aug 7 14:40:38 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 07c8bcc21df6e05e59976c3fa19455fb7bb56e01
https://github.com/llvm/llvm-project/commit/07c8bcc21df6e05e59976c3fa19455fb7bb56e01
Author: Craig Topper <craig.topper at sifive.com>
Date: 2023-08-07 (Mon, 07 Aug 2023)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-saddsat.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-ssubsat.mir
Log Message:
-----------
[AArch64] Narrow G_SEXT_INREG to s64 before lowering.
This avoids narrowing after it has been expanded to shifts. The
G_SEXT_INREG narrowing can use the second operand of the instruction to
optimize the narrowing.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D157172
More information about the All-commits
mailing list