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
- Repository
- rL LLVM
Event Timeline
| lib/IR/MDBuilder.cpp | ||
|---|---|---|
| 175 ↗ | (On Diff #26896) | Please only add the extra parameter if it is true. Let's not increase the memory footprint of the metadata for the common case. |