[PATCH] D145220: [X86][InstCombine] Simplify some `pternlog` intrinsics

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Mar 5 10:01:11 PST 2023


goldstein.w.n updated this revision to Diff 502441.
goldstein.w.n marked an inline comment as done.
goldstein.w.n added a comment.

Use match(V, m_ImmConstant())


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145220/new/

https://reviews.llvm.org/D145220

Files:
  llvm/lib/Target/X86/X86InstCombineIntrinsic.cpp
  llvm/test/CodeGen/X86/ternlog.ll
  llvm/test/Transforms/InstCombine/X86/x86-ternlog.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145220.502441.patch
Type: text/x-patch
Size: 245579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230305/640cb8e3/attachment-0001.bin>


More information about the llvm-commits mailing list