AMDGPU: Remove unnecessary check
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 22 Sep 2015 04:17:45 +0000 (04:17 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 22 Sep 2015 04:17:45 +0000 (04:17 +0000)
commitd89d4bccffbd23bea821af7fd09201f4e9abc546
treeb08892eda79179f8b4c65b282ffeacbdbcba31ee
parent95e05ddf7446f406801aa0c6c710bb6872e26493
AMDGPU: Remove unnecessary check

If the instruction doesn't have enough operands, it
either shouldn't be marked as isCommutable or is malformed.

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