[LLVMbugs] [Bug 4208] New: isIntegerType() returns true for vectors of integers

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue May 12 22:15:46 PDT 2009


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

           Summary: isIntegerType() returns true for vectors of integers
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Keywords: code-cleanup
          Severity: normal
          Priority: P2
         Component: AST
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu


isIntegerType() currently returns true for vectors of integers.  This is really
dangerous because a lot of sema uses this predicate and probably doesn't expect
vectors.  Should should follow the lead of complex and has a isVectorOfInteger
method or something like that instead.


-- 
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