OSDN Git Service

[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)
commit8a350b553d92e74f463152a413add6999a04b35b
tree760f14a78db6133800d85760964744ddc3e89609
parent187f084979466255b463143a487f692e65b263cb
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@327890 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/AMDGPU/imm.ll
test/CodeGen/AMDGPU/imm16.ll
test/CodeGen/AMDGPU/immv216.ll