[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [LLVMbugs] [Bug 20503] New: Crash when compiling multiplication of 129 bit integers
From:       bugzilla-daemon () llvm ! org
Date:       2014-07-31 14:54:20
Message-ID: bug-20503-206 () http ! llvm ! org/bugs/
[Download RAW message or body]

--1406818460.6c1b5E660.15818
Date: Thu, 31 Jul 2014 09:54:20 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"

http://llvm.org/bugs/show_bug.cgi?id=20503

            Bug ID: 20503
           Summary: Crash when compiling multiplication of 129 bit
                    integers
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: unassignedbugs@nondot.org
          Reporter: jaak.randmets@cyber.ee
                CC: llvmbugs@cs.uiuc.edu
    Classification: Unclassified

Created attachment 12842
  --> http://llvm.org/bugs/attachment.cgi?id=12842&action=edit
Test case

The simplest occurrence that I was able to produce is attached, but this can
also be produced by having a function that takes two 64 bit integers, converts
them to i129, multiplies them as i129 and then returns i64 truncated result.

The crash also occurs with larger integers, but everything seems to work well
for integers with less bits than 129.

How to reproduce: llc i129-crash.ll

-- 
You are receiving this mail because:
You are on the CC list for the bug.

--1406818460.6c1b5E660.15818
Date: Thu, 31 Jul 2014 09:54:20 -0500
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"

<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 --- - Crash when compiling multiplication of 129 bit integers"
   href="http://llvm.org/bugs/show_bug.cgi?id=20503">20503</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Crash when compiling multiplication of 129 bit integers
          </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: X86
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs&#64;nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jaak.randmets&#64;cyber.ee
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs&#64;cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=12842" \
name="attach_12842" title="Test case">attachment 12842</a> <a \
href="attachment.cgi?id=12842&amp;action=edit" title="Test case">[details]</a></span> \
Test case

The simplest occurrence that I was able to produce is attached, but this can
also be produced by having a function that takes two 64 bit integers, converts
them to i129, multiplies them as i129 and then returns i64 truncated result.

The crash also occurs with larger integers, but everything seems to work well
for integers with less bits than 129.

How to reproduce: llc i129-crash.ll</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>

--1406818460.6c1b5E660.15818--



_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic