r293149 - Further fixes to test from r293146
Adam Nemet via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 25 20:34:07 PST 2017
Author: anemet
Date: Wed Jan 25 22:34:07 2017
New Revision: 293149
URL: http://llvm.org/viewvc/llvm-project?rev=293149&view=rev
Log:
Further fixes to test from r293146
Require aarch64 and avoid filename in YAML since it may require quotation.
Modified:
cfe/trunk/test/CodeGen/opt-record-MIR.c
Modified: cfe/trunk/test/CodeGen/opt-record-MIR.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/opt-record-MIR.c?rev=293149&r1=293148&r2=293149&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/opt-record-MIR.c (original)
+++ cfe/trunk/test/CodeGen/opt-record-MIR.c Wed Jan 25 22:34:07 2017
@@ -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: '{{.}}'
More information about the cfe-commits
mailing list