[PATCH] D38355: [X86][NFC] Add X86CmovConverterPass to the pass registry

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 1 16:45:25 PDT 2017


craig.topper added inline comments.


================
Comment at: lib/Target/X86/X86CmovConversion.cpp:84
+  X86CmovConverterPass() : MachineFunctionPass(ID) {
+    initializeX86CmovConverterPassPass(*PassRegistry::getPassRegistry());
+  }
----------------
craig.topper wrote:
> Maybe do this in LLVMInitializeX86Target in X86TargetMachine.cpp? That's where we're doing the other passes that are registered.
Or maybe we need to do it in both places?


https://reviews.llvm.org/D38355





More information about the llvm-commits mailing list