From 589517925b45abd282d11c1346fb5302531eb1c8 Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Wed, 4 May 2022 18:51:25 -0700 Subject: [PATCH] [X86] Call initializeX86PreTileConfigPass from LLVMInitializeX86Target. Without this, the pass doesn't show up in print-before/after-all. Differential Revision: https://reviews.llvm.org/D124973 --- llvm/lib/Target/X86/X86TargetMachine.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp index aa44e627bb1f..04778d31169d 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.cpp +++ b/llvm/lib/Target/X86/X86TargetMachine.cpp @@ -67,6 +67,7 @@ extern "C" LLVM_EXTERNAL_VISIBILITY void LLVMInitializeX86Target() { initializeX86LowerAMXIntrinsicsLegacyPassPass(PR); initializeX86LowerAMXTypeLegacyPassPass(PR); initializeX86PreAMXConfigPassPass(PR); + initializeX86PreTileConfigPass(PR); initializeGlobalISel(PR); initializeWinEHStatePassPass(PR); initializeFixupBWInstPassPass(PR);