llvm-project/llvm/lib/Target/X86/Utils
Craig Topper 2ed4328281 [X86] Improve some shuffle decoding code to remove a conditional from a loop and reduce the number of temporary variables. NFCI
The NumControlBits variable was definitely sketchy. I think that only worked because the expected value was 1 or 2 and the number of lanes was 2 or 4. Had their been 8 lanes the number of bits should have been 3 not 4 as the previous code would have given.

llvm-svn: 334258
2018-06-08 01:09:31 +00:00
..
CMakeLists.txt
LLVMBuild.txt
X86ShuffleDecode.cpp [X86] Improve some shuffle decoding code to remove a conditional from a loop and reduce the number of temporary variables. NFCI 2018-06-08 01:09:31 +00:00
X86ShuffleDecode.h [X86] Remove use of MVT class from the ShuffleDecode library. 2018-03-12 16:43:11 +00:00