projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63a7513
)
Do not use deprecated APIs
author
Alkis Evlogimenos
<alkis@evlogimenos.com>
Sat, 30 Apr 2005 07:13:31 +0000
(07:13 +0000)
committer
Alkis Evlogimenos
<alkis@evlogimenos.com>
Sat, 30 Apr 2005 07:13:31 +0000
(07:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21639
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/IntrinsicLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/IntrinsicLowering.cpp
b/lib/CodeGen/IntrinsicLowering.cpp
index 712ec0482c477d8548de178e8c34b23e032db65c..36f413a14f793723a0ea315c86014dd1852a695c 100644
(file)
--- a/
lib/CodeGen/IntrinsicLowering.cpp
+++ b/
lib/CodeGen/IntrinsicLowering.cpp
@@
-111,7
+111,7
@@
void DefaultIntrinsicLowering::AddPrototypes(Module &M) {
EnsureFunctionExists(M, "isunordered", I->arg_begin(), I->arg_end(), Type::BoolTy);
break;
case Intrinsic::sqrt:
- if(I->abegin()->getType() == Type::FloatTy)
+ if(I->a
rg_
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);