]> granicus.if.org Git - clang/commitdiff
Further fixes to test from r293146
authorAdam Nemet <anemet@apple.com>
Thu, 26 Jan 2017 04:34:07 +0000 (04:34 +0000)
committerAdam Nemet <anemet@apple.com>
Thu, 26 Jan 2017 04:34:07 +0000 (04:34 +0000)
Require aarch64 and avoid filename in YAML since it may require quotation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@293149 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/opt-record-MIR.c

index 6d31d921aff8b0db60c48c92c2098e7704c6f111..00b91ffdf3cba6f296cbc414e3dabe2b4ac58b2d 100644 (file)
@@ -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:       '{{.}}'