[X86][SSE] LowerINSERT_VECTOR_ELT - ensure insertion index correctness. NFCI.
commitd3acd2d168e36f39c8412eb4ccdbca4f07198c6e
authorSimon Pilgrim <lvm-dev@redking.me.uk>
Wed, 3 Jul 2019 10:59:52 +0000 (3 10:59 +0000)
committerSimon Pilgrim <lvm-dev@redking.me.uk>
Wed, 3 Jul 2019 10:59:52 +0000 (3 10:59 +0000)
tree9f5f646c3dffe62135fe51c25d1b218189d706f8
parent8466bc49f2d5820608656b9bc147f66bcd595e22
[X86][SSE] LowerINSERT_VECTOR_ELT - ensure insertion index correctness. NFCI.

Assert that the insertion index is in range and use uint64_t for the index to fix MSVC/cppcheck truncation warning.

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