[clang] [llvm] [HLSL][SPIRV][DXIL] Implement `WaveActiveMax` intrinsic (PR #123428)
Adam Yang via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 10:37:23 PST 2025
================
@@ -19203,6 +19203,25 @@ static Intrinsic::ID getWaveActiveSumIntrinsic(llvm::Triple::ArchType Arch,
}
}
+// Return wave active sum that corresponds to the QT scalar type
+static Intrinsic::ID getWaveActiveMaxIntrinsic(llvm::Triple::ArchType Arch,
----------------
adam-yang wrote:
I gave it a bit of try, it's kind of just shuffling things around and not really making things any easier to read. I think it okay as is.
https://github.com/llvm/llvm-project/pull/123428
More information about the llvm-commits
mailing list