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)
commit7eeaefa0c8387932b3890a1f30886b8236be4fa1
tree3c19c463b2b80d3e86a09cc0c0ffc341667eee5a
parente7b03ee85c6a5b36588cedbbee8d83ece6ab78b6
R600/SI: Use early return instead of checking condition twice

Any commutable instruction will have at least src1.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220061 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp