summaryrefslogtreecommitdiff
path: root/lib/CodeGen/IntrinsicLowering.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-05-14 17:21:17 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-05-14 17:21:17 +0000
commit9bd57b6561abd7701bff5d46bb88fed6b9a8dbb9 (patch)
tree53f7fae10af2d7d7d114290e12dbc28272ed14f9 /lib/CodeGen/IntrinsicLowering.cpp
parentc6749c42c35e09b1b810f4c645551f0d69a22717 (diff)
downloadllvm-9bd57b6561abd7701bff5d46bb88fed6b9a8dbb9.tar.gz
llvm-9bd57b6561abd7701bff5d46bb88fed6b9a8dbb9.tar.bz2
llvm-9bd57b6561abd7701bff5d46bb88fed6b9a8dbb9.tar.xz
Give names to the final result values of the part_set computations. This
just aids in readability and debugability of the output. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r--lib/CodeGen/IntrinsicLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/CodeGen/IntrinsicLowering.cpp b/lib/CodeGen/IntrinsicLowering.cpp
index 12d392c09f..c590c1ed4d 100644
--- a/lib/CodeGen/IntrinsicLowering.cpp
+++ b/lib/CodeGen/IntrinsicLowering.cpp
@@ -568,7 +568,7 @@ static Instruction *LowerPartSet(CallInst *CI) {
Value* nott2 = BinaryOperator::createXor(t2, ValMask, "", forward);
Value* t3 = BinaryOperator::createShl(Rep4, Lo, "", forward);
Value* t4 = BinaryOperator::createAnd(nott2, Val, "", forward);
- Value* FRslt = BinaryOperator::createOr(t3, t4, "", forward);
+ Value* FRslt = BinaryOperator::createOr(t3, t4, "part_set_fwd", forward);
new ReturnInst(FRslt, forward);
// Block "reverse"
@@ -587,7 +587,7 @@ static Instruction *LowerPartSet(CallInst *CI) {
Value* t11 = BinaryOperator::createSub(RepBitWidth, Hi, "", reverse);
Value* t13 = BinaryOperator::createLShr(Rep4, t11, "",reverse);
Value* t14 = BinaryOperator::createOr(t10, t9, "", reverse);
- Value* RRslt = BinaryOperator::createOr(t14, t13, "", reverse);
+ Value* RRslt = BinaryOperator::createOr(t14, t13, "part_set_rvrs", reverse);
new ReturnInst(RRslt, reverse);
}