[llvm] e4057aa - [X86] Add missing pass initialization calls. (#82447)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 20 21:11:04 PST 2024
Author: Craig Topper
Date: 2024-02-20T21:11:01-08:00
New Revision: e4057aacc52bf8b352898504be8e7f8190841aac
URL: https://github.com/llvm/llvm-project/commit/e4057aacc52bf8b352898504be8e7f8190841aac
DIFF: https://github.com/llvm/llvm-project/commit/e4057aacc52bf8b352898504be8e7f8190841aac.diff
LOG: [X86] Add missing pass initialization calls. (#82447)
If the passes aren't registered, they don't show up in print-after-all.
Added:
Modified:
llvm/lib/Target/X86/X86TargetMachine.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp
index 9e4cf1ea99682a..279a1efdff9786 100644
--- a/llvm/lib/Target/X86/X86TargetMachine.cpp
+++ b/llvm/lib/Target/X86/X86TargetMachine.cpp
@@ -102,6 +102,8 @@ extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeX86Target() {
initializeX86ReturnThunksPass(PR);
initializeX86DAGToDAGISelPass(PR);
initializeX86ArgumentStackSlotPassPass(PR);
+ initializeX86FixupInstTuningPassPass(PR);
+ initializeX86FixupVectorConstantsPassPass(PR);
}
static std::unique_ptr<TargetLoweringObjectFile> createTLOF(const Triple &TT) {
More information about the llvm-commits
mailing list