AMDGPU/GlobalISel: Fix test failure in release build
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 6 Jun 2020 14:31:08 +0000 (10:31 -0400)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Sat, 6 Jun 2020 15:01:18 +0000 (11:01 -0400)
commit38fb446fc7fc7683d230f93ade61d5d41c3587bd
treea9437d8e56cb94ee84777795a0ca66ec46bc631c
parentf14d4c9c54ce7738a6c496741b7d41eb6532d74e
AMDGPU/GlobalISel: Fix test failure in release build

The annoying behavior where the output is different due to the
legality check struck again, plus the subtarget predicate wasn't
really correctly set for DS FP atomics.

Some of the FP min/max instructions seem to be in the gfx6/gfx7
manuals, but IIRC this might have been one of the cases where the
manual got ahead of the actual hardware support, but I've left these
as-is for now since the assembler tests seem to expect them.
llvm/lib/Target/AMDGPU/AMDGPU.td
llvm/lib/Target/AMDGPU/DSInstructions.td
llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-atomicrmw-fadd-local.mir