[PATCH] D103861: [Attributor] Look through selects in genericValueTraversal

Johannes Doerfert via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 7 16:59:37 PDT 2021


jdoerfert created this revision.
jdoerfert added reviewers: homerdin, kuter, sstefan1, uenoku, baziotis.
Herald added subscribers: ormris, okura, bollu, hiraditya.
jdoerfert requested review of this revision.
Herald added a subscriber: bbn.
Herald added a project: LLVM.

If we can simplify the select condition we can avoid one value in the
traversal.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D103861

Files:
  llvm/lib/Transforms/IPO/AttributorAttributes.cpp
  llvm/test/Transforms/Attributor/lvi-for-ashr.ll
  llvm/test/Transforms/Attributor/value-simplify.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103861.350455.patch
Type: text/x-patch
Size: 10862 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210607/eb09a9a7/attachment.bin>


More information about the llvm-commits mailing list