This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Use MachineInstr::setDebugValueUndef
ClosedPublic

Authored by aheejin on Mar 13 2023, 3:53 PM.

Details

Summary

When making DBG_VALUE/DBG_VALUE_LIST instructions undefined, there
is a method that takes care of it so we don't need to do it manually.
This changes the test because previously we are converting
DBG_VALUE_LISTs into DBG_VALUE $noreg but now we leave
DBG_VALUE_LIST but set it to undef by turning all its register
operands $noreg. The effect is the same.

Diff Detail

Event Timeline

aheejin created this revision.Mar 13 2023, 3:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 13 2023, 3:53 PM
Herald added subscribers: pmatos, asb, wingo and 5 others. · View Herald Transcript
aheejin requested review of this revision.Mar 13 2023, 3:53 PM
Herald added a project: Restricted Project. · View Herald TranscriptMar 13 2023, 3:53 PM
dschuff accepted this revision.Mar 13 2023, 3:57 PM

When making DBG_VALUE/DBG_VALUE_INST instructions undefined

Did you mean "DBG_VALUE/DBG_VALUE_LIST" ?

This revision is now accepted and ready to land.Mar 13 2023, 3:57 PM

Yes correct.

aheejin edited the summary of this revision. (Show Details)Mar 13 2023, 4:11 PM
This revision was automatically updated to reflect the committed changes.