[PATCH] D84047: [CodeGen][TargetPassConfig] Add TargetTransformInfo pass correctly

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 18 11:19:13 PDT 2020


MaskRay added inline comments.


================
Comment at: llvm/lib/CodeGen/TargetPassConfig.cpp:882
   addPass(createPreISelIntrinsicLoweringPass());
-  addPass(createTargetTransformInfoWrapperPass(TM->getTargetIRAnalysis()));
   addIRPasses();
----------------
Thanks! In the case of -start-after, this line was a no-op..

How did you notice the problem?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D84047/new/

https://reviews.llvm.org/D84047





More information about the llvm-commits mailing list