]> granicus.if.org Git - llvm/commit
[X86] Add comment string for broadcast loads from the constant pool.
authorCraig Topper <craig.topper@intel.com>
Tue, 4 Jul 2017 05:46:11 +0000 (05:46 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 4 Jul 2017 05:46:11 +0000 (05:46 +0000)
commita2a4e2c7e5dd22af9b522480850aeea143d903ec
tree2a2c913bd9aebb39ad92a9b49d70aa3023014d95
parentf82e25012a99118c06f85398ff6fd09a23fa88a7
[X86] Add comment string for broadcast loads from the constant pool.

Summary:
When broadcasting from the constant pool its useful to print out the final vector similar to what we do for normal moves from the constant pool.

I changed only a couple tests that were broadcast focused. One of them had been previously hand tweaked after running the script so that it could check the constant pool declaration. But I think this patch makes that unnecessary now since we can check the comment instead.

Reviewers: spatel, RKSimon, zvi

Reviewed By: spatel

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D34923

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307062 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86MCInstLower.cpp
test/CodeGen/X86/avg.ll
test/CodeGen/X86/avx2-vbroadcast.ll
test/CodeGen/X86/broadcast-elm-cross-splat-vec.ll
test/CodeGen/X86/recip-fastmath.ll
test/CodeGen/X86/recip-fastmath2.ll
test/CodeGen/X86/vec_shift6.ll