Skip to content

Commit ef0316a

Browse files
committed
Test updates
1 parent 34e6874 commit ef0316a

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

llvm/test/CodeGen/AArch64/GlobalISel/arm64-fallback.ll

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1-
; RUN: llc -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -verify-machineinstrs %s -o %t.out 2> %t.err
1+
; RUN: not llc -O0 -global-isel -global-isel-abort=2 -pass-remarks-missed='gisel*' -verify-machineinstrs %s -o - > %t.out 2> %t.err
22
; RUN: FileCheck %s --check-prefix=FALLBACK-WITH-REPORT-OUT < %t.out
33
; RUN: FileCheck %s --check-prefix=FALLBACK-WITH-REPORT-ERR < %t.err
44
; RUN: not --crash llc -global-isel -mtriple aarch64_be %s -o - 2>&1 | FileCheck %s --check-prefix=BIG-ENDIAN
5+
56
; This file checks that the fallback path to selection dag works.
67
; The test is fragile in the sense that it must be updated to expose
78
; something that fails with global-isel.
89
; When we cannot produce a test case anymore, that means we can remove
910
; the fallback path.
1011

12+
; -o - > %t.out is used instead of -o %t.out because llc does not write the output
13+
; file if an error is emitted, but it will still print to stdout.
14+
1115
target datalayout = "e-m:o-i64:64-i128:128-n32:64-S128"
1216
target triple = "aarch64--"
1317

llvm/test/CodeGen/AArch64/arm64-preserve-all.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ define preserve_allcc void @preserve_all() {
4343
define dso_local void @normal_cc_caller() {
4444
entry:
4545
%v = alloca i32, align 4
46-
call void asm sideeffect "mov x9, $0", "N,~{x9}"(i32 48879) #2
46+
call void asm sideeffect "mov x9, $0", "n,~{x9}"(i32 48879) #2
4747
call void asm sideeffect "movi v9.2d, #0","~{v9}" () #2
4848

4949

llvm/test/CodeGen/AArch64/arm64-preserve-most.ll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ define preserve_mostcc void @preserve_most() {
2929
define dso_local void @normal_cc_caller() {
3030
entry:
3131
%v = alloca i32, align 4
32-
call void asm sideeffect "mov x9, $0", "N,~{x9}"(i32 48879) #2
32+
call void asm sideeffect "mov x9, $0", "n,~{x9}"(i32 48879) #2
3333
call preserve_mostcc void @preserve_most()
3434
%0 = load i32, ptr %v, align 4
3535
%1 = call i32 asm sideeffect "mov ${0:w}, w9", "=r,r"(i32 %0) #2

0 commit comments

Comments
 (0)