https://bugs.llvm.org/show_bug.cgi?id=40967
Bug ID: 40967
Summary: Cannot select for inline assembly
Product: clang
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: jle...@gmail.com
CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
neeil...@live.com, richard-l...@metafoo.co.uk
The following code causes trunk clang (and previous versions) to crash with
'cannot select'.
typedef float __m128 __attribute__((__vector_size__(16)));
__m128 foo(float value) {
__m128 t;
asm("":"=x"(t):"0"(value));
return t;
}
Error:
fatal error: error in backend: Cannot select: 0x55d249ef7378: v4f32,ch =
load<LD4[%2](dereferenceable), anyext from f32> 0x55d249ef7720,
FrameIndex:i64<0>, undef:i64
0x55d249ef76b8: i64 = FrameIndex<0>
0x55d249ef71d8: i64 = undef
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs