commit | 7735d5aef04ca40021af17e2ecda19c6d34fdd2f | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Thu Nov 15 19:20:22 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Thu Nov 15 19:20:22 2018 +0000 |
tree | 519b42767cf773202e009b9afc969324114c769c | |
parent | 6a9a4b4e8f8e0ffc657894c9b6887d204c54d122 [diff] |
[X86] Minor cleanup to getExtendInVec. NFCI Use unsigned to calculate the subvector index to avoid a cast. Remove an unnecessary condition and replace it with a stronger assert. Use the InVT variable we updated when we extracted instead of grabbing it from the In SDValue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346983 91177308-0d34-0410-b5e6-96231b3b80d8