commit | 3283290275dfcf714d4ce640465c7a116c0b9457 | [log] [tgz] |
---|---|---|
author | Craig Topper <craig.topper@intel.com> | Sun Nov 11 01:40:04 2018 +0000 |
committer | Craig Topper <craig.topper@intel.com> | Sun Nov 11 01:40:04 2018 +0000 |
tree | d39e0d768f321fc32f3e0a311d0fd97d960bea4b | |
parent | bb2ce32a5bd58ea01d609989fc47276b323e184e [diff] |
[X86] Replace calls to getOnesVector/getZeroVector with getConstant. getConstant will create a BUILD_VECTOR for us and use a legal type if necessary. So just create the simple node and let BUILD_VECTOR legalization do the canonicalization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@346603 91177308-0d34-0410-b5e6-96231b3b80d8