<html>
<head>
<base href="http://llvm.org/bugs/" />
</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 --- - llc fails with "lifetime.end", Linux, trunk, regression after 209788 revision."
href="http://llvm.org/bugs/show_bug.cgi?id=20115">20115</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>llc fails with "lifetime.end", Linux, trunk, regression after 209788 revision.
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</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>llc
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ili.filippov@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>We can make small reproducer:
; ModuleID = 'a.bc'
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
; Function Attrs: nounwind
define void @f_f() {
allocas:
%RESULT = alloca i32
%TEMP = alloca <8 x i32>
%MAS = alloca <8 x i32>
%POINT = alloca i32
%0 = bitcast <8 x i32>* %TEMP to i8*
call void @llvm.lifetime.start(i64 32, i8* %0)
%MAS_VALUE = load <8 x i32>* %MAS
%1 = bitcast <8 x i32>* %TEMP to i8*
call void @llvm.lifetime.end(i64 32, i8* %1)
%POINT_VALUE = load i32* %POINT
%RESULT_VAL = extractelement <8 x i32> %MAS_VALUE, i32 %POINT_VALUE
store i32 %RESULT_VAL, i32* %RESULT
ret void
}
; Function Attrs: nounwind
declare void @llvm.lifetime.start(i64, i8* nocapture)
; Function Attrs: nounwind
declare void @llvm.lifetime.end(i64, i8* nocapture)
If we execute command: "llc a1.ll -mattr=+avx -O2" (llc from trunk)
we will have an error:
Operand not processed?
0x3220c48: ch = lifetime.end 0x3223200:1, 0x3220618 [ORD=10] [ID=1]
Everything is right before 209788 revision.</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>