[PATCH] D88438: BreakCriticalEdges: bail if loop-simplify form requested for CallBr terminated BB

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 30 18:08:40 PDT 2020


efriedma added inline comments.


================
Comment at: llvm/test/CodeGen/PowerPC/loop-reduce-callbr.ll:1
+; RUN: opt -loop-reduce %s
+
----------------
nickdesaulniers wrote:
> is there a better way to express: "this should not trip an assertion build?"
Just running opt will automatically check the exit code, so this works.  Generally you'd want to add a few CHECK lines to ensure loop-reduce is actually doing what you expect it to, though, so the test doesn't bitrot.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D88438/new/

https://reviews.llvm.org/D88438



More information about the llvm-commits mailing list