[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
Thu Aug 21 08:36:15 PDT 2025
================
@@ -3852,6 +3852,10 @@ bool llvm::canReplaceOperandWithVariable(const Instruction *I, unsigned OpIdx) {
if (I->isLifetimeStartOrEnd())
return false;
+ if (auto *TT = dyn_cast<TargetExtType>(Op->getType());
----------------
farzonl wrote:
I could use some advice on where this should live?
https://github.com/llvm/llvm-project/pull/154620
More information about the llvm-commits
mailing list