OSDN Git Service

[X86] Use SmallVector::assign instead of resize to ensure we really start with a...
authorCraig Topper <craig.topper@gmail.com>
Sun, 19 Jun 2016 15:37:30 +0000 (15:37 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 19 Jun 2016 15:37:30 +0000 (15:37 +0000)
commit06be9d5f0873d3b3aab15af3f50f3389f69a67fd
tree2bacf62e03123228e93757b612becf9fd584b871
parentda8a463f865fa90b3132d66c71c6b21548f457bf
[X86] Use SmallVector::assign instead of resize to ensure we really start with a vector of all -1s. Otherwise we're trusting the caller to pass the right thing.

This should be no functional change with current code.

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