bolt/deps/llvm-18.1.8/llvm/test/CodeGen/AArch64/legalize-bug-bogus-cpu.ll
2025-02-14 19:21:04 +01:00

8 lines
257 B
LLVM

; RUN: llc < %s -mtriple=aarch64-eabi -mcpu=bogus
; Fix the bug in PR20557. Set mcpu to a bogus name, llc will crash in type
; legalization.
define <4 x float> @fneg4(<4 x float> %x) {
%sub = fsub <4 x float> zeroinitializer, %x
ret <4 x float> %sub
}