mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-27 22:55:25 +00:00
09f1564d23
Since r244955, we try to use the short-form ErrorInfo when both tries failed, and the long-form match failed on a suffix operand. However, this means we sometimes mix ErrorInfo and MatchResult (one manifestation of this being PR24498). Instead, restore both. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@245469 91177308-0d34-0410-b5e6-96231b3b80d8
45 lines
1.5 KiB
ArmAsm
45 lines
1.5 KiB
ArmAsm
// RUN: not llvm-mc -triple aarch64-none-linux-gnu -mattr=-neon < %s 2> %t
|
|
// RUN: FileCheck --check-prefix=CHECK-ERROR < %t %s
|
|
|
|
fmla v3.4s, v12.4s, v17.4s
|
|
fmla v1.2d, v30.2d, v20.2d
|
|
fmla v9.2s, v9.2s, v0.2s
|
|
// CHECK-ERROR: error: instruction requires: neon
|
|
// CHECK-ERROR-NEXT: fmla v3.4s, v12.4s, v17.4s
|
|
// CHECK-ERROR-NEXT: ^
|
|
// CHECK-ERROR-NEXT: error: instruction requires: neon
|
|
// CHECK-ERROR-NEXT: fmla v1.2d, v30.2d, v20.2d
|
|
// CHECK-ERROR-NEXT: ^
|
|
// CHECK-ERROR-NEXT: error: instruction requires: neon
|
|
// CHECK-ERROR-NEXT: fmla v9.2s, v9.2s, v0.2s
|
|
// CHECK-ERROR-NEXT: ^
|
|
|
|
fmls v3.4s, v12.4s, v17.4s
|
|
fmls v1.2d, v30.2d, v20.2d
|
|
fmls v9.2s, v9.2s, v0.2s
|
|
|
|
// CHECK-ERROR: error: instruction requires: neon
|
|
// CHECK-ERROR-NEXT: fmls v3.4s, v12.4s, v17.4s
|
|
// CHECK-ERROR-NEXT: ^
|
|
// CHECK-ERROR-NEXT: error: instruction requires: neon
|
|
// CHECK-ERROR-NEXT: fmls v1.2d, v30.2d, v20.2d
|
|
// CHECK-ERROR-NEXT: ^
|
|
// CHECK-ERROR-NEXT: error: instruction requires: neon
|
|
// CHECK-ERROR-NEXT: fmls v9.2s, v9.2s, v0.2s
|
|
// CHECK-ERROR-NEXT: ^
|
|
|
|
|
|
fmls.4s v3, v12, v17
|
|
fmls.2d v1, v30, v20
|
|
fmls.2s v9, v9, v0
|
|
|
|
// CHECK-ERROR: error: instruction requires: neon
|
|
// CHECK-ERROR-NEXT: fmls.4s v3, v12, v17
|
|
// CHECK-ERROR-NEXT: ^
|
|
// CHECK-ERROR-NEXT: error: instruction requires: neon
|
|
// CHECK-ERROR-NEXT: fmls.2d v1, v30, v20
|
|
// CHECK-ERROR-NEXT: ^
|
|
// CHECK-ERROR-NEXT: error: instruction requires: neon
|
|
// CHECK-ERROR-NEXT: fmls.2s v9, v9, v0
|
|
// CHECK-ERROR-NEXT: ^
|