aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2021-04-10 23:28:16 -0700
committerArthur Eubanks <aeubanks@google.com>2021-04-10 23:28:16 -0700
commitc88b87f9ce6490145e28a9c82640547f3e99bf57 (patch)
tree95a80ac512dd1b395e45dd39cb993281fe6c017a /llvm/lib/CodeGen/TargetPassConfig.cpp
parent6210261ecb21c84c9a440a76c0ccbc8ad211bed3 (diff)
downloadllvm-c88b87f9ce6490145e28a9c82640547f3e99bf57.zip
llvm-c88b87f9ce6490145e28a9c82640547f3e99bf57.tar.gz
llvm-c88b87f9ce6490145e28a9c82640547f3e99bf57.tar.bz2
Revert "Remove "Rewrite Symbols" from codegen pipeline"
This reverts commit 6210261ecb21c84c9a440a76c0ccbc8ad211bed3. addr-label.ll crashes on armv7.
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetPassConfig.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index 51454aa..6e80235 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -924,6 +924,7 @@ void TargetPassConfig::addPassesToHandleExceptions() {
void TargetPassConfig::addCodeGenPrepare() {
if (getOptLevel() != CodeGenOpt::None && !DisableCGP)
addPass(createCodeGenPreparePass());
+ addPass(createRewriteSymbolsPass());
}
/// Add common passes that perform LLVM IR to IR transforms in preparation for