summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit4c2f00397154b4d21e39c2b2ca47587d4d89f3e7 (patch)
tree122852fb5aa24fb5b7fcca2844fae74a9d312ec4 /llvm
parent4dd31a7b1b653f6cba4ccca9d32af16bffce05ca (diff)
downloadbcm5719-llvm-4c2f00397154b4d21e39c2b2ca47587d4d89f3e7.tar.gz
bcm5719-llvm-4c2f00397154b4d21e39c2b2ca47587d4d89f3e7.zip
Fix a typo in bswap lowering.
llvm-svn: 37544
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/CodeGen/IntrinsicLowering.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/IntrinsicLowering.cpp b/llvm/lib/CodeGen/IntrinsicLowering.cpp
index e6ba069ac71..ad6feb49180 100644
--- a/llvm/lib/CodeGen/IntrinsicLowering.cpp
+++ b/llvm/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: {
OpenPOWER on IntegriCloud