projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b0c54f
)
If the attributes don't exist, just bail for now.
author
Bill Wendling
<isanbard@gmail.com>
Fri, 18 Jan 2013 21:56:07 +0000
(21:56 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Fri, 18 Jan 2013 21:56:07 +0000
(21:56 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172854
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/IR/Attributes.cpp
patch
|
blob
|
history
diff --git
a/lib/IR/Attributes.cpp
b/lib/IR/Attributes.cpp
index bb98358a0abbaa0abe8bf0f515160692f9cc3828..5de18272ffbb57a094982d587738cd8ffaaecd45 100644
(file)
--- a/
lib/IR/Attributes.cpp
+++ b/
lib/IR/Attributes.cpp
@@
-253,7
+253,7
@@
AttrBuilder::AttrBuilder(AttributeSet AS, unsigned Idx)
break;
}
-
assert(AWI && "Cannot find index in attribute set!")
;
+
if (!AWI) return
;
uint64_t Mask = AWI->Attrs.Raw();