[all-commits] [llvm/llvm-project] d2aff1: Revert "TLS loads opimization (hoist)" (#114740)

abhishek-kaushik22 via All-commits all-commits at lists.llvm.org
Thu Nov 7 01:10:54 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2aff182d379c9b84cebe0fdf58907f4de768f1e
      https://github.com/llvm/llvm-project/commit/d2aff182d379c9b84cebe0fdf58907f4de768f1e
  Author: abhishek-kaushik22 <abhishek.kaushik at intel.com>
  Date:   2024-11-07 (Thu, 07 Nov 2024)

  Changed paths:
    M llvm/docs/LangRef.rst
    M llvm/include/llvm/InitializePasses.h
    M llvm/include/llvm/LinkAllPasses.h
    M llvm/include/llvm/Transforms/Scalar.h
    R llvm/include/llvm/Transforms/Scalar/TLSVariableHoist.h
    M llvm/lib/CodeGen/TargetPassConfig.cpp
    M llvm/lib/Passes/PassBuilder.cpp
    M llvm/lib/Passes/PassRegistry.def
    M llvm/lib/Transforms/Scalar/CMakeLists.txt
    M llvm/lib/Transforms/Scalar/Scalar.cpp
    R llvm/lib/Transforms/Scalar/TLSVariableHoist.cpp
    M llvm/test/CodeGen/AArch64/O3-pipeline.ll
    M llvm/test/CodeGen/AMDGPU/llc-pipeline.ll
    M llvm/test/CodeGen/ARM/O3-pipeline.ll
    M llvm/test/CodeGen/LoongArch/opt-pipeline.ll
    M llvm/test/CodeGen/M68k/pipeline.ll
    M llvm/test/CodeGen/PowerPC/O3-pipeline.ll
    M llvm/test/CodeGen/RISCV/O3-pipeline.ll
    M llvm/test/CodeGen/X86/opt-pipeline.ll
    R llvm/test/CodeGen/X86/tls-loads-control.ll
    R llvm/test/CodeGen/X86/tls-loads-control2.ll
    R llvm/test/CodeGen/X86/tls-loads-control3.ll
    M llvm/tools/llc/llc.cpp

  Log Message:
  -----------
  Revert "TLS loads opimization (hoist)" (#114740)

This reverts commit c31014322c0b5ae596da129cbb844fb2198b4ef4.

Based on the discussions in #112772, this pass is not needed after the
introduction of `llvm.threadlocal.address` intrinsic.

Fixes https://github.com/llvm/llvm-project/issues/112771.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list