This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Fold `(ptrtoint (ptrmask p0, m0))` -> `(and (ptrtoint p0), m0)`
AbandonedPublic

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

Details

Summary

and is generally more supported so if we have a ptrmask anyways
might as well use and.

Diff Detail