[llvm] 25c2cc4 - [GlobalOpt] Use `target triple` to fix Buildbot failures, NFCI (#169260)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 23 17:48:47 PST 2025
Author: Phoebe Wang
Date: 2025-11-24T01:48:43Z
New Revision: 25c2cc4b98092e8dccc8ff46162bea65e9a63bbc
URL: https://github.com/llvm/llvm-project/commit/25c2cc4b98092e8dccc8ff46162bea65e9a63bbc
DIFF: https://github.com/llvm/llvm-project/commit/25c2cc4b98092e8dccc8ff46162bea65e9a63bbc.diff
LOG: [GlobalOpt] Use `target triple` to fix Buildbot failures, NFCI (#169260)
This supposes to fix LLVM Buildbot failures after #164768. I don't have
the environment to verify though.
Added:
Modified:
llvm/test/Transforms/GlobalOpt/X86/apx.ll
Removed:
################################################################################
diff --git a/llvm/test/Transforms/GlobalOpt/X86/apx.ll b/llvm/test/Transforms/GlobalOpt/X86/apx.ll
index aaf6abac966e8..2167b18738104 100644
--- a/llvm/test/Transforms/GlobalOpt/X86/apx.ll
+++ b/llvm/test/Transforms/GlobalOpt/X86/apx.ll
@@ -1,5 +1,8 @@
; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 6
-; RUN: opt -mtriple=x86_64 -S -passes=globalopt -o - < %s | FileCheck %s
+; 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"
define void @caller1() {
; CHECK-LABEL: define void @caller1() local_unnamed_addr {
More information about the llvm-commits
mailing list