This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Correct the handling of inlineasm output registers.
ClosedPublic

Authored by hliao on May 28 2019, 11:02 AM.

Details

Summary
  • There's a regression due to the cross-block RC assignment. Use the proper way to derive the output register RC in inline asm.

Diff Detail

Repository
rL LLVM

Event Timeline

hliao created this revision.May 28 2019, 11:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 28 2019, 11:02 AM
arsenm added inline comments.May 28 2019, 11:08 AM
llvm/test/CodeGen/AMDGPU/inline-asm.ll
289 ↗(On Diff #201718)

Can you not use "r" here?

hliao marked an inline comment as done.May 28 2019, 11:27 AM
arsenm accepted this revision.May 28 2019, 11:57 AM

LGTM

This revision is now accepted and ready to land.May 28 2019, 11:57 AM
This revision was automatically updated to reflect the committed changes.