[mips] Fix filename in comment and delete unnecessary lines of code.
authorAkira Hatanaka <ahatanaka@mips.com>
Thu, 14 Mar 2013 19:09:52 +0000 (19:09 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Thu, 14 Mar 2013 19:09:52 +0000 (19:09 +0000)
No functionality changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177104 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/Mips/MipsSEISelLowering.cpp

index 7e4458e16d33018dd6e5b47e8841364cc6362a57..287e2ede0ec0ee93722015042c14d55e5c7477d8 100644 (file)
@@ -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;