diff --git a/llvm/lib/Target/Mips/MipsSEISelLowering.cpp b/llvm/lib/Target/Mips/MipsSEISelLowering.cpp index 7e4458e16d33..287e2ede0ec0 100644 --- a/llvm/lib/Target/Mips/MipsSEISelLowering.cpp +++ b/llvm/lib/Target/Mips/MipsSEISelLowering.cpp @@ -1,4 +1,4 @@ -//===-- MipsSEISelLowering.h - MipsSE DAG Lowering Interface ----*- C++ -*-===// +//===-- MipsSEISelLowering.cpp - MipsSE DAG Lowering Interface --*- C++ -*-===// // // The LLVM Compiler Infrastructure // @@ -107,10 +107,6 @@ isEligibleForTailCallOptimization(const MipsCC &MipsCCInfo, if (!EnableMipsTailCalls) return false; - // No tail call optimization for mips16. - if (Subtarget->inMips16Mode()) - return false; - // Return false if either the callee or caller has a byval argument. if (MipsCCInfo.hasByValArg() || FI.hasByvalArg()) return false;