[PATCH] D128082: [BOLT][AArch64][RFC] Handle gold linker veneers

Vladislav Khmelevsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 18 11:02:40 PDT 2022


yota9 updated this revision to Diff 438137.
yota9 added a comment.

Uncomment __builtin_unreachable() branch handling.
@maksfb as a tmp solution I purpose to add extra check in unreachable handling. I hope we will able to move elliminate this code here oneday, 
but for now it should work fine. Also as I see there is some other code that I think we need to be refactore also, e.g. removeConditionalTailCalls 
in postProcessCFG. Ideally we want to move all code transformations to the passes, since at least golang support needs it. Thank you!


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128082

Files:
  bolt/include/bolt/Core/BinaryContext.h
  bolt/include/bolt/Core/BinaryFunction.h
  bolt/include/bolt/Core/MCPlusBuilder.h
  bolt/lib/Core/BinaryContext.cpp
  bolt/lib/Core/BinaryFunction.cpp
  bolt/lib/Rewrite/RewriteInstance.cpp
  bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp
  bolt/test/AArch64/veneer-gold.s
  bolt/test/AArch64/veneer.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128082.438137.patch
Type: text/x-patch
Size: 19820 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220618/828739a7/attachment.bin>


More information about the llvm-commits mailing list