From d1e02ea47a6ad0e90a2e94eef280592e6488bb9e Mon Sep 17 00:00:00 2001 From: Teresa Johnson Date: Mon, 2 Nov 2020 09:05:11 -0800 Subject: [PATCH] [test] Fix unused FileCheck prefix in ThinLTO test Add intended and missing prefix check. --- llvm/test/ThinLTO/X86/devirt_promote.ll | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/test/ThinLTO/X86/devirt_promote.ll b/llvm/test/ThinLTO/X86/devirt_promote.ll index e93b4192cf18..367c72888238 100644 --- a/llvm/test/ThinLTO/X86/devirt_promote.ll +++ b/llvm/test/ThinLTO/X86/devirt_promote.ll @@ -33,6 +33,9 @@ ; NM-INDEX2: T _ZN1A1nEi.llvm. ; NM-INDEX2-NOT: U _ZN1A1nEi +; The thin link devirtualizes all calls to _ZN1A1nEi. +; PRINT: Devirtualized call to {{.*}} (_ZN1A1nEi) + ; We should devirt call to _ZN1A1nEi once in importing module and once ; in original (exporting) module. ; REMARK-COUNT-2: single-impl: devirtualized a call to _ZN1A1nEi.llvm.