mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
relax type
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32983 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -185,7 +185,7 @@ bool X86TargetAsmInfo::LowerToBSwap(CallInst *CI) const {
|
|||||||
|
|
||||||
// Okay, we can do this xform, do so now.
|
// Okay, we can do this xform, do so now.
|
||||||
Module *M = CI->getParent()->getParent()->getParent();
|
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);
|
Value *Op = CI->getOperand(1);
|
||||||
Op = new CallInst(Int, Op, CI->getName(), CI);
|
Op = new CallInst(Int, Op, CI->getName(), CI);
|
||||||
|
Reference in New Issue
Block a user