mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
6cc87eb119
Initial patch by Oleg Ranevskyy. llvm-svn: 220945
9 lines
253 B
LLVM
9 lines
253 B
LLVM
; 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
|
|
}
|