[llvm] Revert "TLS loads opimization (hoist)" (PR #114740)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 4 01:35:35 PST 2024
================
@@ -153,9 +153,16 @@ extern char &InferAddressSpacesID;
//===----------------------------------------------------------------------===//
//
-// TLSVariableHoist - This pass reduce duplicated TLS address call.
+// LowerExpectIntrinsics - Removes llvm.expect intrinsics and creates
+// "block_weights" metadata.
+FunctionPass *createLowerExpectIntrinsicPass();
+
+//===----------------------------------------------------------------------===//
+//
+// LowerConstantIntrinsicss - Expand any remaining llvm.objectsize and
+// llvm.is.constant intrinsic calls, even for the unknown cases.
//
-FunctionPass *createTLSVariableHoistPass();
+FunctionPass *createLowerConstantIntrinsicsPass();
----------------
nikic wrote:
Some unexpected changes here? I'd have expected this to only drop the declaration, but you are replacing it with other ones?
https://github.com/llvm/llvm-project/pull/114740
More information about the llvm-commits
mailing list