Commit c1075d5
committed
Combine bu2i comparison optimization in z/codegen
The z/codegen skips evaluation of a comparison operation
if the first OR second child is a bu2i node and its
grandchild is a bloadi. This condition needs to be
modified from OR to AND (i.e so that both children of the
comparison operation satisfy all conditions). This fixes a
bug where the second comparison child has an
incompatible type with the bu2i node.
Fixes: eclipse-openj9/openj9#22835
Signed-off-by: Dhruv Chopra <Dhruv.C.Chopra@ibm.com>1 parent 0d43ebb commit c1075d5
1 file changed
+8
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
170 | 174 | | |
171 | | - | |
172 | 175 | | |
173 | 176 | | |
174 | | - | |
175 | 177 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | 178 | | |
181 | | - | |
182 | 179 | | |
183 | 180 | | |
184 | 181 | | |
| |||
0 commit comments