[all-commits] [llvm/llvm-project] 0b91b1: [AArch64][GlobalISel] Legalize and Lower Funnel Sh...
chuongg3 via All-commits
all-commits at lists.llvm.org
Tue Aug 22 02:33:33 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0b91b1aec4809b97a19b1f9e8585927c978dcda0
https://github.com/llvm/llvm-project/commit/0b91b1aec4809b97a19b1f9e8585927c978dcda0
Author: Tuan Chuong Goh <chuong.goh at arm.com>
Date: 2023-08-22 (Tue, 22 Aug 2023)
Changed paths:
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.h
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-fshl.mir
M llvm/test/CodeGen/AArch64/GlobalISel/legalize-fshr.mir
M llvm/test/CodeGen/AArch64/funnel-shift.ll
Log Message:
-----------
[AArch64][GlobalISel] Legalize and Lower Funnel Shift for GlobalISel
Recognise G_FSHR with constant shift amount as a legal instruction.
Lowers G_FSHL with constant shift to G_FSHR.
If shift amount is non-constant, generic lowering is applied to the
instruction.
Differential Revision: https://reviews.llvm.org/D155484
More information about the All-commits
mailing list