Skip to content

Commit b33b000

Browse files
committed
[SLP][NFC]Add remark output to the test with the perfect diamond match
in vectorbuild nodes, NFC.
1 parent 72a7231 commit b33b000

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

llvm/test/Transforms/SLPVectorizer/X86/crash_clear_undefs.ll

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2-
; RUN: opt < %s -passes=slp-vectorizer -S -mtriple=x86_64-- -mcpu=corei7 | FileCheck %s
2+
; RUN: opt < %s -passes=slp-vectorizer -S -mtriple=x86_64-- -mcpu=corei7 -pass-remarks-output=%t | FileCheck %s
3+
; RUN: FileCheck %s --input-file=%t --check-prefix=YAML
34
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
45

6+
; YAML-LABEL: --- !Passed
7+
; YAML-NEXT: Pass: slp-vectorizer
8+
; YAML-NEXT: Name: VectorizedList
9+
; YAML-NEXT: Function: foo
10+
; YAML-NEXT: Args:
11+
; YAML-NEXT: - String: 'SLP vectorized with cost '
12+
; YAML-NEXT: - Cost: '-6'
13+
; YAML-NEXT: - String: ' and with tree size '
14+
; YAML-NEXT: - TreeSize: '10'
15+
; YAML-NEXT: ...
516
define i1 @foo() {
617
; CHECK-LABEL: @foo(
718
; CHECK-NEXT: [[TMP1:%.*]] = load float, ptr null, align 4

0 commit comments

Comments
 (0)