Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
toolchain
/
llvm-project
/
bc041b82d44b51a3b7da79c38e4052e28ff8011c
/
.
/
llvm
/
test
/
CodeGen
/
AArch64
/
legalize-bug-bogus-cpu.ll
blob: b785a8f045f4e2f90417c1b2051d9640b0b8b818 [
file
] [
log
] [
blame
]
; RUN: llc -march=aarch64 -mcpu=bogus -o - %s
; 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
}