https://bugs.llvm.org/show_bug.cgi?id=36199
Bug ID: 36199
Summary: [SKX] fatal error: error in backend: "LLVM ERROR:
Cannot select 0x*: v8f32 = bitcast 0x*"
Product: new-bugs
Version: trunk
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedb...@nondot.org
Reporter: ilia.tara...@intel.com
CC: llvm-bugs@lists.llvm.org
This test fails with "LLVM ERROR: Cannot select: 0x23f5068: v8f32 = bitcast
0x23f4848" in backend:
================= nice.ll ==============
define void @foo() unnamed_addr #0 {
%1 = fadd <16 x float> undef, undef
%bc256 = bitcast <16 x float> %1 to <4 x i128>
%2 = extractelement <4 x i128> %bc256, i32 0
%3 = bitcast i128 %2 to <4 x float>
%4 = shufflevector <4 x float> %3, <4 x float> undef, <16 x i32> <i32 0, i32
1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3, i32 0, i32 1, i32 2, i32 3, i32 0,
i32 1, i32 2, i32 3>
store <16 x float> %4, <16 x float>* undef, align 4
ret void
}
attributes #0 = { nounwind uwtable "target-cpu"="skylake-avx512"}
=======================================
>>> clang -v
clang version 7.0.0 (trunk 323949)
Target: x86_64-unknown-linux-gnu
Thread model: posix
...
>>> llc nice.ll
LLVM ERROR: Cannot select: 0x36f84a8: v8f32 = bitcast 0x36f7c88
0x36f7c88: v16f32 = fadd undef:v16f32, undef:v16f32
0x36f7c20: v16f32 = undef
0x36f7c20: v16f32 = undef
In function: foo
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs