In these test updates for instruction referencing, I've added specific instruction-referencing modes, and kept the DBG_VALUE-based variable location check lines. This is because argument handling is really fiddly, and I figured it's worth duplicating the testing to ensure it's definitely correct. There's also (dbg-value-superreg-copy2.mir) a test for where variable locations go when virtual registers are coalesced together. I don't think there's an instruction referencing specific test for this, so figured that's worth duplicating too.
Details
Details
Diff Detail
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Nov 24 2021, 12:25 AM
Closed by commit rG2191d502a857: [DebugInfo] Check both instr-ref and DBG_VALUE modes of sdag tests (authored by jmorse). · Explain WhyNov 24 2021, 3:48 AM
This revision was automatically updated to reflect the committed changes.