[llvm] [DirectX] Add support for typedBufferLoad and Store for RWBuffer<double2> and RWBuffer<double> (PR #139996)
Justin Bogner via llvm-commits
llvm-commits at lists.llvm.org
Wed May 14 22:04:46 PDT 2025
================
@@ -70,6 +70,15 @@ static bool isIntrinsicExpansion(Function &F) {
case Intrinsic::vector_reduce_add:
case Intrinsic::vector_reduce_fadd:
return true;
+ case Intrinsic::dx_resource_load_typedbuffer: // want to transform double and
+ // double2
----------------
bogner wrote:
Probably better to move the comment to the next line (also some slight editorial suggestion)
```suggestion
case Intrinsic::dx_resource_load_typedbuffer:
// We need to handle doubles and vectors of doubles.
```
https://github.com/llvm/llvm-project/pull/139996
More information about the llvm-commits
mailing list