[llvm] ca76e9f - [test] Fix eliminate-callsite-inline.ll under NPM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 18 12:40:57 PST 2020


Author: Arthur Eubanks
Date: 2020-11-18T12:39:39-08:00
New Revision: ca76e9f34da844d5f78029f0d437efef08b4dd3f

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

LOG: [test] Fix eliminate-callsite-inline.ll under NPM

The NPM inliner does not remove arbitrary unused internal functions, and
that is not the point of this test.

Added: 
    

Modified: 
    llvm/test/Transforms/NewGVN/eliminate-callsite-inline.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/NewGVN/eliminate-callsite-inline.ll b/llvm/test/Transforms/NewGVN/eliminate-callsite-inline.ll
index 699bbb32253a..4cbeef19711b 100644
--- a/llvm/test/Transforms/NewGVN/eliminate-callsite-inline.ll
+++ b/llvm/test/Transforms/NewGVN/eliminate-callsite-inline.ll
@@ -2,7 +2,6 @@
 
 ; CHECK-LABEL: @f2()
 ; CHECK-NEXT:    ret void
-; CHECK-NOT: @f1
 
 define void @f2() {
   call void @f1()


        


More information about the llvm-commits mailing list