R600/SI: don't try min3/max3/med3 with f64
authorTom Stellard <thomas.stellard@amd.com>
Mon, 16 Mar 2015 15:53:55 +0000 (15:53 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Mon, 16 Mar 2015 15:53:55 +0000 (15:53 +0000)
commit6ebc34281fc2d9a8bede8e14f7ec8294f67a2ad2
tree8358f612319d6aa29a88070cb1266796964f6570
parentb8434f1cf5b48c1c2318cc9405dd51fd96f08abe
R600/SI: don't try min3/max3/med3 with f64

There are no opcodes for this. This also adds a test case.

v2: make test more robust

Patch by: Grigori Goronzy

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232386 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIISelLowering.cpp
test/CodeGen/R600/fmax3.f64.ll [new file with mode: 0644]