[LLVMbugs] [Bug 10717] New: API: isAllOnesValue and getAllOnesValue are not defined for all types

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 22 00:21:38 PDT 2011


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

           Summary: API: isAllOnesValue and getAllOnesValue are not
                    defined for all types
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Core LLVM classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: nadav.rotem at intel.com
                CC: llvmbugs at cs.uiuc.edu


We can't use the following API because it is not implemented for all types:

if (C->isAllOnesValue())
   return Constant::getAllOnesValue(DestTy);

I plan to implement this at some point.

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