[llvm] [AArch64][GlobalISel] Improve lowering of vector fp16 fptrunc and fpext (PR #163398)

David Green via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 28 01:17:29 PDT 2025


================
@@ -133,6 +137,97 @@ bool isZeroExtended(Register R, MachineRegisterInfo &MRI) {
   return MRI.getVRegDef(R)->getOpcode() == TargetOpcode::G_ZEXT;
 }
 
+// This patten aims to match the following shape to avoid extra mov instructions
----------------
davemgreen wrote:

pattern

https://github.com/llvm/llvm-project/pull/163398


More information about the llvm-commits mailing list