[PATCH] D74775: [Utils][x86] add an option to reduce scrubbing of shuffles with memops

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 18 09:03:34 PST 2020


spatel created this revision.
spatel added reviewers: RKSimon, craig.topper, lebedev.ri.
Herald added subscribers: arichardson, mcrosier.
Herald added a project: LLVM.

I was drafting a patch that would increase broadcast load usage, but our shuffle scrubbing makes it impossible to see if the memory operand offset was getting created correctly. I'm proposing to make that an option (defaulted to 'off' for now to reduce regression test churn).

The updated files provide examples of tests where we can now verify that the pointer offset for a loaded memory operand is correct. We still have stack and constant scrubbing that can obscure the operand even if we don't scrub the entire instruction.


https://reviews.llvm.org/D74775

Files:
  llvm/test/CodeGen/X86/avx-splat.ll
  llvm/test/CodeGen/X86/extractelement-load.ll
  llvm/utils/UpdateTestChecks/asm.py
  llvm/utils/update_llc_test_checks.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74775.245175.patch
Type: text/x-patch
Size: 8662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200218/b242cf53/attachment.bin>


More information about the llvm-commits mailing list