From ce72b2201124e7c89bb3781a7426156694eca226 Mon Sep 17 00:00:00 2001 From: Lighting Artist Date: Tue, 3 Jun 2025 10:44:44 +0800 Subject: [PATCH] [Testfix]Change the sequence if checking the import Change-Id: Ie7fcc9c77c3ae53e2e2a277eb0383ae3227dd8d6 Signed-off-by: Lighting Artist --- llvm/test/ThinLTO/X86/import-symver.ll | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/test/ThinLTO/X86/import-symver.ll b/llvm/test/ThinLTO/X86/import-symver.ll index 41cd98f8665b..ad9baa5ce978 100644 --- a/llvm/test/ThinLTO/X86/import-symver.ll +++ b/llvm/test/ThinLTO/X86/import-symver.ll @@ -9,10 +9,10 @@ ; RUN: llvm-dis %t1.bc.thinlto.imported.bc -o - | FileCheck --check-prefix=NOIMPORT %s ; When @foo gets imported, the symver must be imported as @ rather than @@. -; IMPORT: module asm ".symver foo, foo@FOO_1.2.3" +; IMPORT-DAG: module asm ".symver foo, foo@FOO_1.2.3" ; When @bar gets imported, the symver must be imported too. -; IMPORT: module asm ".symver bar, bar@BAR_1.2.3" -; IMPORT: declare dso_local i32 @bar() +; IMPORT-DAG: module asm ".symver bar, bar@BAR_1.2.3" +; IMPORT-DAG: declare dso_local i32 @bar() ; When @bar isn't imported, the symver is also not imported. ; NOIMPORT-NOT: module asm -- Gitee