[LLVMbugs] [Bug 21104] New: LLVM ERROR: Cannot select with llvm.experimental.stackmap

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 30 14:58:04 PDT 2014


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

            Bug ID: 21104
           Summary: LLVM ERROR: Cannot select with
                    llvm.experimental.stackmap
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: robin at icir.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

This is with 3.5 actually, can't select that in the version field.

# cat a.ll
declare void @llvm.experimental.stackmap(i64, i32, ...)

define fastcc void @.hlt.mini_parse_test_internal() {
  call void (i64, i32, ...)* @llvm.experimental.stackmap(i64 1, i32 0,
  i1 undef)
  unreachable
}

# llc a.ll
LLVM ERROR: Cannot select: 0x22d0e88: ch,i32 = X86ISD::ADD 0x22d0f90, 0x22d11a0
[ORD=2] [ID=6]
  0x22d0f90: i64 = TargetConstant<1> [ID=2]
  0x22d11a0: i32 = TargetConstant<0> [ID=3]
In function: .hlt.mini_parse_test_internal

Looks like it doesn't like passing in an i1, works when using i8 instead.

-- 
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/20140930/9aa1aee1/attachment.html>


More information about the llvm-bugs mailing list