[PATCH] D120000: [1/2] TLS loads opimization (hoist)
    Xiang Zhang via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Sun Feb 27 18:52:35 PST 2022
    
    
  
xiangzhangllvm added a comment.
Clear now. The createCleanupLocalDynamicTLSPass is integrated in ISel , it is mostly a local/peephole optimization for variables with same TLS base address.
It can't analysis the TLS variables in different BBs or Loops. PLS refer name <https://godbolt.org/z/f7WrqK5he> 
But it is a good supplement for current patch. because it can optimize different TLS variables in local. (Current patch is focus on same TLS variable which used in different BBs or Loops)
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D120000/new/
https://reviews.llvm.org/D120000
    
    
More information about the llvm-commits
mailing list