[X86] Add avx512vl command lines to the 128/256-bit vector-lzcnt tests so we can...
authorCraig Topper <craig.topper@gmail.com>
Sun, 14 May 2017 19:38:11 +0000 (19:38 +0000)
committerCraig Topper <craig.topper@gmail.com>
Sun, 14 May 2017 19:38:11 +0000 (19:38 +0000)
commitc27dc9f797d6a351d9e94e745dcf8b728ae9070b
tree0687956461154d769788a9c6ba08e5d719570553
parent87804dfe7627a52cbb1dad9803e3ea7acd5ccc8f
[X86] Add avx512vl command lines to the 128/256-bit vector-lzcnt tests so we can see what compare instructions are being used in the lookup table code.

I noticed the 512-bit lzcnts don't use the X86 specific lookup table code and instead use the EXPAND case in LegalizeDAG. I was toying around with fixing this and noticed it would require compare instructions that generate i1 masks and then converting from mask to vector. Then I noticed that we don't test which compares are used with avx512vl and no avx512cd.

llvm-svn: 303020
llvm/test/CodeGen/X86/vector-lzcnt-128.ll
llvm/test/CodeGen/X86/vector-lzcnt-256.ll