<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>I agree that should work. But this debug message is not
necessary at all.<br>
<br>
Thanks<br>
</tt><br>
<div class="moz-cite-prefix">Am 20.11.18 um 00:11 schrieb David
Blaikie:<br>
</div>
<blockquote type="cite"
cite="mid:CAENS6Evr9A3VOYvSWFnxMtdbJiKUvyY1-QNUm5jzyXr_4qYmsw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr">FWIW you can keep this for loop & write it like
this:<br>
<br>
LLVM_DEBUG(for (auto &VI : InterleavedLoad)<br>
dbgs() << VI << "\n");<br>
<br>
I think? <br>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Nov 19, 2018 at 9:14 AM Martin Elshuber
via llvm-commits <<a
href="mailto:llvm-commits@lists.llvm.org" target="_blank"
moz-do-not-send="true">llvm-commits@lists.llvm.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Author:
martin.elshuber<br>
Date: Mon Nov 19 09:11:48 2018<br>
New Revision: 347229<br>
<br>
URL: <a
href="http://llvm.org/viewvc/llvm-project?rev=347229&view=rev"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://llvm.org/viewvc/llvm-project?rev=347229&view=rev</a><br>
Log:<br>
[InterleavedLoadCombine] Fix warning unused variable<br>
<br>
Differential Revision: <a
href="https://reviews.llvm.org/D52653" rel="noreferrer"
target="_blank" moz-do-not-send="true">https://reviews.llvm.org/D52653</a><br>
<br>
<br>
Modified:<br>
llvm/trunk/lib/CodeGen/InterleavedLoadCombinePass.cpp<br>
<br>
Modified:
llvm/trunk/lib/CodeGen/InterleavedLoadCombinePass.cpp<br>
URL: <a
href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/InterleavedLoadCombinePass.cpp?rev=347229&r1=347228&r2=347229&view=diff"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/InterleavedLoadCombinePass.cpp?rev=347229&r1=347228&r2=347229&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/CodeGen/InterleavedLoadCombinePass.cpp
(original)<br>
+++ llvm/trunk/lib/CodeGen/InterleavedLoadCombinePass.cpp
Mon Nov 19 09:11:48 2018<br>
@@ -1119,8 +1119,6 @@
InterleavedLoadCombineImpl::findFirstLoa<br>
bool
InterleavedLoadCombineImpl::combine(std::list<VectorInfo>
&InterleavedLoad,<br>
OptimizationRemarkEmitter &ORE) {<br>
LLVM_DEBUG(dbgs() << "Checking interleaved
load\n");<br>
- for (auto &VI : InterleavedLoad)<br>
- LLVM_DEBUG(dbgs() << VI << "\n");<br>
<br>
// The insertion point is the LoadInst which loads the
first values. The<br>
// following tests are used to proof that the combined
load can be inserted<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank"
moz-do-not-send="true">llvm-commits@lists.llvm.org</a><br>
<a
href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Martin Elshuber
Theobroma Systems Design und Consulting GmbH
Seestadtstraße 27 (Aspern IQ), 1220 Wien, Austria
Phone: +43 1 236 98 93-405, Fax: +43 1 236 98 93-9
<a class="moz-txt-link-freetext" href="http://www.theobroma-systems.com">http://www.theobroma-systems.com</a></pre>
</body>
</html>