[llvm] [DirectX] Make dx.RawBuffer an op that can't be replaced (PR #154620)
Farzon Lotfi via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 27 13:06:07 PDT 2025
================
@@ -847,6 +847,8 @@ class TargetExtType : public Type {
CanBeLocal = 1U << 2,
// This type may be used as an element in a vector.
CanBeVectorElement = 1U << 3,
+ // This type can not be replaced in an optimization pass.
+ NoReplacement = 1U << 4,
----------------
farzonl wrote:
> * Docs should use `///`
None of the other comments were doing this, will update all of them.
https://github.com/llvm/llvm-project/pull/154620
More information about the llvm-commits
mailing list