forked from OSchip/llvm-project
[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:
parent
05146fe517
commit
fb92cf9208