X86: silence a GCC warning
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 31 Jan 2015 17:56:11 +0000 (17:56 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sat, 31 Jan 2015 17:56:11 +0000 (17:56 +0000)
commit7708f5b68af5521412fee2f3f43795196b2fdb0e
tree9266de228c8ea3fbae0de994fc46d9e78c9fe308
parent96a563ccfa81f59e0a1fdc82220b588a58ff865f
X86: silence a GCC warning

GCC 4.9 gives the following warning:
  warning: enumeral and non-enumeral type in conditional expression
Cast the enumeral value to an integer within the ternary operation.  NFC.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227692 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/Utils/X86ShuffleDecode.cpp