This patch adds an appropriate initialize method for AANoAliasCallSiteArgument.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Small nit, otherwise LGTM.
| llvm/lib/Transforms/IPO/Attributor.cpp | ||
|---|---|---|
| 1597 | can't u just say hasAttr( ? Some of the CallSite getters look at the argument, other do not. | |
| llvm/lib/Transforms/IPO/Attributor.cpp | ||
|---|---|---|
| 1597 | I think SubsumingPositionIterator will look at associatedValue when given a callsite arugment. test11 below will fail. | |
can't u just say hasAttr( ? Some of the CallSite getters look at the argument, other do not.