Issue 109270
Summary Crash compiling svdupq_n_f32
Labels backend:AArch64, crash-on-valid
Assignees
Reporter mplatings
    `reduced.cpp`:
```
__attribute__((__clang_arm_builtin_alias(__builtin_sve_svdupq_n_f32))) int
a(float, float, float, float);
float b, c;
int d = a(b, b, b, c);
```
```
$ clang -cc1 -triple aarch64-unknown-linux-gnu -emit-obj -target-feature -complxnum -target-feature -dotprod -target-feature -neon -target-feature -rdm -target-feature +sve2 reduced.cpp 
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.      Program arguments: clang -cc1 -triple aarch64-unknown-linux-gnu -emit-obj -target-feature -complxnum -target-feature -dotprod -target-feature -neon -target-feature -rdm -target-feature +sve2 reduced.cpp
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Function Pass Manager' on module 'reduced.cpp'.
4.      Running pass 'AArch64 Instruction Selection' on function '@__cxx_global_var_init'
#0 0x000079d40725cefa llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.0+0xf8defa)
#1 0x000079d40725aa94 llvm::sys::RunSignalHandlers() (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.0+0xf8ba94)
#2 0x000079d40725d5ab (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.0+0xf8e5ab)
#3 0x000079d405d87990 (/lib/x86_64-linux-gnu/libc.so.6+0x42990)
#4 0x000079d4073bf69d llvm::MetadataTracking::track(void*, llvm::Metadata&, llvm::PointerUnion<llvm::MetadataAsValue*, llvm::Metadata*, llvm::DebugValueUser*>) (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.0+0x10f069d)
#5 0x000079d40928af66 (/usr/lib/llvm-20/bin/../lib/libLLVM.so.20.0+0x2fbbf66)
#6 0x00007fff8862ef88 
Segmentation fault (core dumped)
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to