[RISCV] Pre-commit tests for D101342

These tests show inefficient sign extension for AMOs on RISC-V. The
normal CodeGen tests use anyext return values, but if marked signext
then we end up generating unnecessary sign extension instructions. This
can be seen when compiling C that returns an i32 (signed or unsigned),
where the calling convention results in a signext return value.
This commit is contained in:
Jessica Clarke 2021-05-04 11:12:43 +01:00
parent 05146fe517
commit fb92cf9208
1 changed files with 3776 additions and 0 deletions

File diff suppressed because it is too large Load Diff