This is an archive of the discontinued LLVM Phabricator instance.

[InstCombine] Add tests for folding `@llvm.ptrmask` with itself; NFC
ClosedPublic

Authored by goldstein.w.n on Jun 28 2023, 2:17 PM.

Diff Detail

Event Timeline

goldstein.w.n created this revision.Jun 28 2023, 2:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 28 2023, 2:17 PM
Herald added a subscriber: StephenFan. · View Herald Transcript
goldstein.w.n requested review of this revision.Jun 28 2023, 2:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 28 2023, 2:17 PM
nikic added inline comments.Jun 29 2023, 12:12 AM
llvm/test/Transforms/InstCombine/consecutive-ptrmask.ll
5

This should be @llvm.ptrmask.p0.i64.

goldstein.w.n marked an inline comment as done.Jun 29 2023, 12:36 AM

declare exact function for i64

nikic accepted this revision.Jun 29 2023, 12:38 AM

LGTM

This revision is now accepted and ready to land.Jun 29 2023, 12:38 AM