[PATCH] D35608: Migrate SimplifyLibCalls to new OptimizationRemarkEmitter

Adam Nemet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 25 22:11:43 PDT 2017


anemet accepted this revision.
anemet added a comment.

LGTM with a minor request.  Thanks!



================
Comment at: test/Transforms/Util/libcalls-opt-remarks.ll:1-2
+; RUN: opt < %s -instcombine -o /dev/null  -pass-remarks-output=%t -S -pass-remarks=instcombine \
+; RUN:     2>&1 | FileCheck %s
+; RUN: cat %t | FileCheck -check-prefix=YAML %s
----------------
Please also test this from the new pass manager.  See the lines for example in Davide's TailCall patch for the second invocation of opt with -passes=.


https://reviews.llvm.org/D35608





More information about the llvm-commits mailing list