[PATCH] D28968: In case we do not know what the condition is in an unswitched loop, but we know its definitely NOT a known constant. We can perform simplifcations based on this information. More specifically we can simplify comparison instructions with the cond...

Xin Tong via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 20 13:36:52 PST 2017


trentxintong created this revision.
Herald added a subscriber: mzolotukhin.

Simplify based on known not to a be constant.


https://reviews.llvm.org/D28968

Files:
  lib/Transforms/Scalar/LoopUnswitch.cpp
  test/Transforms/LoopUnswitch/simplify-with-inverse.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28968.85184.patch
Type: text/x-patch
Size: 4868 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170120/d4b9b982/attachment.bin>


More information about the llvm-commits mailing list