[llvm] [AArch64] Adjust the scheduling info of SVE FCMP on Cortex-A510. (PR #153810)
Alexander Kornienko via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 20 04:44:47 PDT 2025
alexfh wrote:
@davemgreen it looks like this commit is causing an assertion failure in LLVM (also manifests as a crash in non-assertions-enabled clang builds):
```
assertion failed at llvm/include/llvm/ADT/SmallBitVector.h:389 in SmallBitVector &llvm::SmallBitVector::set(unsigned int, unsigned int): E <= size() && "Attempted to set out-of-bounds range!"
@ 0x555998d1a904 __assert_fail
@ 0x5559953c3e05 llvm::SmallBitVector::set()
@ 0x555996b62d1e llvm::DwarfExpression::addMachineReg()
@ 0x555996b63805 llvm::DwarfExpression::addMachineRegExpression()
@ 0x555996b2a00a llvm::DwarfDebug::emitDebugLocValue()::$_0::operator()()
@ 0x555996b29eeb llvm::DwarfDebug::emitDebugLocValue()
@ 0x555996b24759 llvm::DebugLocEntry::finalize()
@ 0x555996b23c8c llvm::DwarfDebug::collectEntityInfo()
@ 0x555996b276ce llvm::DwarfDebug::endFunctionImpl()
@ 0x555996b10e98 llvm::DebugHandlerBase::endFunction()
@ 0x555996acf293 llvm::AsmPrinter::emitFunctionBody()
@ 0x55599544bf89 (anonymous namespace)::AArch64AsmPrinter::runOnMachineFunction()
@ 0x555996efdaa8 llvm::MachineFunctionPass::runOnFunction()
@ 0x5559989981e2 llvm::FPPassManager::runOnFunction()
@ 0x55599899f2b2 llvm::FPPassManager::runOnModule()
@ 0x555998998908 llvm::legacy::PassManagerImpl::run()
@ 0x555992e3ec7b clang::emitBackendOutput()
@ 0x555992adc08e clang::CodeGenAction::ExecuteAction()
@ 0x555993819c58 clang::FrontendAction::Execute()
@ 0x555993786a74 clang::CompilerInstance::ExecuteAction()
@ 0x555992ad4fa9 clang::ExecuteCompilerInvocation()
@ 0x555992ad1ae2 cc1_main()
...
0. Program arguments: clang -O3 --target=aarch64-unknown-linux-gnu -mcpu=neoverse-n1 -c -o /dev/null /tmp/llvm-reduce-tmp.wN6jE/reduced.ll
1. Code generation
2. Running pass 'Function Pass Manager' on module '/tmp/llvm-reduce-tmp.wN6jE/reduced.ll'.
3. Running pass 'AArch64 Assembly Printer' on function '@_ZN3hwy6N_SVE26detail10Sort16RowsILm16ENS1_12SharedTraitsINS1_10TraitsLaneINS1_14OrderAscendingINS_9float16_tEEEEEEES6_EEvT0_PT1_mSC_'
clang: error: clang frontend command failed with exit code 134 (use -v to see invocation)
clang version 9999.0.0 (144f3c4cbf7164938eb1b6fea1688ac428ead9c6)
Target: aarch64-unknown-linux-gnu
Thread model: posix
```
The test case is being reduced.
https://github.com/llvm/llvm-project/pull/153810
More information about the llvm-commits
mailing list