aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/IntrinsicLowering.cpp
diff options
context:
space:
mode:
authorLauro Ramos Venancio <lauro.venancio@gmail.com>2007-06-11 23:16:16 +0000
committerLauro Ramos Venancio <lauro.venancio@gmail.com>2007-06-11 23:16:16 +0000
commit976e2da081519d3438da6bf8e5ae7b25cc3433e4 (patch)
treec2d7ba38b27e3d4321bddbeb2572e4eb81037c04 /lib/CodeGen/IntrinsicLowering.cpp
parent9618bcaf7d3e6fd4a26fab47efb0bd2409b69e0f (diff)
Fix a typo in bswap lowering.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37544 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r--lib/CodeGen/IntrinsicLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp
index e6ba069ac7..ad6feb4918 100644
--- a/lib/CodeGen/IntrinsicLowering.cpp
+++ b/lib/CodeGen/IntrinsicLowering.cpp
@@ -144,7 +144,7 @@ static Value *LowerBSWAP(Value *V, Instruction *IP) {
"bswap.and2", IP);
Tmp4 = BinaryOperator::createOr(Tmp4, Tmp3, "bswap.or1", 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;
}
case 64: {