diff options
-rw-r--r-- | lib/IR/Attributes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/Attributes.cpp b/lib/IR/Attributes.cpp index bb98358..5de1827 100644 --- 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(); |