[llvm-commits] CVS: llvm/lib/CodeGen/IntrinsicLowering.cpp

Alkis Evlogimenos alkis at cs.uiuc.edu
Sat Apr 30 00:13:42 PDT 2005



Changes in directory llvm/lib/CodeGen:

IntrinsicLowering.cpp updated: 1.27 -> 1.28
---
Log message:

Do not use deprecated APIs

---
Diffs of the changes:  (+1 -1)

 IntrinsicLowering.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/lib/CodeGen/IntrinsicLowering.cpp
diff -u llvm/lib/CodeGen/IntrinsicLowering.cpp:1.27 llvm/lib/CodeGen/IntrinsicLowering.cpp:1.28
--- llvm/lib/CodeGen/IntrinsicLowering.cpp:1.27	Fri Apr 29 23:07:50 2005
+++ llvm/lib/CodeGen/IntrinsicLowering.cpp	Sat Apr 30 02:13:31 2005
@@ -111,7 +111,7 @@
         EnsureFunctionExists(M, "isunordered", I->arg_begin(), I->arg_end(), Type::BoolTy);
         break;
       case Intrinsic::sqrt:
-        if(I->abegin()->getType() == Type::FloatTy)
+        if(I->arg_begin()->getType() == Type::FloatTy)
           EnsureFunctionExists(M, "sqrtf", I->arg_begin(), I->arg_end(), Type::FloatTy);
         else
           EnsureFunctionExists(M, "sqrt", I->arg_begin(), I->arg_end(), Type::DoubleTy);






More information about the llvm-commits mailing list