commit | aec710675febb13d3cf4a7141d2658a3b1797cfd | [log] [tgz] |
---|---|---|
author | Bill Wendling <isanbard@gmail.com> | Fri Jan 18 21:56:07 2013 +0000 |
committer | Bill Wendling <isanbard@gmail.com> | Fri Jan 18 21:56:07 2013 +0000 |
tree | 19d5b95cc13cbeb53033eb75f6feaa2004df9dd0 | |
parent | 1b0c54f1c5dd61e56cb7cbc435fcb3319cff628f [diff] [blame] |
If the attributes don't exist, just bail for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172854 91177308-0d34-0410-b5e6-96231b3b80d8
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 @@ break; } - assert(AWI && "Cannot find index in attribute set!"); + if (!AWI) return; uint64_t Mask = AWI->Attrs.Raw();