[patch] fix loopvectorizer bug with multiple address spaces PR16306

Pekka Jääskeläinen pekka.jaaskelainen at tut.fi
Mon Jun 17 08:06:14 PDT 2013


Hello,

Attached patch fixes a severe regression caused by LoopVectorizer when
vectorizing loops with memory accesses to non-zero address spaces. It
simply drops the AS info. It's a rather nasty problem as there is no
way (at least known to me) to disable the loop vectorizer *only* from
clang/opt command line.

Seems like an obvious fix.

http://llvm.org/bugs/show_bug.cgi?id=16306

The patch applies to trunk and 3.3 branches. Tom, could you apply
this to the (upcoming?) 3.3 maintenance branch as well?

Thanks,
-- 
--Pekka
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loopvec-address-space-fix.patch
Type: text/x-diff
Size: 3772 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130617/f5596524/attachment.patch>


More information about the cfe-commits mailing list