llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

icmp eq <16 x i1> works incorrectly on AVX512

Open Vsevolod-Livinskij opened this issue 11 years ago • 1 comments

Bugzilla Link 23631
Resolution FIXED
Resolved on Jun 10, 2015 01:50
Version trunk
OS Linux
Attachments Reproducer.
CC @dbabokin,@delena

Extended Description

llc emits incorrect instructions for icmp eq <16 x i1> when I compile with llc -mcpu=knl repr.ll . With -mcpu=core-avx2 everything works fine.

Compile: llc -mcpu=knl repr.ll clang++ -march=knl main.cpp repr.s

Run: sde -knl -- ./a.out

llc -version LLVM (http://llvm.org/): LLVM version 3.7.0svn Optimized build with assertions. Built May 21 2015 (15:01:04). Default target: x86_64-unknown-linux-gnu Host CPU: sandybridge

clang version 3.7.0 (trunk 237892)

Vsevolod-Livinskij avatar May 22 '15 07:05 Vsevolod-Livinskij

Committed revision 239460.

delena avatar Jun 10 '15 08:06 delena