projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[IR] Have AttrBuilder::clear clear `TargetDepAttrs`.
[oota-llvm.git]
/
lib
/
IR
/
Attributes.cpp
diff --git
a/lib/IR/Attributes.cpp
b/lib/IR/Attributes.cpp
index d909f7b880c08239c72795c3b219465ba4a10e1b..2586cb54c3ee892b91407e41a521e5269f068e3d 100644
(file)
--- a/
lib/IR/Attributes.cpp
+++ b/
lib/IR/Attributes.cpp
@@
-1108,6
+1108,7
@@
AttrBuilder::AttrBuilder(AttributeSet AS, unsigned Index)
void AttrBuilder::clear() {
Attrs.reset();
+ TargetDepAttrs.clear();
Alignment = StackAlignment = DerefBytes = DerefOrNullBytes = 0;
}