[PATCH] D134156: [SCEV][NFC] Mark methods related to Loop Disposition computation as const

Max Kazantsev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 03:27:59 PDT 2022


mkazantsev abandoned this revision.
mkazantsev added a comment.

`const_cast` may lead to UB unfortunately, and this is the type of bugs I don't want to deal with. :)

Because now verifier only calls it on a local object, I don't care enough if it goes or not. Let's just abandon it.


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

https://reviews.llvm.org/D134156



More information about the llvm-commits mailing list