This is an archive of the discontinued LLVM Phabricator instance.

[LoongArch] Transfer MI flags when expand PseudoCALL
ClosedPublic

Authored by wangleiat on Nov 12 2022, 1:37 AM.

Details

Summary

When expanding a PseudoCALL, the corresponding flags (e.g. nomerge)
need to be passed to the new instruction.

This patch also adds test for the nomerge attribute.

The nomerge attribute was added during LowerCall, but was lost
during expand PseudoCALL. Now add it back.

Diff Detail

Event Timeline

wangleiat created this revision.Nov 12 2022, 1:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2022, 1:37 AM
wangleiat requested review of this revision.Nov 12 2022, 1:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 12 2022, 1:37 AM
SixWeining accepted this revision.Nov 14 2022, 8:02 PM
This revision is now accepted and ready to land.Nov 14 2022, 8:02 PM
This revision was landed with ongoing or failed builds.Nov 16 2022, 5:25 PM
This revision was automatically updated to reflect the committed changes.