OSDN Git Service

[X86] In WidenMaskArithmetic, make sure we check the input type of a truncate on N1.
authorCraig Topper <craig.topper@intel.com>
Sat, 23 Dec 2017 18:53:03 +0000 (18:53 +0000)
committerCraig Topper <craig.topper@intel.com>
Sat, 23 Dec 2017 18:53:03 +0000 (18:53 +0000)
commit795155ddab1fcdf097049808d8bfedec3c24ccef
tree4b5bcb77d9f34b9720c61e4dd41f335fb4c69e11
parent9051f838d214d4c58f2c523aee10846aae38df95
[X86] In WidenMaskArithmetic, make sure we check the input type of a truncate on N1.

Later in the code we explicitly bypass the truncate so we should be checking its type to make sure that it's safe.

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