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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to