[llvm-bugs] [Bug 47731] New: Several Mips, X86 CodeGen tests FAIL on Solaris/sparcv9

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Oct 5 09:29:08 PDT 2020


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

            Bug ID: 47731
           Summary: Several Mips, X86 CodeGen tests FAIL on
                    Solaris/sparcv9
           Product: libraries
           Version: trunk
          Hardware: Sun
                OS: Solaris
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: ro at gcc.gnu.org
                CC: efriedma at quicinc.com, llvm-bugs at lists.llvm.org

Several Mips and X86 CodeGen tests FAIL on Solaris/sparcv9:

  LLVM :: CodeGen/Mips/cconv/vector.ll
  LLVM :: CodeGen/Mips/msa/basic_operations.ll
  LLVM :: CodeGen/Mips/msa/i5-b.ll
  LLVM :: CodeGen/Mips/msa/immediates.ll
  LLVM :: CodeGen/X86/fp-intrinsics.ll
  LLVM :: CodeGen/X86/known-signbits-vector.ll
  LLVM :: CodeGen/X86/vec_shift5.ll
  LLVM :: CodeGen/X86/vector-shift-ashr-128.ll
  LLVM :: CodeGen/X86/vector-shift-ashr-256.ll

This only happens in 2-stage Release and RelWithDebInfo builds, 2-stage Debug
builds and 1-stage Release builds with gcc are fine.

Sometimes the differences are quite small, e.g. for
CodeGen/Mips/cconv/vector.ll:

--- vector.s.amd64      2020-10-05 18:21:13.102487784 +0000
+++ vector.s.sparcv9    2020-10-05 18:21:05.775611488 +0000
@@ -1548,7 +1548,7 @@
        sw      $ra, 36($sp)                    # 4-byte Folded Spill
        .cfi_offset 31, -4
        lui     $1, 6
-       ori     $1, $1, 7
+       ori     $1, $1, 10
        lui     $2, 9
        ori     $2, $2, 10
        fill.w  $w0, $2

In other cases the differences are quite substantial.  I have no idea where
even
to start investigating this, so I'll need much guidance here.

-- 
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/20201005/fd062509/attachment-0001.html>


More information about the llvm-bugs mailing list