We need to implement these hooks to ensure that we can serialize and parse MIR
correctly.
Details
- Reviewers
jrtc27 luismarques - Commits
- rGc20930a724f9: [RISCV] Machine Operand Flag Serialization
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/test/CodeGen/RISCV/mir-target-flags.ll | ||
---|---|---|
18 | Since these are not external and the file is built without PIC, they are all being optimised to LE. With D70649, making them external would at least make them all IE except for @t_le, but in order to get GD and LD you need to have a PIC invocation. This will also get you MO_PLT and MO_GOT_HI cases for free. | |
65 | RHS typo (hence why there is no @t_ud in the test output). |
This broke the build and I had to add rGcb664baf50f069cb844d69cd6b8952cb22a3e7c2 to fix it.
@jrtc27 I think this testcase now doesn't cover half of what I intended it to test, do you know what caused the change?
Since these are not external and the file is built without PIC, they are all being optimised to LE. With D70649, making them external would at least make them all IE except for @t_le, but in order to get GD and LD you need to have a PIC invocation. This will also get you MO_PLT and MO_GOT_HI cases for free.