summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-05-23 17:03:28 +0000
committerReid Kleckner <rnk@google.com>2017-05-23 17:03:28 +0000
commit545aa4f4dde8c8bc99719768c724241046f1ed80 (patch)
tree752da921ad424b9a873e9413b94cb7c39c396f22 /llvm/lib/IR
parentfe9fcb8af3917cb3de2197976ca9f754e9178d32 (diff)
downloadbcm5719-llvm-545aa4f4dde8c8bc99719768c724241046f1ed80.tar.gz
bcm5719-llvm-545aa4f4dde8c8bc99719768c724241046f1ed80.zip
Commit AttributeList change that was supposed to be part of r303654
llvm-svn: 303656
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/Instructions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/Instructions.cpp b/llvm/lib/IR/Instructions.cpp
index 00ac2037f1f..d7baa9ebc22 100644
--- a/llvm/lib/IR/Instructions.cpp
+++ b/llvm/lib/IR/Instructions.cpp
@@ -454,7 +454,7 @@ bool CallInst::dataOperandHasImpliedAttr(unsigned i,
// 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::dataOperandHasImpliedAttr(unsigned i,
// 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
OpenPOWER on IntegriCloud