[llvm] [AMDGPU][DAG] Allow extract_subvector for free register copy (PR #214152)

via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 10 18:09:54 PDT 2026


================
@@ -235,6 +235,7 @@ class SITargetLowering final : public AMDGPUTargetLowering {
   SDValue performFMed3Combine(SDNode *N, DAGCombinerInfo &DCI) const;
   SDValue performCvtPkRTZCombine(SDNode *N, DAGCombinerInfo &DCI) const;
   SDValue performExtractVectorEltCombine(SDNode *N, DAGCombinerInfo &DCI) const;
----------------
Shoreshen wrote:

Hi @arsenm do you mean the `extract_vector_elt (extract_subvector X, I), J -> extract_vector_elt X, I + J` combine?

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


More information about the llvm-commits mailing list