Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with a nit.
include/llvm/Support/ELFRelocs/Mips.def | ||
---|---|---|
111 ↗ | (On Diff #40650) | This one ought to be ..._S1 and adjustFixupValue(), etc. should be corrected to match. Could you fix this in a separate patch? |
lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp | ||
168 ↗ | (On Diff #40650) | We should also 'return 0' as per the other cases. |
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp | ||
---|---|---|
370 ↗ | (On Diff #40650) | Is it still -4 when we're shifting by 1 instead of 2? |
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp | ||
---|---|---|
370 ↗ | (On Diff #40650) | If my understanding is correct -4 is defined only by the size of current instruction (balc and bc in this case) and it is 4 bytes: |
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp | ||
---|---|---|
370 ↗ | (On Diff #40650) | That makes sense. Thanks. |