[llvm] [GlobalISel] Refactor extractParts() (PR #75223)

Amara Emerson via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 26 06:55:18 PST 2023


================
@@ -506,6 +506,47 @@ bool llvm::extractParts(Register Reg, LLT RegTy, LLT MainTy, LLT &LeftoverTy,
     return true;
   }
 
+  // Try to use unmerge for irregular vector split where possible
----------------
aemerson wrote:

I think a small MIR example would be helpful for those reading this code.

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


More information about the llvm-commits mailing list