OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
febe5f1
)
relax type
author
Chris Lattner
<sabre@nondot.org>
Sun, 7 Jan 2007 07:24:32 +0000
(07:24 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 7 Jan 2007 07:24:32 +0000
(07:24 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32983
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/X86/X86TargetAsmInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/X86/X86TargetAsmInfo.cpp
b/lib/Target/X86/X86TargetAsmInfo.cpp
index
bfd5858
..
8c212b6
100644
(file)
--- a/
lib/Target/X86/X86TargetAsmInfo.cpp
+++ b/
lib/Target/X86/X86TargetAsmInfo.cpp
@@
-185,7
+185,7
@@
bool X86TargetAsmInfo::LowerToBSwap(CallInst *CI) const {
// Okay, we can do this xform, do so now.
Module *M = CI->getParent()->getParent()->getParent();
-
Function
*Int = M->getOrInsertFunction(IntName, Ty, Ty, (Type*)0);
+
Constant
*Int = M->getOrInsertFunction(IntName, Ty, Ty, (Type*)0);
Value *Op = CI->getOperand(1);
Op = new CallInst(Int, Op, CI->getName(), CI);