Loosens an assert in getMemRIX16Encoding that restricts DQ-form instructions to using an immediate, so that we can assemble instructions like lxv 3, global@toc@l(3)
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Other than the minor nit about the test case, this LGTM.
test/MC/PowerPC/ppc64-dq-expr.s | ||
---|---|---|
1 ↗ | (On Diff #162029) | This may be silly as I'm not familiar with similar tests, but won't you require the -f option to force the binary output to stdout? |
test/MC/PowerPC/ppc64-dq-expr.s | ||
---|---|---|
1 ↗ | (On Diff #162029) | Not a silly question since that's the behavior I expected as well, but llvm-mc is happy to output binary to the term without -f. I just realized after committing this that I probably don't even need -o - since outputting to the term seems to be the default anyway. |