[PATCH] D124973: [X86] Call initializeX86PreTileConfigPass from LLVMInitializeX86Target.
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 4 19:02:52 PDT 2022
craig.topper added inline comments.
================
Comment at: llvm/lib/Target/X86/X86TargetMachine.cpp:70
initializeX86PreAMXConfigPassPass(PR);
+ initializeX86PreTileConfigPass(PR);
initializeGlobalISel(PR);
----------------
LuoYuanke wrote:
> Just be curious, why there is no error before without initialization?
I think all it really does is tell the pass registry about the pass. Somehow that's required for the printing code.
The analysis usage is put in the initialize function with INITIALIZE_PASS_DEPENDENCY which makes sure the initialize function for the dependency is called. The pass manager uses getAnalysis usage to determine what analysis passes need to run. That happens independent of the initialize function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124973/new/
https://reviews.llvm.org/D124973
More information about the llvm-commits
mailing list