mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 00:50:03 +08:00
Further fixes to test from r293146
Require aarch64 and avoid filename in YAML since it may require quotation. llvm-svn: 293149
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// REQUIRES: aarch64-registered-target
|
||||
// RUN: %clang_cc1 -triple arm64-apple-ios -S -o /dev/null %s -O2 -dwarf-column-info -Rpass-missed=regalloc 2>&1 | FileCheck -check-prefix=REMARK %s
|
||||
// RUN: %clang_cc1 -triple arm64-apple-ios -S -o /dev/null %s -O2 -dwarf-column-info 2>&1 | FileCheck -allow-empty -check-prefix=NO_REMARK %s
|
||||
// RUN: %clang_cc1 -triple arm64-apple-ios -S -o /dev/null %s -O2 -dwarf-column-info -opt-record-file %t.yaml
|
||||
@@ -14,14 +15,14 @@ void foo(float *p, int i) {
|
||||
}
|
||||
}
|
||||
|
||||
// REMARK: opt-record-MIR.c:9:11: remark: {{.}} spills {{.}} reloads generated in loop
|
||||
// REMARK: opt-record-MIR.c:10:11: remark: {{.}} spills {{.}} reloads generated in loop
|
||||
// NO_REMARK-NOT: remark:
|
||||
|
||||
// YAML: --- !Missed
|
||||
// YAML: Pass: regalloc
|
||||
// YAML: Name: LoopSpillReload
|
||||
// YAML: DebugLoc: { File: {{.*}}opt-record-MIR.c,
|
||||
// YAML: Line: 9, Column: 11 }
|
||||
// YAML: DebugLoc: { File: {{.*}},
|
||||
// YAML: Line: 10, Column: 11 }
|
||||
// YAML: Function: foo
|
||||
// YAML: Args:
|
||||
// YAML: - NumSpills: '{{.}}'
|
||||
|
||||
Reference in New Issue
Block a user