This appears to be the same issue as the previous one https://github.com/llvm/llvm-project/issues/42686.
I discovered that certain NEON intrinsics failed to compile with the `-fno-lax-vector-conversions` flag, a problem that did not occur in GCC.
- Reproduce error: https://godbolt.org/z/Mhxqj9151
- Compare with GCC: https://godbolt.org/z/qc31v3no8
The NEON intrinsics that have this issue are listed below:
- `vdupb_lane_p8`, `vdupb_laneq_p8`, `vdupbh_lane_p16`, `vduph_laneq_p16`
- `vset_lane_p8`, `vset_lane_p16`, `vset_lane_p64`, `vsetq_lane_p8`, `vsetq_lane_p16`, `vsetq_lane_p64`
- `vget_lane_p8`, `vget_lane_p16`, `vget_lane_p64`, `vgetq_lane_p8`, `vgetq_lane_p16`, `vgetq_lane_p64`
- `vcopy_lane_p8`, `vcopy_lane_p16`, `vcopy_lane_p64`, `vcopyq_lane_p8`, `vcopyq_lane_p16`, `vcopyq_lane_p64`,
- `vcopy_laneq_p8`, `vcopy_laneq_p16`, `vcopy_laneq_p64`, `vcopyq_laneq_p8`, `vcopyq_laneq_p16`, `vcopyq_laneq_p64`
Thank you for your reading.
This appears to be the same issue as the previous one https://github.com/llvm/llvm-project/issues/42686.
I discovered that certain NEON intrinsics failed to compile with the
-fno-lax-vector-conversions
flag, a problem that did not occur in GCC.The NEON intrinsics that have this issue are listed below:
vdupb_lane_p8
,vdupb_laneq_p8
,vdupbh_lane_p16
,vduph_laneq_p16
vset_lane_p8
,vset_lane_p16
,vset_lane_p64
,vsetq_lane_p8
,vsetq_lane_p16
,vsetq_lane_p64
vget_lane_p8
,vget_lane_p16
,vget_lane_p64
,vgetq_lane_p8
,vgetq_lane_p16
,vgetq_lane_p64
vcopy_lane_p8
,vcopy_lane_p16
,vcopy_lane_p64
,vcopyq_lane_p8
,vcopyq_lane_p16
,vcopyq_lane_p64
,vcopy_laneq_p8
,vcopy_laneq_p16
,vcopy_laneq_p64
,vcopyq_laneq_p8
,vcopyq_laneq_p16
,vcopyq_laneq_p64
Thank you for your reading.