<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>These changes are just cosmetic, it does not affect real codegen
for target data directives.<br>
</p>
<pre class="moz-signature" cols="72">-------------
Best regards,
Alexey Bataev</pre>
<div class="moz-cite-prefix">09.01.2018 15:31, Jonas Hahnfeld via
cfe-commits пишет:<br>
</div>
<blockquote type="cite"
cite="mid:%3Ce12d34dd554bbb13ab74817715408260@hahnjo.de%3E">Why is
this NFC and doesn't change a test?
<br>
<br>
Am 2018-01-09 20:59, schrieb Alexey Bataev via cfe-commits:
<br>
<blockquote type="cite">Author: abataev
<br>
Date: Tue Jan 9 11:59:25 2018
<br>
New Revision: 322112
<br>
<br>
URL: <a class="moz-txt-link-freetext" href="http://llvm.org/viewvc/llvm-project?rev=322112&view=rev">http://llvm.org/viewvc/llvm-project?rev=322112&view=rev</a>
<br>
Log:
<br>
[OPENMP] Fix directive kind on stand-alone target data
directives, NFC.
<br>
<br>
Modified:
<br>
cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp
<br>
<br>
Modified: cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp
<br>
URL:
<br>
<a class="moz-txt-link-freetext" href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp?rev=322112&r1=322111&r2=322112&view=diff">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp?rev=322112&r1=322111&r2=322112&view=diff</a>
<br>
==============================================================================
<br>
--- cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp (original)
<br>
+++ cfe/trunk/lib/CodeGen/CGOpenMPRuntime.cpp Tue Jan 9
11:59:25 2018
<br>
@@ -7662,7 +7662,7 @@ void CGOpenMPRuntime::emitTargetDataStan
<br>
if (D.hasClausesOfKind<OMPDependClause>())
<br>
CGF.EmitOMPTargetTaskBasedDirective(D, ThenGen,
InputInfo);
<br>
else
<br>
- emitInlinedDirective(CGF, OMPD_target_update, ThenGen);
<br>
+ emitInlinedDirective(CGF, D.getDirectiveKind(), ThenGen);
<br>
};
<br>
<br>
if (IfCond)
<br>
<br>
<br>
_______________________________________________
<br>
cfe-commits mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:cfe-commits@lists.llvm.org">cfe-commits@lists.llvm.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits</a>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>