[llvm] [DebugInfo][InstrRef] Treat ORRWrr as a copy instr (PR #123102)
Shubham Sandeep Rastogi via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 16 12:41:50 PST 2025
rastogishubham wrote:
@jmorse
> I feel the urge to say "this should be an MIR test", but I suppose this is checking how isel produces a copy and how it mutates over the compilation, and that it doesn't crash. So, the test is probably fine as it is.
Yes the only reason it isn't a MIR test is because we need to make sure that isel produces the copy and then how it mutates over the passes. If we just replaced it with mir, then the test wouldn't crash if this patch wasn't applied. Thanks!
https://github.com/llvm/llvm-project/pull/123102
More information about the llvm-commits
mailing list