This is an archive of the discontinued LLVM Phabricator instance.

[RISCV][GISel] Make G_CONSTANT of pointers legal.
ClosedPublic

Authored by craig.topper on Aug 13 2023, 11:57 AM.

Details

Summary

This is needed to support things like null pointers.

Diff Detail

Event Timeline

craig.topper created this revision.Aug 13 2023, 11:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2023, 11:57 AM
craig.topper requested review of this revision.Aug 13 2023, 11:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 13 2023, 11:57 AM
reames accepted this revision.Aug 14 2023, 9:26 AM
reames added a subscriber: reames.

LGTM

This revision is now accepted and ready to land.Aug 14 2023, 9:26 AM
This revision was automatically updated to reflect the committed changes.