llvm-project
llvm-project copied to clipboard
icmp eq <16 x i1> works incorrectly on AVX512
| 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)
Committed revision 239460.