[shuffle] Teach the shuffle fuzzer to fuzz blends, including forming
authorChandler Carruth <chandlerc@gmail.com>
Wed, 13 Aug 2014 09:05:59 +0000 (09:05 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 13 Aug 2014 09:05:59 +0000 (09:05 +0000)
commit918801162a649a5fff0a345db0746018687a5dad
treeda5e4125584a33338a44864ebc161e92f04bf4f0
parent4c97c1420bea552a7e1fa711793279a7801a7033
[shuffle] Teach the shuffle fuzzer to fuzz blends, including forming
a tree of inputs to blend iteratively together.

This required a pretty substantial rewrite of the innards. The number of
shuffle instructions is now bounded in terms of tree-height. There is
a flag to disable blends so that its still possible to test single input
shuffles. I've also improved various aspects of how the test program is
generated, primarily to simplify the test harness and allow some
optimizations to clean up how we actually check the results and build up
the inputs.

Again, apologies for my likely horrible use of Python... But hey, it
works! (Ish?)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215530 91177308-0d34-0410-b5e6-96231b3b80d8
utils/shuffle_fuzz.py