Reasoning behind this change was allowing the function to accept all values from range [-128, 255] since all of them can be encoded in an 8bit wide value.
This differs from the prior state where only range [-128, 127] was accepted, where values were assumed to be signed, whereas now the actual interpretation
of the immediate is deferred to the consumer as required.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Can you add a test to test/CodeGen/builtins-mips-msa.c covering the new extended range for ldi.b ?
LGTM.
Comment Actions
Added a new test to test/CodeGen/builtins-mips-msa.c, covering the new extended range for ldi.b.