[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
Thu Apr 28 14:07:53 PDT 2022
mingmingl updated this revision to Diff 425900.
mingmingl marked an inline comment as done.
mingmingl added a comment.
Set `NoSignFlag` to false (to poison SF bit for readers), and get rid of `isSFZero` helper function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124118/new/
https://reviews.llvm.org/D124118
Files:
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/test/CodeGen/X86/peephole-test-after-add.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124118.425900.patch
Type: text/x-patch
Size: 11839 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220428/f0ff9dc4/attachment.bin>
More information about the llvm-commits
mailing list