[PATCH] [Patch] Loop Interchange Pass
Karthik Bhat
kv.bhat at samsung.com
Fri Feb 13 02:53:25 PST 2015
Hi Hal,
Updated the test case to add a test case to cover case were we have a usage of PHI outside the loop. I have added gi,gj as global vaiable and used them as induction variables in the loop to simulate this case.
It would be great if you could give me some inputs on writing test case for this pass.
Currently the test cases i have added are all more or less similar(i.e. they get vectorized after interchange).
For checking loop that are just interchanged but not vectorized do we have to check the exact instructions after interchange or may be check the PHI instruction order in .ll (after interchange the Induction PHI will be in the reverse order) ?
Thanks
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/dependence.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7499.19877.patch
Type: text/x-patch
Size: 41333 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150213/08cce7ee/attachment.bin>
More information about the llvm-commits
mailing list