Depends on D28688
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
llvm/lib/Target/X86/X86Subtarget.cpp | ||
---|---|---|
100 ↗ | (On Diff #84348) | Good point. The tricky thing here is that R_X86_64_8 is an unsigned relocation, but we're using it to relocate a sign extended operand. Probably the safest thing we can do here is to accept only the range [0,128), which I've done. If it proves necessary later, we can try to recognise patterns like sext i64 (trunc i8 (i8* @foo)) and allow the range [-128,128). |
Comment Actions
Please update the patch title to "X86: Produce @ABS8 symbol modifiers for absolute symbols in range [0,128)." before submission.
LGTM