diff --git a/llvm/test/ThinLTO/X86/save_objects.ll b/llvm/test/ThinLTO/X86/save_objects.ll --- a/llvm/test/ThinLTO/X86/save_objects.ll +++ b/llvm/test/ThinLTO/X86/save_objects.ll @@ -21,7 +21,7 @@ ; RUN: ls %t.cache | count 3 ; Check the name of object in directory has arch name included. -; RUN: ls %t.thin.out | grep x86_64.thinlto.o | count 2 +; RUN: ls %t.thin.out | grep "x86_64\..*thinlto\.o" | count 2 target datalayout = "e-m:o-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"