[clang] [HIP] Fix another test for --no-lto (PR #201382)
Harald van Dijk via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 3 08:21:21 PDT 2026
https://github.com/hvdijk created https://github.com/llvm/llvm-project/pull/201382
None
>From ce88bfcf90c46fceaaa248c57a1b5d53a2dc3d7c Mon Sep 17 00:00:00 2001
From: Harald van Dijk <hdijk at accesssoftek.com>
Date: Wed, 3 Jun 2026 16:20:24 +0100
Subject: [PATCH] [HIP] Fix another test for --no-lto
---
clang/test/Driver/hipspv-toolchain.hip | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/clang/test/Driver/hipspv-toolchain.hip b/clang/test/Driver/hipspv-toolchain.hip
index 8eeb6e60cba50..7a9d58f546c98 100644
--- a/clang/test/Driver/hipspv-toolchain.hip
+++ b/clang/test/Driver/hipspv-toolchain.hip
@@ -38,7 +38,8 @@
// NEW-SAME: "--image=file=[[OBJ_DEV]],triple=[[TRIPLE]],arch=generic,kind=hip"
// NEW: {{".*clang-linker-wrapper"}} "--device-compiler=[[TRIPLE]]=--hip-path=[[HIP_PATH]]"
-// NEW-SAME: "--emit-fatbin-only" "--no-lto" "-o" "[[BUNDLE:.*hipfb]]"
+// NEW-SAME: "--no-lto"
+// NEW-SAME: "--emit-fatbin-only" "-o" "[[BUNDLE:.*hipfb]]"
// CHECK: [[CLANG]] "-cc1" "-triple" {{".*"}} "-aux-triple" "[[TRIPLE]]"
// CHECK-SAME: "-emit-obj"
More information about the cfe-commits
mailing list