This is needed to support things like null pointers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D157822
[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 TimelineThis revision is now accepted and ready to land.Aug 14 2023, 9:26 AM Closed by commit rG1fa858d987ec: [RISCV][GISel] Make G_CONSTANT of pointers legal. (authored by craig.topper). · Explain WhyAug 14 2023, 10:11 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 549737 llvm/lib/Target/RISCV/GISel/RISCVLegalizerInfo.cpp
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv32/legalize-const.mir
llvm/test/CodeGen/RISCV/GlobalISel/legalizer/rv64/legalize-const.mir
|
clang-format not found in user’s local PATH; not linting file.