radeonsi: don't use llvm.AMDIL.fraction for FRC and DFRAC
authorMarek Olšák <marek.olsak@amd.com>
Sat, 25 Jul 2015 10:17:19 +0000 (12:17 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 31 Jul 2015 14:49:16 +0000 (16:49 +0200)
commit1bbe40836306549414408bb7f30b9288c020db75
tree33c512438d53845add2b5dacbf9e727382aea66e
parent8559f6ce62a9d5b52fa8189ba2352cd48bdabccf
radeonsi: don't use llvm.AMDIL.fraction for FRC and DFRAC

There are 2 reasons for this:
- LLVM optimization passes can work with floor
- there are patterns to select v_fract from floor anyway

There is no change in the generated code.
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c