[PATCH] Don't use runtime bounds check between different address space pointers
Matt Arsenault
Matthew.Arsenault at amd.com
Tue Oct 1 19:14:49 PDT 2013
Hi nadav,
Don't vectorize with a runtime check if it requires a comparison between pointers with different address spaces. The values can't be assumed to be directly comparable. Previously it would create an illegal bitcast.
http://llvm-reviews.chandlerc.com/D1804
Files:
lib/Transforms/Vectorize/LoopVectorize.cpp
test/Transforms/LoopVectorize/runtime-check-address-space.ll
test/Transforms/LoopVectorize/runtime-check-readonly-address-space.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1804.1.patch
Type: text/x-patch
Size: 19324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131001/d7d62397/attachment.bin>
More information about the llvm-commits
mailing list