[llvm] 9d476f0 - Fix CodeGen/X86/fsafdo_test2.ll fail in release

Thomas Preud'homme via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 19 08:54:06 PDT 2021


Author: Thomas Preud'homme
Date: 2021-08-19T16:54:04+01:00
New Revision: 9d476f0af9a4f8789c5054370dec94f399080f0c

URL: https://github.com/llvm/llvm-project/commit/9d476f0af9a4f8789c5054370dec94f399080f0c
DIFF: https://github.com/llvm/llvm-project/commit/9d476f0af9a4f8789c5054370dec94f399080f0c.diff

LOG: Fix CodeGen/X86/fsafdo_test2.ll fail in release

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

Reviewed By: wenlei, hoy

Differential Revision: https://reviews.llvm.org/D108364

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/X86/fsafdo_test2.ll b/llvm/test/CodeGen/X86/fsafdo_test2.ll
index 35e4d46f1cce..c0ae5d2f3676 100644
--- a/llvm/test/CodeGen/X86/fsafdo_test2.ll
+++ b/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


        


More information about the llvm-commits mailing list