[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
Fri Jul 7 13:08:00 PDT 2023


efriedma added a comment.

We have the following options here:

1. Leave it as, i.e. a backend error
2. Commit this as-is, i.e. depending on the target, it might work, but it could also either crash in the assembler or generate an invalid relocation.
3. Teach the assembler to emit padding for .quad.
4. Emit explicit padding in the AsmPrinter

(2) seems like the worst of these options.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143602/new/

https://reviews.llvm.org/D143602



More information about the llvm-commits mailing list