Fwd: [patch] fix loopvectorizer bug with multiple address spaces PR16306

Eli Friedman eli.friedman at gmail.com
Mon Jun 17 10:57:17 PDT 2013


Forwarding to the correct list.

---------- Forwarded message ----------
From: Pekka Jääskeläinen <pekka.jaaskelainen at tut.fi>
Date: Mon, Jun 17, 2013 at 8:06 AM
Subject: [patch] fix loopvectorizer bug with multiple address spaces PR16306
To: cfe-commits at cs.uiuc.edu


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<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

_______________________________________________
cfe-commits mailing list
cfe-commits at cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130617/d9936a16/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loopvec-address-space-fix.patch
Type: text/x-diff
Size: 3855 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130617/d9936a16/attachment.patch>


More information about the llvm-commits mailing list