[PATCH] D129293: [IndVars] Simplify instructions after replacing header phi with preheader value

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 14 00:08:26 PDT 2022


mstorsjo added a comment.

This triggers failed asserts for me, with https://martin.st/temp/macroblock-reduced.c:

  $ clang -target aarch64-linux-gnu -c macroblock-reduced.c -O2
  clang: ../lib/Transforms/Scalar/IndVarSimplify.cpp:2059: bool {anonymous}::IndVarSimplify::run(llvm::Loop*): Assertion `L->isRecursivelyLCSSAForm(*DT, *LI) && "Indvars did not preserve LCSSA!"' failed.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D129293



More information about the llvm-commits mailing list