[LLVMbugs] [Bug 9538] New: Verifier accepts non-sensical intrinsics involving vectors

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Mar 23 15:13:51 PDT 2011


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

           Summary: Verifier accepts non-sensical intrinsics involving
                    vectors
           Product: new-bugs
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu


Testcase:
declare {<4 x i32>, i1} @llvm.umul.with.overflow.v4i32(<4 x i32> %a, <4 x i32>
%b)

define i1 @a(<4 x i32> %x) {
  %r = call {<4 x i32>, i1} @llvm.umul.with.overflow.v4i32(<4 x i32> %x, <4 x
i32> %x)
  %s = extractvalue {<4 x i32>, i1} %r, 1
  ret i1 %s
}

This clearly doesn't make any sense, but the verifier accepts it.  Perhaps the
definitions of some intrinsics need to be tightened up a bit?

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list