This patch is to fix some implicit castings for emulated intrinsics
so that there are no lax-vector-conversions errors and warnings.
Details
Details
- Reviewers
nemanjai amyk stefanp - Group Reviewers
Restricted Project - Commits
- rGee815ff2ce8d: [PowerPC] Fix the implicit casting for the emulated intrinsics
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM as long as the naming nit is addressed.
clang/lib/Headers/ppc_wrappers/emmintrin.h | ||
---|---|---|
58 | The name __v2f seems strange since __vector float is a vector of 4 float values. Should this be __v4f? |
clang/lib/Headers/ppc_wrappers/smmintrin.h | ||
---|---|---|
310 | In altivec header, vec_unpackh 's parameter is either signed char or bool char, so we need explicit casting since __charmask is unsigned char. |
The name __v2f seems strange since __vector float is a vector of 4 float values. Should this be __v4f?