[PATCH] [Patch] Loop Interchange Pass

Karthik Bhat kv.bhat at samsung.com
Thu Feb 19 21:55:05 PST 2015


Hi Hal,
Thanks for the review.
Please find the updated patch. Moved tests from vectorize.ll to profitability.ll and interchange.ll. Checking for loop interchange as per comments. Also added a negative test case to check profitabilitymodel.(i.e. were it is legal but not profitable to interchange).

Please let me know if this looks good for initial commit. This pass is currently disabled by default.

Thanks and Regards
Karthik Bhat


http://reviews.llvm.org/D7499

Files:
  include/llvm/InitializePasses.h
  include/llvm/LinkAllPasses.h
  include/llvm/Transforms/Scalar.h
  lib/Transforms/Scalar/CMakeLists.txt
  lib/Transforms/Scalar/LoopInterchange.cpp
  lib/Transforms/Scalar/Scalar.cpp
  test/Transforms/LoopInterchange/currentLimitation.ll
  test/Transforms/LoopInterchange/interchange.ll
  test/Transforms/LoopInterchange/profitability.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7499.20374.patch
Type: text/x-patch
Size: 71640 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150220/ee02b886/attachment.bin>


More information about the llvm-commits mailing list