[llvm-branch-commits] [llvm] [AMDGPU] Add wave reduce intrinsics for double types - 2 (PR #170812)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Dec 10 03:54:41 PST 2025


================
@@ -5959,7 +6008,9 @@ static MachineBasicBlock *lowerWaveReduce(MachineInstr &MI,
         break;
       }
       case AMDGPU::V_MIN_F64_e64:
-      case AMDGPU::V_MAX_F64_e64: {
+      case AMDGPU::V_MAX_F64_e64:
+      case AMDGPU::V_ADD_F64_e64:
----------------
easyonaadit wrote:

>From what I gather, `V_ADD_F64_pseudo_e64` is itself lowered during post-isel-pseudo-expansion. So introducing it here doesn't allow it to get lowered.

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


More information about the llvm-branch-commits mailing list