[PATCH] D109273: [X86] Fold (and (or (xor X, -1), Y), Z) -> PTERNLOG Z, Y, X, 0xD0

Pengfei Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 6 05:51:02 PDT 2021


pengfei abandoned this revision.
pengfei added a comment.

In D109273#2984236 <https://reviews.llvm.org/D109273#2984236>, @craig.topper wrote:

> 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.

No, thanks.


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