]> granicus.if.org Git - llvm/commit
Adding a shufflevector and select LLVM IR instructions fuzz tool
authorAyman Musa <ayman.musa@intel.com>
Tue, 31 Oct 2017 11:39:31 +0000 (11:39 +0000)
committerAyman Musa <ayman.musa@intel.com>
Tue, 31 Oct 2017 11:39:31 +0000 (11:39 +0000)
commit7b6f7521ee81130feb692eae172b4432c50f42d7
treed56980862ee074d925cacd1728750f34b86bd1c1
parent7fa6b255422ac50469c14134888a772aaa2d54ff
Adding a shufflevector and select LLVM IR instructions fuzz tool

Based on similar python tool - utils/shuffle-fuzz.py - this tool extends the ability of it's previous by optionally attaching select instruction to the generated shufflevector instructions.
This was mainly developed to perform exhaustive testing of the X86 AVX512 masked shuffle instructions. But yet it can be used for various other targets.
The general design of the implementation is much modular than the original shuffle_fuzz.py tool, which makes it easier for anyone to extend it further.

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

Change-Id: I0efc2aaa091b61a8a9552311c21cc77916a97111

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316989 91177308-0d34-0410-b5e6-96231b3b80d8
utils/shuffle_select_fuzz_tester.py [new file with mode: 0644]