<div class="socmaildefaultfont" dir="ltr" style="font-family:Arial;font-size:10.5pt" ><div dir="ltr" >Hi Hans,</div>
<div dir="ltr" > </div>
<div dir="ltr" >I think it should. All the stuff that enables this fix seems to be in 3.9 already.</div>
<div dir="ltr" > </div>
<div dir="ltr" >Thanks!</div>
<div dir="ltr" >Samuel</div>
<div dir="ltr" > </div>
<div dir="ltr" > </div>
<blockquote data-history-content-modified="1" dir="ltr" style="border-left:solid #aaaaaa 2px; margin-left:5px; padding-left:5px; direction:ltr; margin-right:0px" >----- Original message -----<br>From: Hans Wennborg <hans@chromium.org><br>Sent by: hwennborg@google.com<br>To: Samuel F Antao/Watson/IBM@IBMUS, "Bataev, Alexey" <a.bataev@hotmail.com><br>Cc: cfe-commits <cfe-commits@lists.llvm.org><br>Subject: Re: r276979 - [OpenMP][CUDA] Do not forward OpenMP flags for CUDA device actions.<br>Date: Thu, Jul 28, 2016 1:10 PM<br>
<div><font face="Default Monospace,Courier New,Courier,monospace" size="2" >Should we merge this to 3.9?<br><br>Cheers,<br>Hans<br><br>On Thu, Jul 28, 2016 at 7:29 AM, Samuel Antao via cfe-commits<br><cfe-commits@lists.llvm.org> wrote:<br>> Author: sfantao<br>> Date: Thu Jul 28 09:29:18 2016<br>> New Revision: 276979<br>><br>> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=276979&view=rev" target="_blank" >http://llvm.org/viewvc/llvm-project?rev=276979&view=rev</a><br>> Log:<br>> [OpenMP][CUDA] Do not forward OpenMP flags for CUDA device actions.<br>><br>> Summary:<br>> This patch prevents OpenMP flags from being forwarded to CUDA device commands. That was causing the CUDA frontend to attempt to emit OpenMP code which is not supported.<br>><br>> This fixes the bug reported in <a href="https://llvm.org/bugs/show_bug.cgi?id=28723" target="_blank" >https://llvm.org/bugs/show_bug.cgi?id=28723</a>.<br>><br>> Reviewers: hfinkel, carlo.bertolli, arpith-jacob, kkwli0, tra, ABataev<br>><br>> Subscribers: caomhin, cfe-commits<br>><br>> Differential Revision: <a href="https://reviews.llvm.org/D22895" target="_blank" >https://reviews.llvm.org/D22895</a><br>><br>> Added:<br>> cfe/trunk/test/Driver/offloading-interoperability.c<br>> Modified:<br>> cfe/trunk/lib/Driver/Tools.cpp</font><br> </div></blockquote>
<div dir="ltr" > </div></div><BR>