[llvm] 6f3400e - Revert "[CodeGen] Temporarily disable-lsr in HWASAN build"
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 30 10:58:00 PST 2022
Author: Vitaly Buka
Date: 2022-12-30T10:57:49-08:00
New Revision: 6f3400e38041fc2fdfb50b2e831d9698bd5c77a1
URL: https://github.com/llvm/llvm-project/commit/6f3400e38041fc2fdfb50b2e831d9698bd5c77a1
DIFF: https://github.com/llvm/llvm-project/commit/6f3400e38041fc2fdfb50b2e831d9698bd5c77a1.diff
LOG: Revert "[CodeGen] Temporarily disable-lsr in HWASAN build"
We can do the same with cmake on the bot.
This reverts commit 8f70b848d339cabfaa8f1379d41dae11b9b75014.
Added:
Modified:
llvm/lib/CodeGen/TargetPassConfig.cpp
Removed:
################################################################################
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index 9bf3215c2128..115f266a7150 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -89,12 +89,8 @@ static cl::opt<bool> DisableMachineSink("disable-machine-sink", cl::Hidden,
static cl::opt<bool> DisablePostRAMachineSink("disable-postra-machine-sink",
cl::Hidden,
cl::desc("Disable PostRA Machine Sinking"));
-static cl::opt<bool>
- DisableLSR("disable-lsr", cl::Hidden,
- cl::desc("Disable Loop Strength Reduction Pass"),
- // FIXME: Investigate and re-enable. HWASAN exposes some
- // non-determinism in the pass.
- cl::init(LLVM_HWADDRESS_SANITIZER_BUILD));
+static cl::opt<bool> DisableLSR("disable-lsr", cl::Hidden,
+ cl::desc("Disable Loop Strength Reduction Pass"));
static cl::opt<bool> DisableConstantHoisting("disable-constant-hoisting",
cl::Hidden, cl::desc("Disable ConstantHoisting"));
static cl::opt<bool> DisableCGP("disable-cgp", cl::Hidden,
More information about the llvm-commits
mailing list