[PATCH] D120585: make TargetMachine visible from TargetTransformInfo
    Jameson Nash via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Feb 25 12:01:02 PST 2022
    
    
  
vtjnash created this revision.
Herald added subscribers: ChuanqiXu, atanasyan, jrtc27, haicheng, hiraditya, sdardis.
vtjnash requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This replaces D118541 <https://reviews.llvm.org/D118541>, based on feedback there.
Out-of-tree passes sometimes need information that is not exposed by the
existing Concepts while designing new features. The frontend passes
before here and the machine passes after here already get access
directly to this, and we already expect it to be available internally
here, so it is fairly trivial to store and expose.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D120585
Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/lib/Analysis/InlineCost.cpp
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Target/Mips/MipsTargetMachine.cpp
  llvm/lib/Target/TargetMachine.cpp
  llvm/tools/bugpoint/CrashDebugger.cpp
  llvm/unittests/Transforms/Utils/LocalTest.cpp
  llvm/unittests/Transforms/Utils/LoopRotationUtilsTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120585.411488.patch
Type: text/x-patch
Size: 9492 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220225/fc9ef307/attachment.bin>
    
    
More information about the llvm-commits
mailing list