Uniformize the names of type predicates: rather than having isFloatTy and
[oota-llvm.git] / lib / Target / X86 / X86FloatingPointRegKill.cpp
index 34a00453449393cd57641cbb8acb19519808a167..6a117dde9bdeb5388fe2e5a84770d991bd8c6877 100644 (file)
@@ -118,7 +118,7 @@ bool FPRegKiller::runOnMachineFunction(MachineFunction &MF) {
         for (BasicBlock::const_iterator II = SI->begin();
              (PN = dyn_cast<PHINode>(II)); ++II) {
           if (PN->getType()==Type::getX86_FP80Ty(LLVMBB->getContext()) ||
-              (!Subtarget.hasSSE1() && PN->getType()->isFloatingPoint()) ||
+              (!Subtarget.hasSSE1() && PN->getType()->isFloatingPointTy()) ||
               (!Subtarget.hasSSE2() &&
                 PN->getType()==Type::getDoubleTy(LLVMBB->getContext()))) {
             ContainsFPCode = true;