This is an archive of the discontinued LLVM Phabricator instance.

[TargetLowering] support BlockAddress as "i" inline asm constraint
ClosedPublic

Authored by nickdesaulniers on Jul 3 2019, 4:12 PM.

Details

Summary

This allows passing address of labels to inline assembly "i" input
constraints.

Fixes pr/42502.

Diff Detail

Repository
rL LLVM

Event Timeline

nickdesaulniers created this revision.Jul 3 2019, 4:12 PM
  • git-clang-format HEAD~
ostannard accepted this revision.Jul 4 2019, 2:22 AM
ostannard added a subscriber: ostannard.

LGTM with one nit.

llvm/test/CodeGen/AArch64/inline-asm-i-constraint-i1.ll
1 ↗(On Diff #207914)

The name of this file is now inaccurate, could you rename it or split the new test into a new file?

This revision is now accepted and ready to land.Jul 4 2019, 2:22 AM
  • move unit test to new file
nickdesaulniers marked an inline comment as done.
  • remove missed change

How's that look now, @ostannard ? (Thanks for code review)

ostannard accepted this revision.Jul 10 2019, 6:06 AM
This revision was automatically updated to reflect the committed changes.