[PATCH] D78062: Adding Comment Annotations to Outlined Functions

Andrew Litteken via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 14 13:31:13 PDT 2020


AndrewLitteken updated this revision to Diff 257472.
AndrewLitteken marked 3 inline comments as done.
AndrewLitteken added a comment.
Herald added a subscriber: mgorny.

A lot of changes:

1. Split emitting the comment into its own function and only defined in AArch64ASMPrinter.cpp
2. New MIR test for function annotation
3. Support for the MIR test, so that AArchMachineFunctionInfo hasRedZone attribute is output to the MIR file and is read back in through the YAML parsing


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78062/new/

https://reviews.llvm.org/D78062

Files:
  llvm/include/llvm/CodeGen/AsmPrinter.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
  llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
  llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.cpp
  llvm/lib/Target/AArch64/AArch64MachineFunctionInfo.h
  llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
  llvm/lib/Target/AArch64/AArch64TargetMachine.h
  llvm/lib/Target/AArch64/CMakeLists.txt
  llvm/test/CodeGen/AArch64/machine-outliner-function-annotate.mir
  llvm/test/CodeGen/AArch64/machine-outliner-tail.ll
  llvm/test/CodeGen/AArch64/machine-outliner-thunk.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78062.257472.patch
Type: text/x-patch
Size: 15662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200414/83d35ce8/attachment.bin>


More information about the llvm-commits mailing list