[LLVMbugs] [Bug 1119] NEW: Enh: add PatLeaf to test for zero valued operands

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Jan 16 14:12:33 PST 2007


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

           Summary: Enh: add PatLeaf to test for zero valued operands
           Product: libraries
           Version: trunk
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Target Description Classes
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: scottm at aero.org


We have immAllZerosV but no immediate test for a zero value. Suggest the 
attached patch to TargetSelectionDAG.td. Adds a PatLeaf called "immIsZero" that 
calls Constant::isNullValue().



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.



More information about the llvm-bugs mailing list