[PATCH] D124159: [SimplifyCFG] Thread branches on same condition in more cases (PR54980)
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 21 03:56:49 PDT 2022
nikic added inline comments.
================
Comment at: llvm/test/CodeGen/AArch64/arm64-andCmpBrToTBZ.ll:39
; CHECK: tbz
- br i1 %tobool.i.i.i, label %if.end12, label %land.rhs.i19, !prof !1
+ br i1 %IsEditable, label %if.end12, label %land.rhs.i19, !prof !1
----------------
There is a branch on `%tobool.i.i.i` higher up that would get threaded -- as that doesn't seem like the point of the test, I've replaced it with a different condition.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124159/new/
https://reviews.llvm.org/D124159
More information about the llvm-commits
mailing list