From 8f4e5474de74169c6c2f7dddbb84c93d3e3ccb07 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sat, 10 Jul 2021 07:50:24 -0700 Subject: [PATCH] [AFDO] Require x86_64-linux in a testcase This patch fixes a testcase failure by requring x86_64-linux in a testcase. --- llvm/test/Transforms/SampleProfile/merge-function-attributes.ll | 1 + 1 file changed, 1 insertion(+) 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"