mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
Prefix failing commands with not to make clear they are expected to fail.
llvm-svn: 185554
This commit is contained in:
parent
4af20b9fde
commit
006ee945bb
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=arm -mcpu=cortex-a8 2>&1 | FileCheck %s
|
||||
; RUN: not llc < %s -march=arm -mcpu=cortex-a8 2>&1 | FileCheck %s
|
||||
|
||||
; Check for error message:
|
||||
; CHECK: non-trivial scalar-to-vector conversion, possible invalid constraint for vector type
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=arm -mcpu=cortex-a8 2>&1 | FileCheck %s
|
||||
; RUN: not llc < %s -march=arm -mcpu=cortex-a8 2>&1 | FileCheck %s
|
||||
|
||||
; Check for error message:
|
||||
; CHECK: scalar-to-vector conversion failed, possible invalid constraint for vector type
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=arm -mcpu=cortex-a8 2>&1 | FileCheck %s
|
||||
; RUN: not llc < %s -march=arm -mcpu=cortex-a8 2>&1 | FileCheck %s
|
||||
|
||||
; Check for error message:
|
||||
; CHECK: error: inline asm not supported yet: don't know how to handle tied indirect register inputs
|
||||
|
@ -1,5 +1,5 @@
|
||||
; RUN: llc < %s -march=r600 -show-mc-encoding -mcpu=barts | FileCheck --check-prefix=NI-CHECK %s
|
||||
; RUN: llc < %s -march=r600 -show-mc-encoding -mcpu=cayman | FileCheck --check-prefix=CM-CHECK %s
|
||||
; RUN: not llc < %s -march=r600 -show-mc-encoding -mcpu=cayman | FileCheck --check-prefix=CM-CHECK %s
|
||||
|
||||
; NI-CHECK: @vtx_fetch32
|
||||
; NI-CHECK: VTX_READ_32 T[[GPR:[0-9]]].X, T[[GPR]].X, 0 ; encoding: [0x40,0x01,0x0[[GPR]],0x10,0x0[[GPR]],0xf0,0x5f,0x13,0x00,0x00,0x08,0x00
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86-64 -mattr=-sse 2>&1 | FileCheck --check-prefix NOSSE %s
|
||||
; RUN: not llc < %s -march=x86-64 -mattr=-sse 2>&1 | FileCheck --check-prefix NOSSE %s
|
||||
; RUN: llc < %s -march=x86-64 | FileCheck %s
|
||||
|
||||
; NOSSE: {{SSE register return with SSE disabled}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: llc < %s -march=x86 -mcpu=i686 -mattr=-sse 2>&1 | FileCheck --check-prefix NOSSE %s
|
||||
; RUN: not llc < %s -march=x86 -mcpu=i686 -mattr=-sse 2>&1 | FileCheck --check-prefix NOSSE %s
|
||||
; RUN: llc < %s -march=x86 -mcpu=i686 -mattr=+sse | FileCheck %s
|
||||
|
||||
; NOSSE: {{SSE register return with SSE disabled}}
|
||||
|
@ -1,4 +1,4 @@
|
||||
; RUN: FileCheck -input-file %s %s 2>&1 | FileCheck -check-prefix DIAG %s
|
||||
; RUN: not FileCheck -input-file %s %s 2>&1 | FileCheck -check-prefix DIAG %s
|
||||
|
||||
CHECK-NOT: test
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// 64 bit little endian
|
||||
// RUN: llvm-mc -filetype=obj -triple aarch64-none-linux-gnu %s -o - | llvm-objdump -d
|
||||
// RUN: llvm-mc -filetype=obj -triple aarch64-none-linux-gnu %s -o - | llvm-objdump -d -
|
||||
|
||||
// We just want to see if llvm-objdump works at all.
|
||||
// CHECK: .text
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: llvm-mc -triple aarch64-none-linux-gnu < %s 2>&1 | FileCheck %s
|
||||
// RUN: not llvm-mc -triple aarch64-none-linux-gnu < %s 2>&1 | FileCheck %s
|
||||
|
||||
// Write-only
|
||||
mrs x10, icc_eoir1_el1
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: llvm-mc -triple aarch64-none-linux-gnu < %s 2>&1 | FileCheck %s
|
||||
// RUN: not llvm-mc -triple aarch64-none-linux-gnu < %s 2>&1 | FileCheck %s
|
||||
// Write-only
|
||||
mrs x12, trcoslar
|
||||
mrs x10, trclar
|
||||
|
@ -1,9 +1,9 @@
|
||||
@ RUN: llvm-mc -show-encoding -arch=arm < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ARM-ONLY
|
||||
@ RUN: not llvm-mc -show-encoding -arch=arm < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ARM-ONLY
|
||||
@ RUN: llvm-mc -show-encoding -triple=armv4t < %s 2>&1| FileCheck %s --check-prefix=CHECK-ARM-THUMB
|
||||
@ RUN: llvm-mc -show-encoding -arch=arm -mcpu=cortex-a15 < %s 2>&1| FileCheck %s --check-prefix=CHECK-ARM-THUMB
|
||||
@ RUN: llvm-mc -show-encoding -arch=arm -mcpu=cortex-m3 < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
||||
@ RUN: llvm-mc -show-encoding -triple=armv7m < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
||||
@ RUN: llvm-mc -show-encoding -triple=armv6m < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
||||
@ RUN: not llvm-mc -show-encoding -arch=arm -mcpu=cortex-m3 < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
||||
@ RUN: not llvm-mc -show-encoding -triple=armv7m < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
||||
@ RUN: not llvm-mc -show-encoding -triple=armv6m < %s 2>&1 | FileCheck %s --check-prefix=CHECK-THUMB-ONLY
|
||||
|
||||
@ Make sure correct diagnostics are given for CPUs without support for
|
||||
@ one or other of the execution states.
|
||||
|
@ -1,4 +1,4 @@
|
||||
@ RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -show-encoding -mattr=-trustzone < %s | FileCheck %s -check-prefix=NOTZ
|
||||
@ RUN: not llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -show-encoding -mattr=-trustzone < %s | FileCheck %s -check-prefix=NOTZ
|
||||
@ RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 -show-encoding -mattr=trustzone < %s | FileCheck %s -check-prefix=TZ
|
||||
|
||||
.syntax unified
|
||||
|
@ -1,4 +1,4 @@
|
||||
@ RUN: llvm-mc -triple=armv7-apple-darwin -mcpu=cortex-a8 -show-encoding -mattr=-trustzone < %s | FileCheck %s -check-prefix=NOTZ
|
||||
@ RUN: not llvm-mc -triple=armv7-apple-darwin -mcpu=cortex-a8 -show-encoding -mattr=-trustzone < %s | FileCheck %s -check-prefix=NOTZ
|
||||
@ RUN: llvm-mc -triple=armv7-apple-darwin -mcpu=cortex-a8 -show-encoding -mattr=trustzone < %s | FileCheck %s -check-prefix=TZ
|
||||
|
||||
.syntax unified
|
||||
|
@ -1,4 +1,4 @@
|
||||
@ RUN: llvm-mc %s -triple=armv7-unknown-linux-gnueabi \
|
||||
@ RUN: not llvm-mc %s -triple=armv7-unknown-linux-gnueabi \
|
||||
@ RUN: -filetype=obj -o /dev/null 2>&1 | FileCheck %s
|
||||
|
||||
@ Check the diagnostics for mismatched .fnend directive
|
||||
|
@ -1,4 +1,4 @@
|
||||
@ RUN: llvm-mc %s -triple=armv7-unknown-linux-gnueabi \
|
||||
@ RUN: not llvm-mc %s -triple=armv7-unknown-linux-gnueabi \
|
||||
@ RUN: -filetype=obj -o /dev/null 2>&1 | FileCheck %s
|
||||
|
||||
@ Check the diagnostics for the mismatched .fnstart directives.
|
||||
|
@ -1,4 +1,4 @@
|
||||
@ RUN: llvm-mc -triple=armv7-apple-darwin -mcpu=cortex-a8 < %s 2>&1 | FileCheck %s
|
||||
@ RUN: not llvm-mc -triple=armv7-apple-darwin -mcpu=cortex-a8 < %s 2>&1 | FileCheck %s
|
||||
|
||||
hint #5
|
||||
hint #100
|
||||
|
@ -1,4 +1,4 @@
|
||||
@ RUN: llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 < %s 2>&1 | FileCheck %s
|
||||
@ RUN: not llvm-mc -triple=thumbv7-apple-darwin -mcpu=cortex-a8 < %s 2>&1 | FileCheck %s
|
||||
|
||||
hint #5
|
||||
hint.w #5
|
||||
|
@ -1,5 +1,5 @@
|
||||
# RUN: llvm-mc -triple i386-linux-gnu < %s 2>&1 | FileCheck %s -check-prefix=ELF
|
||||
# RUN: llvm-mc -triple i386-apple-darwin < %s 2>&1 | FileCheck %s -check-prefix=DARWIN
|
||||
# RUN: not llvm-mc -triple i386-linux-gnu < %s 2>&1 | FileCheck %s -check-prefix=ELF
|
||||
# RUN: not llvm-mc -triple i386-apple-darwin < %s 2>&1 | FileCheck %s -check-prefix=DARWIN
|
||||
|
||||
.align 3
|
||||
# ELF: error: alignment must be a power of 2
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llvm-mc -triple i386-apple-darwin9 %s | FileCheck %s
|
||||
# RUN: not llvm-mc -triple i386-apple-darwin9 %s | FileCheck %s
|
||||
|
||||
# CHECK: TEST0:
|
||||
# CHECK: .align 1
|
||||
|
@ -1,4 +1,4 @@
|
||||
// RUN: not llvm-mc -triple i386-apple-darwin10 %s 2> %t.err | FileCheck %s
|
||||
// RUN: llvm-mc -triple i386-apple-darwin10 %s | FileCheck %s
|
||||
|
||||
.macro test1
|
||||
.globl "$0 $1 $2 $$3 $n"
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
# RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
|
||||
# Missing .bundle_align_mode argument
|
||||
# CHECK: error: unknown token
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
# RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
|
||||
# CHECK: ERROR: Fragment can't be larger than a bundle size
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
# RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
|
||||
# Missing .bundle_align_mode argument
|
||||
# CHECK: error: invalid option
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
# RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
|
||||
# .bundle_lock can't come without a .bundle_align_mode before it
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
# RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
|
||||
# This test invokes .bundle_lock and then switches to a different section
|
||||
# w/o the appropriate unlock.
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
# RUN: not llvm-mc -filetype=obj -triple x86_64-pc-linux-gnu %s -o - 2>&1 | FileCheck %s
|
||||
|
||||
# .bundle_unlock can't come without a .bundle_lock before it
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user