OSDN Git Service

R600/SI: Only form min/max with 1 use.
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 19 Dec 2014 23:15:30 +0000 (23:15 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 19 Dec 2014 23:15:30 +0000 (23:15 +0000)
commit7fc3bdab6aae5be9e484829a1d984a9665d64b4e
treec3abd414532b682ce52a9dc5e751fa04de793acd
parentb60b7360f5ab8458c595b92f277204f3ed7ec704
R600/SI: Only form min/max with 1 use.

If the condition is used for something else, this increases
the number of instructions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224646 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/AMDGPUISelLowering.cpp
test/CodeGen/R600/fmax_legacy.ll
test/CodeGen/R600/fmin_legacy.ll
test/CodeGen/R600/min.ll