[PATCH] D159202: [VPlan] Simplify redundant trunc (zext A) pairs to A.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 30 07:06:49 PDT 2023


fhahn created this revision.
fhahn added reviewers: Ayal, gilr, rengolin.
Herald added subscribers: StephenFan, tschuett, psnobl, rogfer01, bollu, hiraditya.
Herald added a project: All.
fhahn requested review of this revision.
Herald added subscribers: wangpc, vkmr.
Herald added a project: LLVM.

Add simplification for redundant trunc(zext A) pairs. Generally apply a
transform from D149903 <https://reviews.llvm.org/D149903>.

Depends on D159200 <https://reviews.llvm.org/D159200>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D159202

Files:
  llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
  llvm/test/Transforms/LoopVectorize/if-pred-stores.ll
  llvm/test/Transforms/LoopVectorize/vplan-sink-scalars-and-merge-vf1.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159202.554703.patch
Type: text/x-patch
Size: 10141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230830/b17e752a/attachment-0001.bin>


More information about the llvm-commits mailing list