<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Several build warnings for R600"
href="https://bugs.llvm.org/show_bug.cgi?id=37291">37291</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Several build warnings for R600
</td>
</tr>
<tr>
<th>Product</th>
<td>libraries
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>Backend: AMDGPU
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>david.bolvansky@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Hello,
I built the llvm trunk but I saw some warnings like:
/home/xbolva00/LLVM/llvm/lib/Target/AMDGPU/R600ISelLowering.cpp: In member
function ‘llvm::SDValue
llvm::R600TargetLowering::OptimizeSwizzle(llvm::SDValue, llvm::SDValue*,
llvm::SelectionDAG&, const llvm::SDLoc&) const’:
/home/xbolva00/LLVM/llvm/lib/Target/AMDGPU/R600ISelLowering.cpp:1689:22:
warning: array subscript is above array bounds [-Warray-bounds]
if (NewBldVec[i] == NewBldVec[j]) {
~~~~~~~~~~~^
[461/2134] Building CXX object lib/Tar...CodeGen.dir/R600MachineScheduler.cpp.o
In member function ‘llvm::SUnit* llvm::R600SchedStrategy::pickOther(int)’:
cc1plus: warning: ‘void* __builtin_memset(void*, int, long unsigned int)’:
specified size 18446744073709551608 exceeds maximum object size
9223372036854775807 [-Wstringop-overflow=]
There is something wrong going on in the cycle / condition at
<a href="https://github.com/llvm-mirror/llvm/blob/master/lib/Target/AMDGPU/R600ISelLowering.cpp#L1689">https://github.com/llvm-mirror/llvm/blob/master/lib/Target/AMDGPU/R600ISelLowering.cpp#L1689</a>
I am not sure what causes the second warning.
Thanks</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>