llvm-project/llvm/test/Transforms/InstCombine/AMDGPU
Matt Arsenault 24ce89b717 Fix asserts in AMDGCN fmed3 folding by handling more cases of NaN
Better NaN handling for AMDGCN fmed3.

All operands are checked for NaN now. The checks
were moved before the canonicalization to provide
a better mapping from fclamp. Changed the behaviour
of fmed3(x,y,NaN) to return max(x,y) instead of
min(x,y) in light of this. Updated tests as a result
and added some new cases to cover the fix.

Patch by Alan Baker

llvm-svn: 336375
2018-07-05 17:05:36 +00:00
..
amdgcn-demanded-vector-elts.ll InstCombine/AMDGPU: Add dimension-aware image intrinsics to SimplifyDemanded 2018-06-21 13:37:31 +00:00
amdgcn-intrinsics.ll Fix asserts in AMDGCN fmed3 folding by handling more cases of NaN 2018-07-05 17:05:36 +00:00
lit.local.cfg