[PATCH] D123334: [BOLT] Update skipRelocation for aarch64
    Vladislav Khmelevsky via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Apr 11 12:57:22 PDT 2022
    
    
  
yota9 added inline comments.
================
Comment at: bolt/lib/Core/Relocation.cpp:227
 
+  // The ld might relax ADRP+ADD or ADRP+LDR sequences to the ADR+NOP
+  switch (Type) {
----------------
rafauler wrote:
> By ld, do you mean GNU ld? How is the test testing for that? (since it uses lld)
No, I meant generic linker, not bfd. The lld has this optimization too (https://reviews.llvm.org/D117614)
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123334/new/
https://reviews.llvm.org/D123334
    
    
More information about the llvm-commits
mailing list