[llvm] a22ba5a - [test] Pin dead-calls-willreturn.ll to legacy PM

Arthur Eubanks via llvm-commits llvm-commits at lists.llvm.org
Sat Jan 23 12:35:53 PST 2021


Author: Arthur Eubanks
Date: 2021-01-23T12:35:36-08:00
New Revision: a22ba5afc8d9e3ec00be3e374d40379d1648f53d

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

LOG: [test] Pin dead-calls-willreturn.ll to legacy PM

The new PM inliner does not delete dead calls.

Added: 
    

Modified: 
    llvm/test/Transforms/Inline/dead-calls-willreturn.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Transforms/Inline/dead-calls-willreturn.ll b/llvm/test/Transforms/Inline/dead-calls-willreturn.ll
index c36d044b1ac3..ae714e16cd04 100644
--- a/llvm/test/Transforms/Inline/dead-calls-willreturn.ll
+++ b/llvm/test/Transforms/Inline/dead-calls-willreturn.ll
@@ -1,5 +1,5 @@
 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
-; RUN: opt -inline -S %s | FileCheck %s
+; RUN: opt -inline -S -enable-new-pm=0 %s | FileCheck %s
 
 ; readnone but may not return according to attributes.
 define void @readnone_may_not_return() nounwind readnone ssp {


        


More information about the llvm-commits mailing list