This is an archive of the discontinued LLVM Phabricator instance.

[PEI] Don't zero out noreg operands
ClosedPublic

Authored by aeubanks on Jul 27 2023, 1:51 PM.

Details

Summary

A tail call may have $noreg operands.

Fixes a crash.

Diff Detail

Event Timeline

aeubanks created this revision.Jul 27 2023, 1:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2023, 1:51 PM
aeubanks requested review of this revision.Jul 27 2023, 1:51 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 27 2023, 1:51 PM
arsenm added a subscriber: arsenm.Jul 27 2023, 2:01 PM
arsenm added inline comments.
llvm/lib/CodeGen/PrologEpilogInserter.cpp
1330

might as well remove the & if you're touching this

aeubanks marked an inline comment as done.Jul 27 2023, 2:08 PM
xgupta accepted this revision.Jul 27 2023, 8:07 PM

LGTM, Thanks!

This revision is now accepted and ready to land.Jul 27 2023, 8:07 PM
This revision was landed with ongoing or failed builds.Jul 28 2023, 10:23 AM
This revision was automatically updated to reflect the committed changes.