[llvm] d1e02ea - [test] Fix unused FileCheck prefix in ThinLTO test

Teresa Johnson via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 2 09:06:58 PST 2020


Author: Teresa Johnson
Date: 2020-11-02T09:06:36-08:00
New Revision: d1e02ea47a6ad0e90a2e94eef280592e6488bb9e

URL: https://github.com/llvm/llvm-project/commit/d1e02ea47a6ad0e90a2e94eef280592e6488bb9e
DIFF: https://github.com/llvm/llvm-project/commit/d1e02ea47a6ad0e90a2e94eef280592e6488bb9e.diff

LOG: [test] Fix unused FileCheck prefix in ThinLTO test

Add intended and missing prefix check.

Added: 
    

Modified: 
    llvm/test/ThinLTO/X86/devirt_promote.ll

Removed: 
    


################################################################################
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.


        


More information about the llvm-commits mailing list