summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit764ae2a21b17084e3435d18d8844cf1d46f72b34 (patch)
treef5c3475a7ce6e182650110ca95f42aec3a51c922 /llvm/lib/CodeGen/IntrinsicLowering.cpp
parent146281ce1ac06486107efccb18a2524579e1c1e6 (diff)
downloadbcm5719-llvm-764ae2a21b17084e3435d18d8844cf1d46f72b34.tar.gz
bcm5719-llvm-764ae2a21b17084e3435d18d8844cf1d46f72b34.zip
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. llvm-svn: 37037
Diffstat (limited to 'llvm/lib/CodeGen/IntrinsicLowering.cpp')
-rw-r--r--llvm/lib/CodeGen/IntrinsicLowering.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/IntrinsicLowering.cpp b/llvm/lib/CodeGen/IntrinsicLowering.cpp
index 12d392c09f0..c590c1ed4d7 100644
--- a/llvm/lib/CodeGen/IntrinsicLowering.cpp
+++ b/llvm/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);
}
OpenPOWER on IntegriCloud