]> granicus.if.org Git - llvm/commit
[X86] Add test caes for opportunities for machine LICM to unfold broadcasted constant...
authorCraig Topper <craig.topper@intel.com>
Fri, 30 Aug 2019 19:26:06 +0000 (19:26 +0000)
committerCraig Topper <craig.topper@intel.com>
Fri, 30 Aug 2019 19:26:06 +0000 (19:26 +0000)
commit306dc15109f34df8702c5d30afb70ed3771ec128
tree56af6f2389b2d0ec173deb7d14407650a92f1aeb
parent81afa04a059329c99a501d694e8b5b73748f3845
[X86] Add test caes for opportunities for machine LICM to unfold broadcasted constant pool loads.

MachineLICM is able to unfold loads to move an invariant load out
a loop, but X86 infrastructure currently lacks the ability to do
this when avx512 embedded broadcasting is used.

This test adds examples for the basic float point operations,
add, mul, and, or, and xor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370506 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/avx512-broadcast-unfold.ll [new file with mode: 0644]