HomePhabricator

[RISCV] Pre-commit tests for D101342

Authored by jrtc27 on Tue, May 4, 3:12 AM.

Description

[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.

Details

Committed
jrtc27Tue, May 4, 3:12 AM
Parents
rG05146fe51710: [llvm] Unbreak no-assertion testing
Branches
Unknown
Tags
Unknown