[LLVMbugs] [Bug 982] NEW: bugpoint crash

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Fri Nov 3 08:39:36 PST 2006


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

           Summary: bugpoint crash
           Product: tools
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: bugpoint
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: alenhar2 at uiuc.edu


the attached program (probably not helpful) crashes when removing a function with:

andrewl at fenris:~/llvm/projects/llvm-test/MultiSource/Benchmarks/mediabench/gsm/toast$
make bugpoint-llc
/home/andrewl/llvm/Debug/bin/bugpoint Output/toast.llvm.bc -run-llc  
-input=/dev/null -output=Output/toast.out-nat -timeout=500 --tool-args  --args
-- -cpl
/home/andrewl/llvm/projects/llvm-test/MultiSource/Benchmarks/mediabench/gsm/toast/../data/clinton.pcm
Read input file      : 'Output/toast.llvm.bc'
*** All input ok
Found gcc: /usr/bin/gcc
Initializing execution environment: Running the code generator to test for a
crash: <llc>
*** Checking the code generator...
<llc><gcc><program>
*** Input program does not match reference diff!
Debugging code generator problem!
Checking to see if the program is misoptimized when these functions are run
through the passes: gsm_norm APCM_quantization_xmaxc_to_exp_mant
APCM_inverse_quantization RPE_grid_positioning
Decoding_of_the_coded_Log_Area_Ratios Coefficients_0_12 Coefficients_13_26
Coefficients_27_39 LARp_to_rp Short_term_analysis_filtering... <29 total>
While deleting: int () * %generic_init
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([7 x sbyte]* %str20, int 0, int 0),
    sbyte* getelementptr ([44 x sbyte]* %l21_str, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %l9_str4, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %linear_input,
    int (short*)* %linear_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([7 x sbyte]* %str20, int 0, int 0),
    sbyte* getelementptr ([44 x sbyte]* %l21_str, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %l9_str4, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %linear_input,
    int (short*)* %linear_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([6 x sbyte]* %l11_str2, int 0, int 0),
    sbyte* getelementptr ([28 x sbyte]* %str18, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %str319, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %alaw_input,
    int (short*)* %alaw_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([6 x sbyte]* %l11_str2, int 0, int 0),
    sbyte* getelementptr ([28 x sbyte]* %str18, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %str319, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %alaw_input,
    int (short*)* %alaw_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([6 x sbyte]* %l11_str1, int 0, int 0),
    sbyte* getelementptr ([34 x sbyte]* %l20_str, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %str17, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %ulaw_input,
    int (short*)* %ulaw_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([6 x sbyte]* %l11_str1, int 0, int 0),
    sbyte* getelementptr ([34 x sbyte]* %l20_str, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %str17, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %ulaw_input,
    int (short*)* %ulaw_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([6 x sbyte]* %l11_str1, int 0, int 0),
    sbyte* getelementptr ([34 x sbyte]* %l20_str, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %str17, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %ulaw_input,
    int (short*)* %ulaw_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([6 x sbyte]* %l11_str2, int 0, int 0),
    sbyte* getelementptr ([28 x sbyte]* %str18, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %str319, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %alaw_input,
    int (short*)* %alaw_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([7 x sbyte]* %str20, int 0, int 0),
    sbyte* getelementptr ([44 x sbyte]* %l21_str, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %l9_str4, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %linear_input,
    int (short*)* %linear_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([7 x sbyte]* %str20, int 0, int 0),
    sbyte* getelementptr ([44 x sbyte]* %l21_str, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %l9_str4, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %linear_input,
    int (short*)* %linear_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([7 x sbyte]* %str20, int 0, int 0),
    sbyte* getelementptr ([44 x sbyte]* %l21_str, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %l9_str4, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %linear_input,
    int (short*)* %linear_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([6 x sbyte]* %l11_str2, int 0, int 0),
    sbyte* getelementptr ([28 x sbyte]* %str18, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %str319, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %alaw_input,
    int (short*)* %alaw_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([6 x sbyte]* %l11_str2, int 0, int 0),
    sbyte* getelementptr ([28 x sbyte]* %str18, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %str319, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %alaw_input,
    int (short*)* %alaw_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([6 x sbyte]* %l11_str1, int 0, int 0),
    sbyte* getelementptr ([34 x sbyte]* %l20_str, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %str17, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %ulaw_input,
    int (short*)* %ulaw_output }
Use still stuck around after Def is destroyed: { sbyte *, sbyte *, sbyte *, int
() *, int () *, int (short *) *, int (short *) * } {
    sbyte* getelementptr ([6 x sbyte]* %l11_str1, int 0, int 0),
    sbyte* getelementptr ([34 x sbyte]* %l20_str, int 0, int 0),
    sbyte* getelementptr ([3 x sbyte]* %str17, int 0, int 0),
    int ()* %generic_init,
    int ()* %generic_init,
    int (short*)* %ulaw_input,
    int (short*)* %ulaw_output }
bugpoint: Value.cpp:59: virtual llvm::Value::~Value(): Assertion `use_begin() ==
use_end() && "Uses remain when a value is destroyed!"' failed.
make: *** [Output/toast.bugpoint-llc] Aborted



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