[LLVMbugs] [Bug 11771] Vectors shift operator broken
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Jan 17 14:58:50 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11771
Eli Friedman <sharparrow1 at yahoo.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |INVALID
--- Comment #6 from Eli Friedman <sharparrow1 at yahoo.com> 2012-01-17 16:58:50 CST ---
float2 fabs2(float2 f)
{
float4 a = *(float4*)&a;
a = fabs4(a);
return a.lo;
}
That has undefined behavior; try "float4 a = (float4)(f,f);"?
--
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