[llvm] [X86] Add missing pass initialization calls. (PR #82447)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 20 16:49:36 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-backend-x86
Author: Craig Topper (topperc)
<details>
<summary>Changes</summary>
If the passes aren't registers, they don't show up in print-after-all.
I don't know if any others are missing. These are just the first two I noticed.
---
Full diff: https://github.com/llvm/llvm-project/pull/82447.diff
1 Files Affected:
- (modified) llvm/lib/Target/X86/X86TargetMachine.cpp (+2)
``````````diff
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) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/82447
More information about the llvm-commits
mailing list