[Clang][AVX512][intrinsics] Fix vperm{w|d|q|ps|pd} intrinsics. Index is first argument to buildin function.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Don't the type casts need to be changed too? For example permutexvar_pd has the index as __v8df.
Comment Actions
Looking at this again. This doesn't match the gcc implementation of the builtins. Unless their header file is also wrong. Can you clarify?
Comment Actions
Thanks,
You are correct. I implemented all changes in code-gen ( http://reviews.llvm.org/D20515 ).
If there's no objection, I abandon this review.