[llvm] [DirectX] Make dx.RawBuffer an op that can't be replaced (PR #154620)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 28 12:03:20 PDT 2025
================
@@ -3852,6 +3852,9 @@ bool llvm::canReplaceOperandWithVariable(const Instruction *I, unsigned OpIdx) {
if (I->isLifetimeStartOrEnd())
return false;
+ if (Op->getType()->isTokenLikeTy())
----------------
nikic wrote:
Can you please rebase over https://github.com/llvm/llvm-project/commit/24924a8be1bb7c6083303330ecc0e7dc647247d3 and then adjust the existing call?
https://github.com/llvm/llvm-project/pull/154620
More information about the llvm-commits
mailing list