http://llvm.org/bugs/show_bug.cgi?id=7232
Summary: clang emits invalid IR on isunordered call with vector
operands
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: -New Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
On this C input:
#include <math.h>
typedef float float4 __attribute__((vector_size(16)));
void bar(float4 x, float4 y) {
isunordered(x, y);
}
clang produces LLVM IR which triggers a Verifier abort, with the following
message:
zext source and destination must both be a vector or neither
%tmp3 = zext <4 x i1> %cmp to i32 ; <i32> [#uses=0]
Broken module found, compilation aborted!
--
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