Depends on D18147
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
test/MC/Mips/mips64r2/invalid.s | ||
---|---|---|
65–70 ↗ | (On Diff #50599) | These new instructions are Octeon-specific but the assembler doesn't report any error. Shouldn't we add them in MC/Mips/cnmips/invalid.s, instead? |
test/MC/Mips/mips64r2/invalid.s | ||
---|---|---|
65–70 ↗ | (On Diff #50599) |
Well spotted. I've posted another patch to make this much more obvious and fix a few PredicateControl usage mistakes at the same time.
This is because we can only report one error and the out-of-range immediate has priority. If the immediate were in range then it would have emitted an error about the lack of cnMIPS.
I agree. I'll post an updated patch shortly. |