[llvm-bugs] [Bug 40967] New: Cannot select for inline assembly
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Mar 5 10:32:16 PST 2019
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: unassignedclangbugs at nondot.org
Reporter: jleahy at gmail.com
CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
neeilans at live.com, richard-llvm at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190305/e2dbeb58/attachment.html>
More information about the llvm-bugs
mailing list