[PATCH] D109273: [X86] Fold (and (or (xor X, -1), Y), Z) -> PTERNLOG Z, Y, X, 0xD0
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 5 10:14:08 PDT 2021
craig.topper added a comment.
I posted an improvement to tryVPTERNLOG here D109295 <https://reviews.llvm.org/D109295>. This handles the basic case but doesn't peek through bitcasts or push broadcast through a not. Are those cases important for what you're trying to do here? I don't see any tests for them.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109273/new/
https://reviews.llvm.org/D109273
More information about the llvm-commits
mailing list