[PATCH] D108364: Fix CodeGen/X86/fsafdo_test2.ll fail in release

Thomas Preud'homme via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 19 04:07:40 PDT 2021


thopre created this revision.
thopre added reviewers: xur, wmi, wenlei, hoy.
Herald added a subscriber: pengfei.
thopre requested review of this revision.
Herald added a project: LLVM.

Require debug build for CodeGen/X86/fsafdo_test2.ll since it checks for
messages only printed in debug mode.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D108364

Files:
  llvm/test/CodeGen/X86/fsafdo_test2.ll


Index: llvm/test/CodeGen/X86/fsafdo_test2.ll
===================================================================
--- llvm/test/CodeGen/X86/fsafdo_test2.ll
+++ llvm/test/CodeGen/X86/fsafdo_test2.ll
@@ -1,3 +1,4 @@
+; REQUIRES: asserts
 ; RUN: llc -enable-fs-discriminator < %s | FileCheck %s
 ; RUN: llvm-profdata merge --sample -profile-isfs -o %t.afdo %S/Inputs/fsloader.afdo
 ; RUN: llc -enable-fs-discriminator -fs-profile-file=%t.afdo -show-fs-branchprob -disable-ra-fsprofile-loader=false -disable-layout-fsprofile-loader=false < %s 2>&1 | FileCheck %s --check-prefix=LOADER


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D108364.367450.patch
Type: text/x-patch
Size: 580 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210819/1186e04d/attachment.bin>


More information about the llvm-commits mailing list