]> granicus.if.org Git - llvm/commit
[X86] Add a further unrolled madd reduction test case that shows several deficiencies.
authorCraig Topper <craig.topper@intel.com>
Fri, 23 Aug 2019 07:38:25 +0000 (07:38 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 23 Aug 2019 07:38:25 +0000 (07:38 +0000)
commitdb5694b33afbc2786622eabf5ae42e4a6410c57d
tree11b5be63799eb896ae1886a690403567cb282a62
parent8169ca80f68693d9f2553de9a94ce4ab8792dbb6
[X86] Add a further unrolled madd reduction test case that shows several deficiencies.

The AVX2 check lines show two issues. An ADD that became an OR
because we knew the input was disjoint, but really it was zero
so we should have just removed the ADD/OR all together.

Relatedly we use 128-bit VPMADDWD instructions followed by
256-bit VPADDD operations. We should be able to narrow these
VPADDDs.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369736 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/madd.ll