http://llvm.org/bugs/show_bug.cgi?id=12532
Bug #: 12532
Summary: avxintrin.h not compilable
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: Frontend
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
Created attachment 8373
--> http://llvm.org/bugs/attachment.cgi?id=8373
patch to remove incorrect const
commit 153091 introduced new _mm256_storeu2_xxx intrinsics to avxintrin.h which
do not compile:
/opt/clang-master/bin/../lib/clang/3.1/include/avxintrin.h:1210:27: error:
cannot initialize a parameter of type 'float *' with an lvalue of type 'const
float *'
__builtin_ia32_storeups(addr_lo, v128);
...
To make it compile I changed the signature of the intrinsics. I think it
doesn't make much sense to store to const memory. :)
--
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