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

           Summary: Wrongfully assuming RHS is always unsigned
           Product: clang
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=6638)
 --> (http://llvm.org/bugs/attachment.cgi?id=6638)
A simple test case which fails

CGExprScalar.cpp: EmitShl(...) may produce an integer cast for a right hand
side expression, assuming that it is unsigned. Please see the attached test
case which produces a wrong IR and a patch to fix this problem.

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

Reply via email to