[LLVMbugs] [Bug 8512] New: incorrect IR representation for bool vectors
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Oct 29 19:09:21 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8512
Summary: incorrect IR representation for bool vectors
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: zx_y at mail.ru
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5705)
--> (http://llvm.org/bugs/attachment.cgi?id=5705)
test illustrating the problem
Generation of IR from the following code
typedef bool v128b __attribute__ ((vector_size (16)));
int main() {
v128b v1;
}
gives
define i32 @main() nounwind {
entry:
%v1 = alloca <16 x i1>, align 16
ret i32 0
}
<16 x i1> is insufficient for 16-byte vector.
Attached is the test that compiles under GCC but gives assert under clang
because of the wrong bool vector size:
--
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.
More information about the llvm-bugs
mailing list