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)
commit7c840bcbf32afe4386b69b59137e3b2c09afd16f
treea2767b5d9788af5a1b3cb959c9184fc504834420
parentc2bdf37712bf6751e80992b36256a20e33d1430d
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

llvm-svn: 232386
llvm/lib/Target/R600/SIISelLowering.cpp
llvm/test/CodeGen/R600/fmax3.f64.ll [new file with mode: 0644]