[AMDGPU] adjust tests to be nan-free
authorSanjay Patel <spatel@rotateright.com>
Mon, 19 Mar 2018 19:23:53 +0000 (19:23 +0000)
committerSanjay Patel <spatel@rotateright.com>
Mon, 19 Mar 2018 19:23:53 +0000 (19:23 +0000)
commitdad3d13b993e8394e31dfa2d6f5644357ff941a4
tree7a0dd61e41a93d99a4cd7943aab1b142441692e0
parentecfede94a7a55b4907bcf87c23366f8e2625899e
[AMDGPU] adjust tests to be nan-free

As suggested in D44521 - bitcast to integer for the math,
so we preserve the intent of these tests when NaN math
gets folded away.

llvm-svn: 327890
llvm/test/CodeGen/AMDGPU/imm.ll
llvm/test/CodeGen/AMDGPU/imm16.ll
llvm/test/CodeGen/AMDGPU/immv216.ll