[PATCH] D88429: [InstCombine] visitTrunc - trunc (*shr (trunc A), C) --> trunc(*shr A, C)

Simon Pilgrim via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 29 06:24:00 PDT 2020


RKSimon updated this revision to Diff 294953.
RKSimon added a comment.

Use m_SpecificInt_ICMP to support non-uniform constants


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D88429

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCasts.cpp
  llvm/test/Transforms/InstCombine/trunc-shift-trunc.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88429.294953.patch
Type: text/x-patch
Size: 6128 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200929/84a0b0f9/attachment.bin>


More information about the llvm-commits mailing list