R600/SI: Use early return instead of checking condition twice
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 17 Oct 2014 18:00:37 +0000 (18:00 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Fri, 17 Oct 2014 18:00:37 +0000 (18:00 +0000)
commitaa5ccfb566919770b741340a221d8ae6411d81c4
treee347c8e652d7dad74309a98ecd8c33c32018d01b
parent952a9b1743f5c4dc4c91024e577657ddff0245e7
R600/SI: Use early return instead of checking condition twice

Any commutable instruction will have at least src1.

llvm-svn: 220061
llvm/lib/Target/R600/SIInstrInfo.cpp