Give names to the final result values of the part_set computations. This
authorReid Spencer <rspencer@reidspencer.com>
Mon, 14 May 2007 17:21:17 +0000 (17:21 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 14 May 2007 17:21:17 +0000 (17:21 +0000)
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

lib/CodeGen/IntrinsicLowering.cpp

index 12d392c09f0f6f17fbacda2693f5f3e115641778..c590c1ed4d7706394624c91f4e15a334bef13a82 100644 (file)
@@ -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);
   }