This change allows relaxInstruction to use the auto-generated
instruction uncompression routine, rather than a partial implementation
of the same.
I am yet to find a testcase that this affects.
lenary on Jul 2 2020, 9:57 AM.Authored by
Issues I still need to investigate:
However, this change is also blocking relaxing conditional branches, so I need to get to a conclusion on this quickly.
I'm afraid this causes compile-time failures with 20030323-1.c, multi-ix.c, and pr53645.c.
+./output_rv64imafdc_lp64_O0/multi-ix.o: in function `.LBB0_1': +multi-ix.c:(.text+0x60): relocation truncated to fit: R_RISCV_BRANCH against `.LBB0_4' +clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
So, looking further into this for the failing test case: