forked from OSchip/llvm-project
If the attributes don't exist, just bail for now.
llvm-svn: 172854
This commit is contained in:
parent
658d24d211
commit
7df048e6b6
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue