[PATCH] D149404: [ValueTracking][InstCombine] Add a new API to allow to ignore poison generating flags or metadatas when implying poison

luxufan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun May 14 22:19:44 PDT 2023


StephenFan updated this revision to Diff 522043.
StephenFan added a comment.

Use lambda to drop posion flags or metadata and move back codes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149404

Files:
  llvm/include/llvm/Analysis/ValueTracking.h
  llvm/lib/Analysis/ValueTracking.cpp
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/ispow2.ll
  llvm/test/Transforms/InstCombine/prevent-cmp-merge.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149404.522043.patch
Type: text/x-patch
Size: 11954 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230515/8306663c/attachment.bin>


More information about the llvm-commits mailing list