[PM] Change the core design of the TTI analysis to use a polymorphic
[oota-llvm.git] / lib / Target / NVPTX / NVPTXTargetMachine.cpp
index 9083b41ae6479d039ddd34c203b5f562060424d2..0b74372c852c7475470a801fc1704489a3246409 100644 (file)
@@ -137,10 +137,6 @@ TargetPassConfig *NVPTXTargetMachine::createPassConfig(PassManagerBase &PM) {
 }
 
 void NVPTXTargetMachine::addAnalysisPasses(PassManagerBase &PM) {
-  // Add first the target-independent BasicTTI pass, then our NVPTX pass. This
-  // allows the NVPTX pass to delegate to the target independent layer when
-  // appropriate.
-  PM.add(createBasicTargetTransformInfoPass(this));
   PM.add(createNVPTXTargetTransformInfoPass(this));
 }