[PATCH] D111836: [indvars] Use fact loop must exit to canonicalize to unsigned conditions

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 17 22:59:53 PDT 2021


mkazantsev added inline comments.


================
Comment at: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1443
+  case Instruction::ZExt:
+    switch (ICmp->getPredicate()) {
+    default:
----------------
`isSigned && isRelational`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111836



More information about the llvm-commits mailing list