mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-09 13:33:17 +00:00
Fix a typo in bswap lowering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37544 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9618bcaf7d
commit
976e2da081
@ -144,7 +144,7 @@ static Value *LowerBSWAP(Value *V, Instruction *IP) {
|
|||||||
"bswap.and2", IP);
|
"bswap.and2", IP);
|
||||||
Tmp4 = BinaryOperator::createOr(Tmp4, Tmp3, "bswap.or1", IP);
|
Tmp4 = BinaryOperator::createOr(Tmp4, Tmp3, "bswap.or1", IP);
|
||||||
Tmp2 = BinaryOperator::createOr(Tmp2, Tmp1, "bswap.or2", IP);
|
Tmp2 = BinaryOperator::createOr(Tmp2, Tmp1, "bswap.or2", IP);
|
||||||
V = BinaryOperator::createOr(Tmp4, Tmp3, "bswap.i32", IP);
|
V = BinaryOperator::createOr(Tmp4, Tmp2, "bswap.i32", IP);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 64: {
|
case 64: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user