[llvm] b33b000 - [SLP][NFC]Add remark output to the test with the perfect diamond match
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Fri May 5 08:20:09 PDT 2023
Author: Alexey Bataev
Date: 2023-05-05T08:19:54-07:00
New Revision: b33b000ac8ec339a795dc33f16213def54d13cf4
URL: https://github.com/llvm/llvm-project/commit/b33b000ac8ec339a795dc33f16213def54d13cf4
DIFF: https://github.com/llvm/llvm-project/commit/b33b000ac8ec339a795dc33f16213def54d13cf4.diff
LOG: [SLP][NFC]Add remark output to the test with the perfect diamond match
in vectorbuild nodes, NFC.
Added:
Modified:
llvm/test/Transforms/SLPVectorizer/X86/crash_clear_undefs.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/SLPVectorizer/X86/crash_clear_undefs.ll b/llvm/test/Transforms/SLPVectorizer/X86/crash_clear_undefs.ll
index 4eb63cbd44d5a..5701ec997e728 100644
--- a/llvm/test/Transforms/SLPVectorizer/X86/crash_clear_undefs.ll
+++ b/llvm/test/Transforms/SLPVectorizer/X86/crash_clear_undefs.ll
@@ -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
More information about the llvm-commits
mailing list