[all-commits] [llvm/llvm-project] db08b0: [ARM][AArch64] Bail out if CandidatesWithoutStackF...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Fri Jun 14 00:29:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: db08b0999d1b42391e34ac0c469b92de98e9f550
https://github.com/llvm/llvm-project/commit/db08b0999d1b42391e34ac0c469b92de98e9f550
Author: Nikita Popov <npopov at redhat.com>
Date: 2024-06-14 (Fri, 14 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
M llvm/lib/Target/ARM/ARMBaseInstrInfo.cpp
A llvm/test/CodeGen/ARM/machine-outliner-no-candidates-without-stack-fixup.ll
Log Message:
-----------
[ARM][AArch64] Bail out if CandidatesWithoutStackFixups is empty (#95410)
The following code assumes that RepeatedSequenceLocs is non-empty. Bail
out if there are less than 2 candidates left, as no outlining is
possible in that case. The same check is already present in all the
other places where elements from RepeatedSequenceLocs may be dropped.
This fixes the issue reported at:
https://github.com/llvm/llvm-project/pull/93965#issuecomment-2151989716
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list