<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 - CodeGenCXX/cxx2a-compare.cpp fails on x86 Linux after r363952"
href="https://bugs.llvm.org/show_bug.cgi?id=42517">42517</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>CodeGenCXX/cxx2a-compare.cpp fails on x86 Linux after r363952
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</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>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>lukebenes@hotmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Starting with r363952, the CodeGenCXX/cxx2a-compare.cpp lit test is failing on
x86 Linux. I have tested this on both 32-bit Fedora 30 and Arch 32.
Here is the build log:
FAIL: Clang :: CodeGenCXX/cxx2a-compare.cpp (7210 of 47401)
******************** TEST 'Clang :: CodeGenCXX/cxx2a-compare.cpp' FAILED
********************
Script:
--
: 'RUN: at line 1'; /llvm-project/build/bin/clang -cc1 -internal-isystem
/llvm-project/build/lib/clang/9.0.0/include -nostdsysteminc -std=c++2a
-emit-llvm /llvm-project/clang/test/CodeGenCXX/cxx2a-compare.cpp -o - -triple
i686-pc-linux-gnu | /llvm-project/build/bin/FileCheck
/llvm-project/clang/test/CodeGenCXX/cxx2a-compare.cpp
'-DWE="class.std::__1::weak_equality"'
'-DSO="class.std::__1::strong_ordering"'
'-DSE="class.std::__1::strong_equality"'
'-DPO="class.std::__1::partial_ordering"' -DEQ=0 -DLT=-1 -DGT=1
-DUNORD=-127 -DNE=1
--
Exit Code: 1
Command Output (stderr):
--
/llvm-project/clang/test/CodeGenCXX/cxx2a-compare.cpp:21:12: error: CHECK:
expected string not found in input
// CHECK: %cmp.lt = icmp slt i32 %0, %1
^
<stdin>:12:92: note: scanning from here
define void @_Z11test_signedii(%"class.std::__1::strong_ordering"* noalias sret
%agg.result, i32 %x, i32 %y) #0 {
^
<stdin>:23:2: note: possible intended match here
%cmp.lt = icmp slt i32 %1, %2
^
/llvm-project/clang/test/CodeGenCXX/cxx2a-compare.cpp:34:12: error: CHECK:
expected string not found in input
// CHECK: %cmp.lt = icmp ult i32 %0, %1
^
<stdin>:33:94: note: scanning from here
define void @_Z13test_unsignedjj(%"class.std::__1::strong_ordering"* noalias
sret %agg.result, i32 %x, i32 %y) #0 {
^
<stdin>:44:2: note: possible intended match here
%cmp.lt = icmp ult i32 %1, %2
^
/llvm-project/clang/test/CodeGenCXX/cxx2a-compare.cpp:47:12: error: CHECK:
expected string not found in input
// CHECK: %cmp.eq = fcmp oeq double %0, %1
^
<stdin>:54:92: note: scanning from here
define void @_Z10float_testdd(%"class.std::__1::partial_ordering"* noalias sret
%agg.result, double %x, double %y) #0 {
^
<stdin>:65:2: note: possible intended match here
%cmp.eq = fcmp oeq double %1, %2
^
/llvm-project/clang/test/CodeGenCXX/cxx2a-compare.cpp:62:12: error: CHECK:
expected string not found in input
// CHECK: %cmp.lt = icmp ult i32* %0, %1
^
<stdin>:77:90: note: scanning from here
define void @_Z8ptr_testPiS_(%"class.std::__1::strong_ordering"* noalias sret
%agg.result, i32* %x, i32* %y) #0 {
^
<stdin>:88:2: note: possible intended match here
%cmp.lt = icmp ult i32* %1, %2
^
/llvm-project/clang/test/CodeGenCXX/cxx2a-compare.cpp:95:12: error: CHECK:
expected string not found in input
// CHECK: %[[CMP:.*]] = icmp eq i{{[0-9]+}} %0, %1
^
<stdin>:127:104: note: scanning from here
define void @_Z13mem_data_testM6MemPtriS0_(%"class.std::__1::strong_equality"*
noalias sret %agg.result, i32 %x, i32 %y) #0 {
^
<stdin>:138:2: note: possible intended match here
%3 = icmp eq i32 %1, %2
^
/llvm-project/clang/test/CodeGenCXX/cxx2a-compare.cpp:117:12: error: CHECK:
expected string not found in input
// CHECK: %cmp.eq = icmp eq i32* %0, null
^
<stdin>:161:99: note: scanning from here
define void @_Z16test_nullptr_objPiDn(%"class.std::__1::strong_equality"*
noalias sret %agg.result, i32* %x, i8* %y) #0 {
^
<stdin>:171:2: note: possible intended match here
%cmp.eq = icmp eq i32* %1, null
^
--</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>