[X86] Simplify getOperandBias as a bit. NFC
authorCraig Topper <craig.topper@gmail.com>
Thu, 25 Aug 2016 04:16:10 +0000 (04:16 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 25 Aug 2016 04:16:10 +0000 (04:16 +0000)
commit5ef7a0f45a6d93cb74c0ff12077eae3eeaea40a2
tree0c07f76e42206f31b328872255c490e092500439
parent969e56a2cc4f3f9375598cbbbf8ec3d9801aad04
[X86] Simplify getOperandBias as a bit. NFC

There's no reason for it to return a signed type. Just return the operand bias in each if instead of starting from 0 and adding in the 'if'.

llvm-svn: 279720
llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h