[PATCH] [LV] Move addRuntimeCheck to LoopAccessAnalysis
anemet at apple.com
Thu Feb 5 21:52:47 PST 2015
Hi hfinkel, aschwaighofer, nadav,
This will allow it to be shared with the new Loop Distribution pass.
getFirstInst is currently duplicated across LoopVectorize.cpp and
LoopAccessAnalysis.cpp. This is a short-term work-around until we figure out
a better solution.
NFC. (The code moved is adjusted a bit for the name of the Loop member and
that PtrRtCheck is now a reference rather than a pointer.)
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 11718 bytes
Desc: not available
More information about the llvm-commits