https://github.com/nikic commented: This seems like something that canReplaceOperandWithVariable() should be handling -- why doesn't it? Is it because the `!isa<Constant>` bails out before we get to the inline asm check? https://github.com/llvm/llvm-project/pull/138414