mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
0b20ff06da
If an alias inherits directly from InstAlias then it doesn't get any default "Requires" values, so llvm-mc will allow it even on architectures that don't support the underlying instruction. This tidies up the obvious VFP and NEON cases I found. llvm-svn: 193340
8 lines
265 B
ArmAsm
8 lines
265 B
ArmAsm
@ RUN: not llvm-mc -triple=armv7-apple-darwin -mattr=-neon < %s 2> %t
|
|
@ RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s
|
|
|
|
vmov d5, d10
|
|
vmov q4, q5
|
|
@ CHECK-ERRORS: error: instruction requires: NEON
|
|
@ CHECK-ERRORS: error: instruction requires: NEON
|