relax type

llvm-svn: 32983
This commit is contained in:
Chris Lattner 2007-01-07 07:24:32 +00:00
parent cc4715e06e
commit f7eef61f20
1 changed files with 1 additions and 1 deletions

View File

@ -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);