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

llc fails on AVX512

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

Bugzilla Link 23630
Resolution FIXED
Resolved on May 26, 2015 07:38
Version trunk
OS Linux
Attachments Reproducer.
CC @dbabokin,@delena

Extended Description

When I compile with llc -mcpu=knl repr.ll it wails with error, while with -mcpu=core-avx2 it works fine.

LLVM ERROR: Cannot select: 0x353a690: i1 = sub 0x353ac80, 0x353eac0 [ORD=4] [ID=12] 0x353ac80: i1,ch = CopyFromReg 0x34dd320, 0x353e990 [ORD=2] [ID=7] 0x353e990: i1 = Register %vreg1 [ID=1] 0x353eac0: i1 = X86ISD::VEXTRACT 0x3539e40, 0x353a7c0 [ORD=3] [ID=11] 0x3539e40: v16i1 = X86ISD::VSRLI 0x3539f70, 0x353ab50 [ORD=3] [ID=10] 0x3539f70: v16i1 = X86ISD::VSHLI 0x353a8f0, 0x353ab50 [ORD=3] [ID=9] 0x353a8f0: v16i1,ch = CopyFromReg 0x34dd320, 0x353aa20 [ORD=3] [ID=8] 0x353aa20: v16i1 = Register %vreg0 [ID=2] 0x353ab50: i8 = Constant<15> [ID=6] 0x353ab50: i8 = Constant<15> [ID=6] 0x353a7c0: i64 = Constant<0> [ID=3] In function: f_f

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

Fixed in 238198.

delena avatar May 26 '15 14:05 delena