[PATCH] D26299: Improving the efficiency of the Loop Unswitching pass

Abhilash Bhandari via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 06:45:39 PST 2016


Abhilash updated this revision to Diff 78716.
Abhilash marked 4 inline comments as done.
Abhilash added a comment.

Hi Anna and Michael Zolothukin,

I have renamed the function and reduced the CHECK patterns in the testcase.
I have tried to keep the CHECK patterns generic.
I have retained the CHECK patterns for only 3 loops (the number of loops that would be generated with this revision) and the corresponding phi nodes at the exit (join) nodes.

One help: Is there a way to make the phi-nodes (in the CHECK pattern) more generic?

Thanks,
Abhilash


Repository:
  rL LLVM

https://reviews.llvm.org/D26299

Files:
  lib/Transforms/Scalar/LoopUnswitch.cpp
  test/Transforms/LoopUnswitch/elseif-non-exponential-behavior.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26299.78716.patch
Type: text/x-patch
Size: 4842 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161121/b52e1b89/attachment.bin>


More information about the llvm-commits mailing list