lukel97 wrote: > IntrArgMemOnly still has the side effect specific to the passed pointer argument, hasOrderedMemoryRef is a global barrier Changed to just change MachineInstr::isSafeToMove https://github.com/llvm/llvm-project/pull/211179