aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorAmina Chabane <amina.chabane@arm.com>2025-07-30 10:56:14 +0100
committerGitHub <noreply@github.com>2025-07-30 10:56:14 +0100
commit62744f368166f223740e5f6105aeb11ea854728d (patch)
treeb9d1e91d119b30fdb8a11cf41d1d5f7a4d951e6c /clang/lib/CodeGen/CodeGenModule.cpp
parent2ec91a5ec41c93e79a16ddca02de14b07d593c2c (diff)
downloadllvm-62744f368166f223740e5f6105aeb11ea854728d.zip
llvm-62744f368166f223740e5f6105aeb11ea854728d.tar.gz
llvm-62744f368166f223740e5f6105aeb11ea854728d.tar.bz2
[AArch64][NEON] NEON intrinsic compilation error with -fno-lax-vector-conversion flag fix (#149329)
Issue originally raised in https://github.com/llvm/llvm-project/issues/71362#issuecomment-3028515618. Certain NEON intrinsics that operate on poly types (e.g. poly8x8_t) failed to compile with the -fno-lax-vector-conversions flag. This patch updates NeonEmitter.cpp to insert an explicit __builtin_bit_cast from poly types to the required signed integer vector types when generating lane-related intrinsics. A test 'neon-bitcast-poly.ll' is included.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions