This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Preserve return attributes when merging `llvm.ptrmask`
AbandonedPublic

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

Details

Summary

If we have assosiated attributes i.e `([ret_attrs] (ptrmask (ptrmask
p0, m0), m1)) we should preserve [ret_attrs]` when combining the two
llvm.ptrmasks.

Diff Detail