Skip to content

Commit

Permalink
[SLP][NFC]Add remark output to the test with the perfect diamond match
Browse files Browse the repository at this point in the history
in vectorbuild nodes, NFC.
  • Loading branch information
alexey-bataev committed May 5, 2023
1 parent 72a7231 commit b33b000
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion llvm/test/Transforms/SLPVectorizer/X86/crash_clear_undefs.ll
Original file line number Diff line number Diff line change
@@ -1,7 +1,18 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
; RUN: opt < %s -passes=slp-vectorizer -S -mtriple=x86_64-- -mcpu=corei7 | FileCheck %s
; RUN: opt < %s -passes=slp-vectorizer -S -mtriple=x86_64-- -mcpu=corei7 -pass-remarks-output=%t | FileCheck %s
; RUN: FileCheck %s --input-file=%t --check-prefix=YAML
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"

; YAML-LABEL: --- !Passed
; YAML-NEXT: Pass: slp-vectorizer
; YAML-NEXT: Name: VectorizedList
; YAML-NEXT: Function: foo
; YAML-NEXT: Args:
; YAML-NEXT: - String: 'SLP vectorized with cost '
; YAML-NEXT: - Cost: '-6'
; YAML-NEXT: - String: ' and with tree size '
; YAML-NEXT: - TreeSize: '10'
; YAML-NEXT: ...
define i1 @foo() {
; CHECK-LABEL: @foo(
; CHECK-NEXT: [[TMP1:%.*]] = load float, ptr null, align 4
Expand Down

0 comments on commit b33b000

Please sign in to comment.