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 { _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits