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

[AVX-512] llc generates incorrect code for @​llvm.x86.avx.hadd.ps.256

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

Bugzilla Link 25318
Resolution FIXED
Resolved on Oct 26, 2015 07:29
Version trunk
OS Linux
Attachments Reproducer.
CC @dbabokin,@delena,@igor-breger

Extended Description

llc generates incorrect code for @​llvm.x86.avx.hadd.ps.256 with -mcpu=knl option. With -mcpu=core-avx2 everything works fine.

Compile: llc -mcpu=knl test.ll -o test.s clang++ -march=knl test.s main.cpp Run: sde -knl -- a.out

clang version is trunk 250620

Vsevolod-Livinskij avatar Oct 26 '15 08:10 Vsevolod-Livinskij

Fixed in revision 251285.

http://reviews.llvm.org/D14062

igor-breger avatar Oct 26 '15 14:10 igor-breger