Displaying 2 results from an estimated 2 matches for "riscvglobaladdresslow".
2019 Jul 09
2
Manipulating global address inside GlobalAddress SDNode in (RISCV) LLVM backend
Hello,
Brief background: We are trying to support 64 bit pointers in RISCV 32 bit
backend
http://lists.llvm.org/pipermail/llvm-dev/2019-June/132805.html
To pass the legalizer we plan to break the 64 bit GlobalAddress into 32 bit
GlobalAddress having the other 32 bit glued to the node. We could not find
a direct way to convert the 64 bit GlobalAddress Node into a 32 bit node.
For a GlobalAddress
2019 Jul 11
2
Manipulating global address inside GlobalAddress SDNode in (RISCV) LLVM backend
...9 Jul 2019 at 14:49, Reshabh Sharma via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
> > For a GlobalAddress node say i64 = GlobalAddress<0xHighLow> we want to
> convert it into i32 = GlobalAddress<0xLow>.
>
> I think you'd have to convert it into a custom RISCVGlobalAddressLow
> and RISCVGlobalAddressHigh pair because the type of GlobalAddress is
> fixed to pointer type in TargetSelectionDAG.td (that's not 100% set in
> stone, but I wouldn't violate it lightly). And that might well be
> functionally equivalent to making an LUI/ADDI pair directly.
>...