What D66126 did for AAAlign, this patch does for AANonNull. Agian, the
logic becomes more concise and localized. Again, returned poiners are
not annotated properly but that will not be an issue if this lands with
the "on-demand" generation of attributes. First improvements due to the
genericValueTraversal are already visible.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I think we need a test for nonnull floating value (also for dereferenceable) once on-demand creation merged.
I added some comments but it seems to me that these will be resolved in D66276 :). Therefore, it looks good to me.
llvm/lib/Transforms/IPO/Attributor.cpp | ||
---|---|---|
1256–1260 ↗ | (On Diff #214763) | I think it should be in initialize. |
1272 ↗ | (On Diff #214763) | Is optimistic correct? |