[llvm] 8f4e547 - [AFDO] Require x86_64-linux in a testcase

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 10 07:52:36 PDT 2021


Author: Kazu Hirata
Date: 2021-07-10T07:52:20-07:00
New Revision: 8f4e5474de74169c6c2f7dddbb84c93d3e3ccb07

URL: https://github.com/llvm/llvm-project/commit/8f4e5474de74169c6c2f7dddbb84c93d3e3ccb07
DIFF: https://github.com/llvm/llvm-project/commit/8f4e5474de74169c6c2f7dddbb84c93d3e3ccb07.diff

LOG: [AFDO] Require x86_64-linux in a testcase

This patch fixes a testcase failure by requring x86_64-linux in a
testcase.

Added: 
    

Modified: 
    llvm/test/Transforms/SampleProfile/merge-function-attributes.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/SampleProfile/merge-function-attributes.ll b/llvm/test/Transforms/SampleProfile/merge-function-attributes.ll
index baf8704cea48..ec1de7a5792a 100644
--- a/llvm/test/Transforms/SampleProfile/merge-function-attributes.ll
+++ b/llvm/test/Transforms/SampleProfile/merge-function-attributes.ll
@@ -1,3 +1,4 @@
+; REQUIRES: x86_64-linux
 ; RUN: opt < %s -passes=sample-profile -sample-profile-file=%S/Inputs/merge-function-attributes.afdo -S | FileCheck %s
 
 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"


        


More information about the llvm-commits mailing list