Sign in
fuchsia
/
third_party
/
llvm-project
/
refs/heads/upstream/revert-126671-fix-omp-ockl-linking
/
.
/
llvm
/
test
/
CodeGen
/
AArch64
/
legalize-bug-bogus-cpu.ll
blob: a949abb3ee5a3696af507998d21c2a0ccd7f8708 [
file
] [
log
] [
blame
] [
edit
]
; RUN: llc < %s -mtriple=aarch64 -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
}