summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Attributes.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-04-18 21:45:04 +0000
committerBill Wendling <isanbard@gmail.com>2013-04-18 21:45:04 +0000
commit6a97e89df6304a527dca48a9708b23757953a569 (patch)
tree699c1fde2156cdab476048962280dcc2e44530a0 /llvm/lib/IR/Attributes.cpp
parentc557828805080679ed4a41044272229b8c05f119 (diff)
downloadbcm5719-llvm-6a97e89df6304a527dca48a9708b23757953a569.tar.gz
bcm5719-llvm-6a97e89df6304a527dca48a9708b23757953a569.zip
Make the TargetIndependent flag have the right boolean value.
llvm-svn: 179798
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
-rw-r--r--llvm/lib/IR/Attributes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp
index d2b438f37ca..98dcecfba6b 100644
--- a/llvm/lib/IR/Attributes.cpp
+++ b/llvm/lib/IR/Attributes.cpp
@@ -485,7 +485,7 @@ std::string AttributeSetNode::getAsString(bool TargetIndependent,
std::string Str = "";
for (SmallVectorImpl<Attribute>::const_iterator I = AttrList.begin(),
E = AttrList.end(); I != E; ) {
- if (!TargetIndependent || !I->isStringAttribute()) {
+ if (TargetIndependent || !I->isStringAttribute()) {
Str += I->getAsString(InAttrGrp);
if (++I != E) Str += " ";
} else {
OpenPOWER on IntegriCloud