[llvm] [X86][GlobalISel] Enable G_BUILD_VECTOR and G_CONSTANT_POOL (PR #92844)
Thorsten Schütt via llvm-commits
llvm-commits at lists.llvm.org
Mon May 20 22:37:24 PDT 2024
================
@@ -484,6 +498,19 @@ X86LegalizerInfo::X86LegalizerInfo(const X86Subtarget &STI,
.widenScalarToNextPow2(1);
// vector ops
+ getActionDefinitionsBuilder(G_BUILD_VECTOR)
----------------
tschuett wrote:
AArch64 legalizes G_BUILD_VECTOR and then tries all kinds of tricks in the selector:
https://github.com/llvm/llvm-project/blob/ac7c482ca581cdab11558b5a37ae5095a1638fd2/llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp#L874
https://github.com/llvm/llvm-project/pull/92844
More information about the llvm-commits
mailing list