[PATCH] D143602: Allow 32-bit pointers to be written in 64-bit slots
Eli Friedman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 9 16:41:16 PST 2023
efriedma added a comment.
Not sure how you're building i686, but I definitely get an error. (https://godbolt.org/z/MW3x3WKrr)
On the targets where it's working, I see 64-bit relocations (R_WASM_MEMORY_ADDR_I64, R_RISCV_64, R_MIPS_64), which might work with some linkers, but maybe not all.
I'd prefer to just explicitly pad values in the AsmPrinter, and avoid depending on obscure assembler behaviors.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143602/new/
https://reviews.llvm.org/D143602
More information about the llvm-commits
mailing list