commit | c700b40b547f3401eab615d40dcbca6f158c31f7 | [log] [tgz] |
---|---|---|
author | Ayman Musa <ayman.musa@intel.com> | Tue Dec 06 12:24:14 2016 +0000 |
committer | Ayman Musa <ayman.musa@intel.com> | Tue Dec 06 12:24:14 2016 +0000 |
tree | 79057be964dbef051c51c4544eec2ab408ebec2d | |
parent | 01544ba3a38ce9f52e32b7f2108b8043f60a9f6e [diff] |
[X86][AVX512] Detect repeated constant patterns in BUILD_VECTOR suitable for broadcasting. Check if a build_vector node includes a repeated constant pattern and replace it with a broadcast of that pattern. For example: "build_vector <0, 1, 2, 3, 0, 1, 2, 3>" would be replaced by "broadcast <0, 1, 2, 3>" Differential Revision: https://reviews.llvm.org/D26802 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288804 91177308-0d34-0410-b5e6-96231b3b80d8