[PATCH] D149223: [PowerPC] Look through OR, AND, XOR instructions when checking a clear.
Stefan Pintilie via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 25 18:13:15 PDT 2023
stefanp created this revision.
stefanp added reviewers: nemanjai, lei, amyk.
Herald added subscribers: shchenz, kbarton, hiraditya.
Herald added a project: All.
stefanp requested review of this revision.
Herald added a project: LLVM.
This patch adds the additional step of looking through AND, OR, XOR
instructions when we check the number of leading zeros.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D149223
Files:
llvm/lib/Target/PowerPC/PPCMIPeephole.cpp
llvm/test/CodeGen/PowerPC/fp-strict-conv-f128.ll
llvm/test/CodeGen/PowerPC/ppc-clear-before-return.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149223.517007.patch
Type: text/x-patch
Size: 3736 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230426/f7599f41/attachment.bin>
More information about the llvm-commits
mailing list