This is an archive of the discontinued LLVM Phabricator instance.

[RegisterCoalescer] fix subregister index in remat call
AbandonedPublic

Authored by ivafanas on May 19 2022, 10:17 PM.

Details

Summary

TII->reMaterialize accepts sub register index which denotes dst reg substituion. DstIdx should be passed instead of SrcIdx, because SrcIdx relates to another register.

Diff Detail

Event Timeline

ivafanas created this revision.May 19 2022, 10:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2022, 10:17 PM
ivafanas requested review of this revision.May 19 2022, 10:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 19 2022, 10:17 PM
ivafanas abandoned this revision.May 20 2022, 10:20 AM