-
Bug
-
Resolution: Fixed
-
P4
-
repo-valhalla
Failed IR Rules (1) of Methods (1)
----------------------------------
1) Method "public compiler.valhalla.inlinetypes.MyValue3 compiler.valhalla.inlinetypes.TestMethodHandles.test9() throws java.lang.Throwable" - [Failed IR rules: 1]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={}, failOn={"_#ALLOC#I_", "_#ALLOCA#I_", "_#STORE#I_", "_#STORE_INLINE_FIELDS#I_"}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={"InlineTypeReturnedAsFields", "true"}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
> Phase "PrintIdeal":
- failOn: Graph contains forbidden nodes:
* Constraint 3: "(\d+(\s){2}(Store(B|C|S|I|L|F|D|P|N).*)+(\s){2}===.*@compiler/valhalla/inlinetypes/.*)"
- Matched forbidden nodes (14):
* 1014 StoreL === 1095 1096 1015 943 [[ 1019 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+16 *, name=l, idx=4; Memory: @rawptr:BotPTR, idx=Raw; !orig=1013 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1019 StoreD === 1095 1014 1020 946 [[ 1024 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+24 *, name=f2, idx=5; Memory: @rawptr:BotPTR, idx=Raw; !orig=1018 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1024 StoreD === 1095 1019 1025 949 [[ 1029 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+32 *, name=f4, idx=6; Memory: @rawptr:BotPTR, idx=Raw; !orig=1023 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1029 StoreD === 1095 1024 1030 952 [[ 1034 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+40 *, name=f6, idx=7; Memory: @rawptr:BotPTR, idx=Raw; !orig=1028 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1034 StoreD === 1095 1029 1035 956 [[ 1039 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+48 *, name=f8, idx=8; Memory: @rawptr:BotPTR, idx=Raw; !orig=1033 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1039 StoreF === 1095 1034 1040 959 [[ 1045 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+56 *, name=f7, idx=9; Memory: @rawptr:BotPTR, idx=Raw; !orig=1038 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1045 StoreN === 1095 1039 1046 962 [[ 1050 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+60 * [narrow], name=o, idx=10; Memory: @rawptr:BotPTR, idx=Raw; !orig=1044 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1050 StoreC === 1095 1045 1051 966 [[ 1055 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+64 *, name=c, idx=11; Memory: @rawptr:BotPTR, idx=Raw; !orig=1049 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1055 StoreB === 1095 1050 1056 969 [[ 1060 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+66 *, name=bb, idx=12; Memory: @rawptr:BotPTR, idx=Raw; !orig=1054 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1060 StoreC === 1095 1055 1061 972 [[ 1065 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+68 *, name=s, idx=13; Memory: @rawptr:BotPTR, idx=Raw; !orig=1059 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1065 StoreI === 1095 1060 1066 975 [[ 1070 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+72 *, name=i, idx=14; Memory: @rawptr:BotPTR, idx=Raw; !orig=1064 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1070 StoreF === 1095 1065 1071 978 [[ 1075 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+76 *, name=f1, idx=15; Memory: @rawptr:BotPTR, idx=Raw; !orig=1069 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1075 StoreF === 1095 1070 1076 981 [[ 1080 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+80 *, name=f3, idx=16; Memory: @rawptr:BotPTR, idx=Raw; !orig=1074 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1080 StoreF === 1095 1075 1081 984 [[ 917 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+84 *, name=f5, idx=17; Memory: @rawptr:BotPTR, idx=Raw; !orig=1079 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
> Phase "PrintOptoAssembly":
- failOn: Graph contains forbidden nodes:
* Constraint 1: "(.*precise compiler/valhalla/inlinetypes/MyValue.*\R(.*(?i:mov|xorl|nop|spill).*\R)*.*C2 Runtime new_instance)"
- Matched forbidden node:
* 204 movq RSI, precise compiler/valhalla/inlinetypes/MyValue3: 0x000075f1a596c890 (compiler/valhalla/inlinetypes/MyInterface):Constant:exact * # ptr
20e xorl RDX, RDX # int
nop # 3 bytes pad for loops and calls
213 call,static wrapper for: C2 Runtime new_instance
----------------------------------
1) Method "public compiler.valhalla.inlinetypes.MyValue3 compiler.valhalla.inlinetypes.TestMethodHandles.test9() throws java.lang.Throwable" - [Failed IR rules: 1]:
* @IR rule 1: "@compiler.lib.ir_framework.IR(phase={DEFAULT}, applyIfPlatformAnd={}, applyIfCPUFeatureOr={}, counts={}, failOn={"_#ALLOC#I_", "_#ALLOCA#I_", "_#STORE#I_", "_#STORE_INLINE_FIELDS#I_"}, applyIfPlatform={}, applyIfPlatformOr={}, applyIfOr={}, applyIfCPUFeatureAnd={}, applyIf={"InlineTypeReturnedAsFields", "true"}, applyIfCPUFeature={}, applyIfAnd={}, applyIfNot={})"
> Phase "PrintIdeal":
- failOn: Graph contains forbidden nodes:
* Constraint 3: "(\d+(\s){2}(Store(B|C|S|I|L|F|D|P|N).*)+(\s){2}===.*@compiler/valhalla/inlinetypes/.*)"
- Matched forbidden nodes (14):
* 1014 StoreL === 1095 1096 1015 943 [[ 1019 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+16 *, name=l, idx=4; Memory: @rawptr:BotPTR, idx=Raw; !orig=1013 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1019 StoreD === 1095 1014 1020 946 [[ 1024 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+24 *, name=f2, idx=5; Memory: @rawptr:BotPTR, idx=Raw; !orig=1018 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1024 StoreD === 1095 1019 1025 949 [[ 1029 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+32 *, name=f4, idx=6; Memory: @rawptr:BotPTR, idx=Raw; !orig=1023 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1029 StoreD === 1095 1024 1030 952 [[ 1034 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+40 *, name=f6, idx=7; Memory: @rawptr:BotPTR, idx=Raw; !orig=1028 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1034 StoreD === 1095 1029 1035 956 [[ 1039 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+48 *, name=f8, idx=8; Memory: @rawptr:BotPTR, idx=Raw; !orig=1033 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1039 StoreF === 1095 1034 1040 959 [[ 1045 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+56 *, name=f7, idx=9; Memory: @rawptr:BotPTR, idx=Raw; !orig=1038 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1045 StoreN === 1095 1039 1046 962 [[ 1050 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+60 * [narrow], name=o, idx=10; Memory: @rawptr:BotPTR, idx=Raw; !orig=1044 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1050 StoreC === 1095 1045 1051 966 [[ 1055 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+64 *, name=c, idx=11; Memory: @rawptr:BotPTR, idx=Raw; !orig=1049 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1055 StoreB === 1095 1050 1056 969 [[ 1060 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+66 *, name=bb, idx=12; Memory: @rawptr:BotPTR, idx=Raw; !orig=1054 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1060 StoreC === 1095 1055 1061 972 [[ 1065 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+68 *, name=s, idx=13; Memory: @rawptr:BotPTR, idx=Raw; !orig=1059 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1065 StoreI === 1095 1060 1066 975 [[ 1070 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+72 *, name=i, idx=14; Memory: @rawptr:BotPTR, idx=Raw; !orig=1064 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1070 StoreF === 1095 1065 1071 978 [[ 1075 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+76 *, name=f1, idx=15; Memory: @rawptr:BotPTR, idx=Raw; !orig=1069 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1075 StoreF === 1095 1070 1076 981 [[ 1080 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+80 *, name=f3, idx=16; Memory: @rawptr:BotPTR, idx=Raw; !orig=1074 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
* 1080 StoreF === 1095 1075 1081 984 [[ 917 ]] @compiler/valhalla/inlinetypes/MyValue3 (compiler/valhalla/inlinetypes/MyInterface):exact+84 *, name=f5, idx=17; Memory: @rawptr:BotPTR, idx=Raw; !orig=1079 !jvms: 0x000075f1cc707428::invokeVirtual @ bci:10 0x000075f1cca07410::delegate @ bci:13 0x000075f1ccc35000::guard @ bci:74 0x000075f1cc508450::invokeExact_MT @ bci:19 TestMethodHandles::test9 @ bci:4 (line 437)
> Phase "PrintOptoAssembly":
- failOn: Graph contains forbidden nodes:
* Constraint 1: "(.*precise compiler/valhalla/inlinetypes/MyValue.*\R(.*(?i:mov|xorl|nop|spill).*\R)*.*C2 Runtime new_instance)"
- Matched forbidden node:
* 204 movq RSI, precise compiler/valhalla/inlinetypes/MyValue3: 0x000075f1a596c890 (compiler/valhalla/inlinetypes/MyInterface):Constant:exact * # ptr
20e xorl RDX, RDX # int
nop # 3 bytes pad for loops and calls
213 call,static wrapper for: C2 Runtime new_instance
- links to
-
Commit(lworld) openjdk/valhalla/ab079490
-
Review(lworld) openjdk/valhalla/1289