# HG changeset patch # User mdoerr # Date 1525250836 -7200 # Node ID 8e1ed2a158451b260940703ed7f947f343955a96 # Parent f4310c01104d1924c97a3d9624523e59688150fb 8202425: [s390] C2: Wrong unsigned comparison with 0 Summary: Remove wrong node compU_reg_imm0. Other node is already available. Reviewed-by: shade, lucy diff -r f4310c01104d -r 8e1ed2a15845 src/hotspot/cpu/s390/s390.ad --- a/src/hotspot/cpu/s390/s390.ad Tue May 01 17:28:03 2018 -0700 +++ b/src/hotspot/cpu/s390/s390.ad Wed May 02 10:47:16 2018 +0200 @@ -8401,16 +8401,6 @@ ins_pipe(pipe_class_dummy); %} -instruct compU_reg_imm0(flagsReg cr, iRegI op1, immI_0 zero) %{ - match(Set cr (CmpU op1 zero)); - ins_cost(DEFAULT_COST_LOW); - size(2); - format %{ "LTR $op1,$op1\t # unsigned" %} - opcode(LTR_ZOPC); - ins_encode(z_rrform(op1, op1)); - ins_pipe(pipe_class_dummy); -%} - instruct compU_reg_mem(flagsReg cr, iRegI op1, memory op2)%{ match(Set cr (CmpU op1 (LoadI op2))); ins_cost(MEMORY_REF_COST);