[MachineCombiner] Don't use the opcode-only form of computeInstrLatency
[oota-llvm.git] / lib / CodeGen / TargetOptionsImpl.cpp
index f4926cbc6241053afb47e8edf660e69bd7ddb9ef..8d2048fa047f0941a6896dfc24a2c1ec0c7cd335 100644 (file)
@@ -47,10 +47,3 @@ bool TargetOptions::LessPreciseFPMAD() const {
 bool TargetOptions::HonorSignDependentRoundingFPMath() const {
   return !UnsafeFPMath && HonorSignDependentRoundingFPMathOption;
 }
-
-/// getTrapFunctionName - If this returns a non-empty string, this means isel
-/// should lower Intrinsic::trap to a call to the specified function name
-/// instead of an ISD::TRAP node.
-StringRef TargetOptions::getTrapFunctionName() const {
-  return TrapFuncName;
-}