[Utils][x86] add an option to reduce scrubbing of shuffles with memops
authorSanjay Patel <spatel@rotateright.com>
Thu, 20 Feb 2020 14:22:56 +0000 (09:22 -0500)
committerSanjay Patel <spatel@rotateright.com>
Thu, 20 Feb 2020 14:33:05 +0000 (09:33 -0500)
commit15e20dcb8f9decf1928871d562a3724e8cc1e343
tree4d58881b2ea9e59800de7d1f146a95af49b72339
parent977cd661cf019039dec7ffdd15bf0ac500828c87
[Utils][x86] add an option to reduce scrubbing of shuffles with memops

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.

Differential Revision: https://reviews.llvm.org/D74775
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