This is an archive of the discontinued LLVM Phabricator instance.

StackMap field into AsmPrinter
AcceptedPublic

Authored by kyulee1 on Sep 29 2015, 11:17 AM.

Details

Reviewers
reames
Summary

This is a simple refactoring for StackMap version 2 preparation which is currently under review.
StackMap is defined in individual arch AsmPrinter. Instead, I define it in AsmPrinter (base) and use it in other derived cases.

Diff Detail

Event Timeline

kyulee1 updated this revision to Diff 36011.Sep 29 2015, 11:17 AM
kyulee1 retitled this revision from to StackMap field into AsmPrinter.
kyulee1 updated this object.
kyulee1 added a reviewer: reames.
kyulee1 added a subscriber: llvm-commits.
kyulee1 updated this object.Sep 29 2015, 11:21 AM
mcrosier added inline comments.
include/llvm/CodeGen/AsmPrinter.h
111

This could use a better comment. When writing comments, write them as English prose, which means they should use proper capitalization, punctuation, etc.

http://llvm.org/docs/CodingStandards.html#commenting

kyulee1 updated this revision to Diff 36124.Sep 30 2015, 10:16 AM

Updated the comment.

kyulee1 added inline comments.Sep 30 2015, 10:18 AM
include/llvm/CodeGen/AsmPrinter.h
111

Updated the comment.

reames accepted this revision.Oct 15 2015, 3:49 PM
reames edited edge metadata.

I don't see any obvious problems. I don't really consider myself particularly knowledgeable in this area, but given it's a simple change and no one more knowledgeable has spoken up with concerns, LGTM.

This revision is now accepted and ready to land.Oct 15 2015, 3:49 PM

Looks like patch was not committed.