Add the functionality to lower SVE rounding operations for passthru variant.
Created a new test case file for all rounding operations.
Details
Diff Detail
Event Timeline
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td | ||
---|---|---|
1425 | So we can prove the DAGCombine for these intrinsics is the canonical route, can you please change this and the following sve_frint instances to null_frag. Once FRECPX and FSQRT follow a similar path we'll remove the parameter. | |
llvm/test/CodeGen/AArch64/sve-fp-rounding.ll | ||
1 | Since there's no expected variance for these tests can you use update_llc_test_checks.py to generate the check lines. It'll just make it easier in the future if somebody adds anything new. |
Other than adding the missing test before landing that patch, this LGTM.
llvm/test/CodeGen/AArch64/sve-fp-rounding.ll | ||
---|---|---|
118 | It looks like you are missing a test for define <vscale x 2 x double> @frintm_nxv2f64. |
So we can prove the DAGCombine for these intrinsics is the canonical route, can you please change this and the following sve_frint instances to null_frag. Once FRECPX and FSQRT follow a similar path we'll remove the parameter.