OSDN Git Service

[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)
commitac7c8ceef7e4d7e510780103594c06ea8b0e4eaa
treebaac5efdf5afc70d5e1463dba0d2632f26c1af46
parenteba544c71ce91a350c3fa84327feb501d76ee462
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303020 91177308-0d34-0410-b5e6-96231b3b80d8
test/CodeGen/X86/vector-lzcnt-128.ll
test/CodeGen/X86/vector-lzcnt-256.ll