[PATCH] D34923: [X86] Add comment string for broadcast loads from the constant pool.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 1 00:35:22 PDT 2017


craig.topper created this revision.

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.


https://reviews.llvm.org/D34923

Files:
  lib/Target/X86/X86MCInstLower.cpp
  test/CodeGen/X86/avx2-vbroadcast.ll
  test/CodeGen/X86/broadcast-elm-cross-splat-vec.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34923.104980.patch
Type: text/x-patch
Size: 132369 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170701/ebc304fd/attachment.bin>


More information about the llvm-commits mailing list