view test/CodeGen/AArch64/legalize-bug-bogus-cpu.ll @ 100:7d135dc70f03 LLVM 3.9

LLVM 3.9
author Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 22:53:40 +0900
parents 60c9769439b8
children 1172e4bd9c6f
line wrap: on
line source

; 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
}