[llvm-bugs] [Bug 26057] New: [Statepoint] Lowering integer larger than 64 bits as deopt argument crashes

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jan 6 20:09:59 PST 2016


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

            Bug ID: 26057
           Summary: [Statepoint] Lowering integer larger than 64 bits as
                    deopt argument crashes
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: unassignedbugs at nondot.org
          Reporter: listmail at philipreames.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The following test case crashes:
define void @test5(i28 %arg) gc "statepoint-example" {
  %safepoint_token = call token (i64, i32, void ()*, i32, i32, ...)
@llvm.experimental.gc.statepoint.p0f_isVoidf(i64 0, i32 0, void ()*
@do_safepoint, i32 0, i32 0, i32 0, i32 2, i128 %arg, i128 0)
  ret void
}

This is exercising two different cases of trying to encode a 128 bit integer
into the stackmap.  The argument appears to cause a legalization bug.  The i128
bit constant works, but only because the actual constant is encodable in 64
bits.  A 10..62..0 constant would not be.

-- 
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/20160107/bf64f4c9/attachment.html>


More information about the llvm-bugs mailing list