[LLVMbugs] [Bug 571] NEW: InstrCombine problem

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Jun 4 05:34:34 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=571

           Summary: InstrCombine problem
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: alenhar2 at uiuc.edu


Reproducable in bzip2 with a different data set than the nightly tester uses:

./256.bzip2.cbe
/home/vadve/shared/benchmarks/speccpu2000/benchspec/CINT2000/256.bzip2/data/ref/input/input.source
10


> -; ModuleID = 'bugpoint-tooptimize.bc'
> +; ModuleID = 'bugpoint-optimized.bc'
> target endian = little
> target pointersize = 32
>        "complex double" = type { double, double }
> @@ -497,8 +497,8 @@
>        %tmp.226 = load int** %tt               ; <int*> [#uses=1]
>        %tmp.228 = getelementptr int* %tmp.226, int %
> tmp.190.reload             ; <int*> [#uses=1]
>        %tmp.229 = load int* %tmp.228           ; <int> [#uses=2]
> -       %tmp.231109 = cast ubyte %tmp.225 to int                ; <int>
> [#uses=1]
> -       %tmp.233111 = setgt int %tmp.231109, 0          ; <bool>
> [#uses=1]
> +       %tmp.225 = cast ubyte %tmp.225 to sbyte         ; <sbyte>
> [#uses=1]
> +       %tmp.233111 = setgt sbyte %tmp.225, 0           ; <bool>
> [#uses=1]
>        br bool %tmp.233111, label %then.8.no_exit.6_crit_edge.exitStub,
> label %codeRepl9.exitStub
> }
>
> It needs to know that it may not reduce an unsigned comparison to a
> signed comparison of the same size .



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