[PATCH] D28694: Hexagon-specific loop idiom recognition
Krzysztof Parzyszek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 13 13:03:58 PST 2017
kparzysz created this revision.
kparzysz added a reviewer: hfinkel.
kparzysz added subscribers: mehdi_amini, llvm-commits.
kparzysz set the repository for this revision to rL LLVM.
Herald added subscribers: mgorny, sanjoy.
This is the pass we have locally that does loop idiom recognition specifically for Hexagon.
The problem with it is how it's hooked up with the rest of LLVM (pass manager in particular). Ideally, we'd have an insertion point here where each target could add their own passes. We'd also need to have the target triple available in the PassManagerBuider to determine what the actual target is.
Repository:
rL LLVM
https://reviews.llvm.org/D28694
Files:
include/llvm/InitializePasses.h
include/llvm/LinkAllPasses.h
include/llvm/Transforms/Scalar.h
lib/Transforms/IPO/PassManagerBuilder.cpp
lib/Transforms/Scalar/CMakeLists.txt
lib/Transforms/Scalar/HexagonLoopIdiomRecognition.cpp
lib/Transforms/Scalar/Scalar.cpp
test/Transforms/HexagonLoopIdiom/hexagon-memmove1.ll
test/Transforms/HexagonLoopIdiom/hexagon-memmove2.ll
test/Transforms/HexagonLoopIdiom/lcssa.ll
test/Transforms/HexagonLoopIdiom/lit.local.cfg
test/Transforms/HexagonLoopIdiom/nullptr-crash.ll
test/Transforms/HexagonLoopIdiom/pmpy.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28694.84357.patch
Type: text/x-patch
Size: 67988 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170113/bc0f14b4/attachment-0001.bin>
More information about the llvm-commits
mailing list