HomePhabricator

[InstSimplify] fix miscompiles with maximum/minimum intrinsics

Authored by spatel on Sep 14 2020, 6:06 AM.

Description

[InstSimplify] fix miscompiles with maximum/minimum intrinsics

As discussed in the sibling codegen functionality patch D87571,
this transform was created with D52766, but it is not correct.

The incorrect test diffs were missed during review, but the
'TODO' comment about this functionality was still in the code -
we need 'nnan' to enable this fold.

Details

Committed
spatelSep 14 2020, 6:06 AM
Parents
rGc799f873cb9f: [AMDGPU] Don't cluster stores
Branches
Unknown
Tags
Unknown