From 6abdecab95bb8acbd46281b392f4e0a4a674cd8d Mon Sep 17 00:00:00 2001 From: Phoebe Wang Date: Mon, 24 Nov 2025 10:29:13 +0800 Subject: [PATCH] [GlobalOpt] Use `x86-registered-target` to fix Buildbot failures, 2nd try --- llvm/test/Transforms/GlobalOpt/X86/apx.ll | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/llvm/test/Transforms/GlobalOpt/X86/apx.ll b/llvm/test/Transforms/GlobalOpt/X86/apx.ll index 2167b18738104..ed2bdd26a2607 100644 --- a/llvm/test/Transforms/GlobalOpt/X86/apx.ll +++ b/llvm/test/Transforms/GlobalOpt/X86/apx.ll @@ -1,8 +1,6 @@ ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6 -; RUN: opt -S -passes=globalopt -o - < %s | FileCheck %s - -target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" -target triple = "x86_64-unknown-linux-gnu" +; REQUIRES: x86-registered-target +; RUN: opt -mtriple=x86_64 -S -passes=globalopt -o - < %s | FileCheck %s define void @caller1() { ; CHECK-LABEL: define void @caller1() local_unnamed_addr {