[llvm] r303656 - Commit AttributeList change that was supposed to be part of r303654

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Tue May 23 10:03:28 PDT 2017


Author: rnk
Date: Tue May 23 12:03:28 2017
New Revision: 303656

URL: http://llvm.org/viewvc/llvm-project?rev=303656&view=rev
Log:
Commit AttributeList change that was supposed to be part of r303654

Modified:
    llvm/trunk/lib/IR/Instructions.cpp

Modified: llvm/trunk/lib/IR/Instructions.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Instructions.cpp?rev=303656&r1=303655&r2=303656&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Instructions.cpp (original)
+++ llvm/trunk/lib/IR/Instructions.cpp Tue May 23 12:03:28 2017
@@ -454,7 +454,7 @@ bool CallInst::dataOperandHasImpliedAttr
   // question is a call argument; or be indirectly implied by the kind of its
   // containing operand bundle, if the operand is a bundle operand.
 
-  if (i == Attribute::ReturnIndex)
+  if (i == AttributeList::ReturnIndex)
     return hasRetAttr(Kind);
 
   // FIXME: Avoid these i - 1 calculations and update the API to use zero-based
@@ -782,7 +782,7 @@ bool InvokeInst::dataOperandHasImpliedAt
   // question is an invoke argument; or be indirectly implied by the kind of its
   // containing operand bundle, if the operand is a bundle operand.
 
-  if (i == Attribute::ReturnIndex)
+  if (i == AttributeList::ReturnIndex)
     return hasRetAttr(Kind);
 
   // FIXME: Avoid these i - 1 calculations and update the API to use zero-based




More information about the llvm-commits mailing list