R600: Optimize another selectcc case
authorTom Stellard <thomas.stellard@amd.com>
Fri, 8 Mar 2013 15:37:11 +0000 (15:37 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 8 Mar 2013 15:37:11 +0000 (15:37 +0000)
commit5e524897eda279971fa2e45003155f957975c922
treef127e98069b464a71f8b4d725b6025f1c08a9c8d
parent2add82de09b0c03a21afd0329062ba6fa14df3cd
R600: Optimize another selectcc case

fold selectcc (selectcc x, y, a, b, cc), b, a, b, setne ->
     selectcc x, y, a, b, cc

Reviewed-by: Christian König <christian.koenig@amd.com>
llvm-svn: 176700
llvm/lib/Target/R600/R600ISelLowering.cpp
llvm/test/CodeGen/R600/selectcc-opt.ll