[all-commits] [llvm/llvm-project] d88d98: [AArch64][GlobalISel] Support more types for TRUNC...
chuongg3 via All-commits
all-commits at lists.llvm.org
Wed Oct 11 08:05:39 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d88d9834e985ad1feede6d9ce16b6d5c412b30d1
https://github.com/llvm/llvm-project/commit/d88d9834e985ad1feede6d9ce16b6d5c412b30d1
Author: chuongg3 <chuong.goh at arm.com>
Date: 2023-10-11 (Wed, 11 Oct 2023)
Changed paths:
M llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h
M llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.h
A llvm/test/CodeGen/AArch64/GlobalISel/legalize-xtn.mir
A llvm/test/CodeGen/AArch64/xtn.ll
M llvm/test/CodeGen/AArch64/zext.ll
Log Message:
-----------
[AArch64][GlobalISel] Support more types for TRUNC (#66927)
G_TRUNC will get lowered into trunc(merge(trunc(unmerge),
trunc(unmerge))) if the source is larger than 128 bits or the truncation
is more than half of the current bit size.
Now mirrors ZEXT/SEXT code more closely for vector types.
More information about the All-commits
mailing list