[llvm-bugs] [Bug 42517] New: CodeGenCXX/cxx2a-compare.cpp fails on x86 Linux after r363952

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jul 5 05:20:29 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42517

            Bug ID: 42517
           Summary: CodeGenCXX/cxx2a-compare.cpp fails on x86 Linux after
                    r363952
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: lukebenes at hotmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

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
 ^

--

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190705/038c6c43/attachment-0001.html>


More information about the llvm-bugs mailing list