@@ -224,23 +224,18 @@ private static Object[] setup() {
224
224
}
225
225
226
226
@ Test
227
+ // TODO: Make tests more precise
227
228
@ IR (counts = {IRNode .LEA_P , "=2" },
228
229
phase = {CompilePhase .FINAL_CODE },
229
230
applyIfPlatform = {"mac" , "false" })
230
231
// Negative
231
- @ IR (counts = {IRNode .DECODE_HEAP_OOP_NOT_NULL , "=5" },
232
+ @ IR (counts = {IRNode .DECODE_HEAP_OOP_NOT_NULL , "> =5" },
232
233
phase = {CompilePhase .FINAL_CODE },
233
- applyIfAnd = {"OptoPeephole" , "false" , "UseAVX" , ">=2" })
234
- @ IR (counts = {IRNode .DECODE_HEAP_OOP_NOT_NULL , "=13" },
235
- phase = {CompilePhase .FINAL_CODE },
236
- applyIfAnd = {"OptoPeephole" , "false" , "UseAVX" , "<2" })
234
+ applyIf = {"OptoPeephole" , "false" })
237
235
// 2 decodes get removed
238
- @ IR (counts = {IRNode .DECODE_HEAP_OOP_NOT_NULL , "=3" },
236
+ @ IR (counts = {IRNode .DECODE_HEAP_OOP_NOT_NULL , "> =3" },
239
237
phase = {CompilePhase .FINAL_CODE },
240
- applyIfAnd = {"OptoPeephole" , "true" , "UseAVX" , ">=2" })
241
- @ IR (counts = {IRNode .DECODE_HEAP_OOP_NOT_NULL , "=11" },
242
- phase = {CompilePhase .FINAL_CODE },
243
- applyIfAnd = {"OptoPeephole" , "true" , "UseAVX" , "<2" })
238
+ applyIf = {"OptoPeephole" , "true" })
244
239
@ Arguments (setup = "setup" )
245
240
public static Name test (Name n1 , Name n2 ) {
246
241
return n1 .append (n2 );
@@ -258,6 +253,7 @@ private static Object[] setup() {
258
253
}
259
254
260
255
@ Test
256
+ // TODO: Make tests more precise
261
257
@ IR (counts = {IRNode .LEA_P , "=1" },
262
258
phase = {CompilePhase .FINAL_CODE },
263
259
applyIfPlatform = {"mac" , "false" })
0 commit comments