aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetPassConfig.cpp
diff options
context:
space:
mode:
authorNick Desaulniers <ndesaulniers@google.com>2023-02-16 17:48:14 -0800
committerNick Desaulniers <ndesaulniers@google.com>2023-02-16 17:58:34 -0800
commita3a84c9e2511c06f1c47af76e26581b674149b82 (patch)
treefba945e526032c275ea39dc40cec092b65d92eb6 /llvm/lib/CodeGen/TargetPassConfig.cpp
parent5cc1016a57b38595262026ba3c482f6108b12e5b (diff)
downloadllvm-a3a84c9e2511c06f1c47af76e26581b674149b82.zip
llvm-a3a84c9e2511c06f1c47af76e26581b674149b82.tar.gz
llvm-a3a84c9e2511c06f1c47af76e26581b674149b82.tar.bz2
[llvm] add CallBrPrepare pass to pipelines
Capstone of https://discourse.llvm.org/t/rfc-syncing-asm-goto-with-outputs-with-gcc/65453/8 Clang changes are still necessary to enable the use of outputs along indirect edges of asm goto statements. Link: https://github.com/llvm/llvm-project/issues/53562 Reviewed By: void Differential Revision: https://reviews.llvm.org/D140180
Diffstat (limited to 'llvm/lib/CodeGen/TargetPassConfig.cpp')
-rw-r--r--llvm/lib/CodeGen/TargetPassConfig.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/TargetPassConfig.cpp b/llvm/lib/CodeGen/TargetPassConfig.cpp
index 2e697dd..c48b520 100644
--- a/llvm/lib/CodeGen/TargetPassConfig.cpp
+++ b/llvm/lib/CodeGen/TargetPassConfig.cpp
@@ -978,7 +978,7 @@ void TargetPassConfig::addISelPrepare() {
if (requiresCodeGenSCCOrder())
addPass(new DummyCGSCCPass);
- // addPass(createCallBrPass()); // TODO(ndesaulniers): impl pass
+ addPass(createCallBrPass());
// Add both the safe stack and the stack protection passes: each of them will
// only protect functions that have corresponding attributes.