#477 BURS rule missing

unreproduced
closed
Dave Grove
5
2012-09-21
2005-04-08
Anonymous
No

Hello,

I am running Jikes on AIX 4.3.3.0. I built it using
the production option. When I ran one of my
benchmarks, I got the following exception from the
optimization compiler. The exception didn't prevent
the run from finishing.

com.ibm.JikesRVM.opt.OPT_OptimizingCompilerException:
ERROR produced in module:BURS
rule missing in ref_move
t27pi(I) = t26si(I)
ref_move
long_cmp
register
long_move
long_constant

    at

com.ibm.JikesRVM.opt.OPT_BURS_STATE.mark(OPT_BURS_STATE.java:114)
at
com.ibm.JikesRVM.opt.OPT_NormalBURS.labelTrees(OPT_NormalBURS.java:331)
at
com.ibm.JikesRVM.opt.OPT_NormalBURS.invoke(OPT_NormalBURS.java:51)
at
com.ibm.JikesRVM.opt.OPT_ConvertLIRtoMIR$DoBURS.perform(OPT_ConvertLIRtoMIR.java:377)
at
com.ibm.JikesRVM.opt.OPT_CompilerPhase.performPhase(OPT_CompilerPhase.java:143)
at
com.ibm.JikesRVM.opt.OPT_OptimizationPlanAtomicElement.perform(OPT_OptimizationPlanAtomicElement.java:84)
at
com.ibm.JikesRVM.opt.OPT_OptimizationPlanCompositeElement.perform(OPT_OptimizationPlanCompositeElement.java:143)
at
com.ibm.JikesRVM.opt.OPT_OptimizationPlanCompositeElement.perform(OPT_OptimizationPlanCompositeElement.java:143)
at
com.ibm.JikesRVM.opt.OPT_CompilationPlan.execute(OPT_CompilationPlan.java:113)
at
com.ibm.JikesRVM.opt.OPT_Compiler.compile(OPT_Compiler.java:224)
at
com.ibm.JikesRVM.VM_RuntimeCompiler.optCompile(VM_RuntimeCompiler.java:377)
at
com.ibm.JikesRVM.VM_RuntimeCompiler.recompileWithOptOnStackSpecialization(VM_RuntimeCompiler.java:478)
at
com.ibm.JikesRVM.OSR.OSR_SpecialCompiler.optCompile(OSR_SpecialCompiler.java:191)
at
com.ibm.JikesRVM.OSR.OSR_SpecialCompiler.recompileState(OSR_SpecialCompiler.java:35)
at
com.ibm.JikesRVM.adaptive.OSR_OnStackReplacementPlan.execute(OSR_OnStackReplacementPlan.java:117)
at
com.ibm.JikesRVM.adaptive.VM_CompilationThread.run(VM_CompilationThread.java:56)
Optimizing compiler (via
recompileWithOptOnStackSpecialization): can't optimize
"TestDriver.main ([Ljava/lang/String;)V" (error was:
com.ibm.JikesRVM.opt.OPT_OptimizingCompilerException:
ERROR produced in module:BURS
rule missing in ref_move
t27pi(I) = t26si(I)
ref_move
long_cmp
register
long_move
long_constant

)

Discussion

  • Dave Grove
    Dave Grove
    2005-04-08

    Logged In: YES
    user_id=1215435

    There's something malformed in the LIR that is being fed
    into BURS. I don't think a ref_move with a RHS of a
    long_cmp makes much sense.

    In other words, I suspect the actual bug is in an earlier
    phase that is generating bad IR, not in BURS itself.

     
  • Dave Grove
    Dave Grove
    2005-04-29

    Logged In: YES
    user_id=1215435

    Is there a test case to reproduce? Without that, its not
    clear if there is anything else we can do to help resolve
    the bug.

     
  • Dave Grove
    Dave Grove
    2005-05-16

    Logged In: YES
    user_id=1215435

    Can't reproduce without testcase; closing until test case
    provided.