[PATCH] D124118: [Peephole-Opt] For one kind of test-after-add pattern, eliminates test if it's correct to do so.
Mingming Liu via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 9 14:41:33 PDT 2022
mingmingl added a comment.
In D124118#3498831 <https://reviews.llvm.org/D124118#3498831>, @skan wrote:
> As to the desciption, maybe it should not be called a heuristic optimization?
modified summary with diff
1. removed heurstic
2. optimize `test` away if EFLAG bits used as a result of `test` are already set by `AND`.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124118/new/
https://reviews.llvm.org/D124118
More information about the llvm-commits
mailing list