Add basic tests and some tests for same operands and all undef
operands inspired by PR55271.
i32 is umin/umax is using signext to match RISC-V ABI. i8/i16 are
using signext/zeroext to match the operation.
Paths
| Differential D124948
[RISCV] Add integer min/max intrinsic tests. NFC ClosedPublic Authored by craig.topper on May 4 2022, 11:21 AM.
Details Summary Add basic tests and some tests for same operands and all undef i32 is umin/umax is using signext to match RISC-V ABI. i8/i16 are
Diff Detail
Event TimelineComment Actions LGTM - you may want to consider start adding TTI costs/tests in Analysis/CostModel for these at some point. This revision is now accepted and ready to land.May 5 2022, 2:00 AM This revision was landed with ongoing or failed builds.May 5 2022, 9:40 AM Closed by commit rGbe51ddf6b454: [RISCV] Add integer min/max intrinsic tests. NFC (authored by craig.topper). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 427360 llvm/test/CodeGen/RISCV/min-max.ll
|