According to the TBAA description struct-path tag node can have an optional IsConstant field. Add corresponding argument to MDBuilder::createTBAAStructTagNode.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/IR/MDBuilder.cpp | ||
---|---|---|
174 | Please only add the extra parameter if it is true. Let's not increase the memory footprint of the metadata for the common case. |
Please only add the extra parameter if it is true. Let's not increase the memory footprint of the metadata for the common case.