[llvm] [AArch64][GlobalISel] Combine G_CONCAT_VECTORS with Illegal Form (PR #85047)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 14 00:48:23 PDT 2024
================
@@ -359,6 +359,108 @@ class LegalizationArtifactCombiner {
return false;
}
+ // Try to combine illegal G_CONCAT_VECTORS instructions
+ // Combine if the G_CONCAT_VECTORS instruction is illegal and
+ // Source Registers are:
+ // - Previously defined by a G_BITCAST instruction
+ // - Defined by G_IMPLICIT_DEF with look through
+ // ===============
+ //
+ // %0(s32) = G_LOAD %ptr
----------------
davemgreen wrote:
The G_LOAD can be removed, as it could be any instruction and it helps simplify the comment a little.
https://github.com/llvm/llvm-project/pull/85047
More information about the llvm-commits
mailing list