[PATCH] D137339: [SimplifyCFG] Allow speculating block containing assume()

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 3 08:01:42 PDT 2022


nikic added inline comments.


================
Comment at: llvm/test/Transforms/SimplifyCFG/two-entry-phi-fold-crash.ll:17
-; CHECK:       bb6:
-; CHECK-NEXT:    [[BORG7:%.*]] = load i8*, i8** [[ARG1:%.*]], align 4
-; CHECK-NEXT:    br label [[BB8]]
----------------
A bit non-obvious why this is affected, as there are no assumes here: The load result is unused, so this is effectively an ephemeral value as well.


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

https://reviews.llvm.org/D137339



More information about the llvm-commits mailing list