[PATCH] D48705: [CodeGenPrepare] Reverse LICM pass for shift and rotate patterns.

Tomasz Krupa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 27 23:40:36 PDT 2018


tkrupa created this revision.
tkrupa added a reviewer: craig.topper.
Herald added a subscriber: llvm-commits.

This patch fetches back parts of shift and rotate patterns which were hoisted out of the loop in LICM pass (which prevented the patterns from combining). This resolves https://bugs.llvm.org/show_bug.cgi?id=37417 and enables https://reviews.llvm.org/D46946 and https://reviews.llvm.org/D47019 to proceed.


Repository:
  rL LLVM

https://reviews.llvm.org/D48705

Files:
  lib/CodeGen/CodeGenPrepare.cpp
  test/Transforms/CodeGenPrepare/reverse-licm.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48705.153260.patch
Type: text/x-patch
Size: 25659 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180628/34886667/attachment.bin>


More information about the llvm-commits mailing list