[PATCH] D137535: [CodeGen][BasicBlockSections] Fix wrong alignment directive placement in basic block section cases

Sinan Lin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 9 18:43:10 PST 2022


sinan updated this revision to Diff 474411.
sinan added a comment.

update the test case. This test case is generated after basic-block-sections pass and the name mapping between the basic block(bb.2.entry (align 256, bbsections 2)) and the label name(test.__part.2) from the assembly can be clearer in this way.


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

https://reviews.llvm.org/D137535

Files:
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/test/CodeGen/X86/align-basic-block-sections.mir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D137535.474411.patch
Type: text/x-patch
Size: 4850 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221110/6dfa4024/attachment.bin>


More information about the llvm-commits mailing list