HomePhabricator

[X86][AVX] Adjust unsigned saturation downconvert negative test

Authored by RKSimon on Jan 14 2021, 9:51 AM.

Description

[X86][AVX] Adjust unsigned saturation downconvert negative test

D87145 was showing that this test (added in D45315) could always be constant folded (with suitable value tracking).

What we actually needed was smax(smin()) negative test coverage, the invert of negative_test2_smax_usat_trunc_wb_256_mem, so I've tweaked the test to provide that instead.

Details

Committed
RKSimonJan 14 2021, 9:51 AM
Parents
rGa03ffa98503b: [NewPM] Fix placement of LoopFlatten
Branches
Unknown
Tags
Unknown