This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Deduce `align` and `nonnull` return attributes for `llvm.ptrmask`
AbandonedPublic

Authored by goldstein.w.n on Jul 30 2023, 4:01 PM.

Details

Summary

We can deduce the former based on the mask / incoming pointer
alignment. We can set the latter based if know the result in non-zero
(this is essentially just caching our analysis result).

Diff Detail