Issue 134378
Summary [DirectX] The dx.saturate intrinsic is not being scalarized
Labels backend:DirectX
Assignees
Reporter bogner
    As seen in https://github.com/llvm-beanz/offload-test-suite/pull/62, using HLSL's "saturate" operation on a vector is resulting in an `error: Cannot create Saturate operation: Invalid overload type` from the backend. This is because the intrinsic isn't being scalarized and there is no vector DXIL op when we try to lower.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to