http://llvm.org/bugs/show_bug.cgi?id=10654
Summary: Assertion failed: (LHS.isSimple() && "Can only
subscript lvalue vectors here!") with ext_vector_type
Product: clang
Version: unspecified
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Testcase:
__attribute((ext_vector_type(4))) typedef int extv4;
extv4 v;
void f(int i) { v.xzwy[i] = 10; }
Assertion failed: (LHS.isSimple() && "Can only subscript lvalue vectors
here!"), function EmitArraySubscriptExpr, file
/Users/efriedma/llvm/tools/clang/lib/CodeGen/CGExpr.cpp, line 1566.
There happens to be a similar construct to this in test/CodeGen/volatile.c,
although it's on the right-hand side on an assignment there.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs