8202425: [s390] C2: Wrong unsigned comparison with 0
authormdoerr
Wed, 02 May 2018 10:47:16 +0200
changeset 49943 8e1ed2a15845
parent 49942 f4310c01104d
child 49944 4690a2871b44
8202425: [s390] C2: Wrong unsigned comparison with 0 Summary: Remove wrong node compU_reg_imm0. Other node is already available. Reviewed-by: shade, lucy
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);