[llvm] [GlobalISel] Add support to moreElementsVector for G_SEXT, G_ZEXT and G_ANYEXT (PR #85038)
David Green via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 13 02:08:43 PDT 2024
================
@@ -5496,6 +5496,26 @@ LegalizerHelper::moreElementsVector(MachineInstr &MI, unsigned TypeIdx,
return Legalized;
}
+ case TargetOpcode::G_SEXT:
----------------
davemgreen wrote:
There is a case above that handles G_TRUNC and a few others that have different type sizes. It could be extended to handle these operations too.
https://github.com/llvm/llvm-project/pull/85038
More information about the llvm-commits
mailing list