Emanuel Peter
8f195ff236
8298952: All nodes should have type(n) == Value(n) after IGVN
...
Reviewed-by: kvn, thartmann, chagedorn
2023-02-06 08:45:48 +00:00
Damon Fenacci
4b0e656bb6
8298118: split-if optimization causes empty loop to temporarily have more than one phi
...
Reviewed-by: roland, thartmann, kvn
2023-01-26 07:41:15 +00:00
Emanuel Peter
5a4945c0d9
8299975: Limit underflow protection CMoveINode in PhaseIdealLoop::do_unroll must also protect type from underflow
...
Reviewed-by: roland, chagedorn
2023-01-23 13:10:42 +00:00
Tobias Holenstein
97c611d029
8289748: C2 compiled code crashes with SIGFPE with -XX:+StressLCM and -XX:+StressGCM
...
Reviewed-by: thartmann, chagedorn, kvn
2023-01-20 14:20:32 +00:00
Emanuel Peter
d716ec5d30
8299179: ArrayFill with store on backedge needs to reduce length by 1
...
Reviewed-by: thartmann, kvn
2023-01-12 07:23:19 +00:00
Jesper Wilhelmsson
19ce23c645
Merge
2022-12-23 11:25:10 +00:00
Roland Westrelin
a0a09d56ba
8298176: remove OpaqueZeroTripGuardPostLoop once main-loop disappears
...
Reviewed-by: thartmann, chagedorn, kvn
2022-12-22 08:56:00 +00:00
Jesper Wilhelmsson
c5a4a7a679
Merge
2022-12-20 11:40:56 +00:00
Emanuel Peter
da38d43fcc
8296412: Special case infinite loops with unmerged backedges in IdealLoopTree::check_safepts
...
Reviewed-by: chagedorn, kvn, thartmann
2022-12-19 12:21:50 +00:00
Tobias Hartmann
9e10f00edb
8298919: Add a regression test for JDK-8298520
...
Reviewed-by: chagedorn, roland
2022-12-16 14:39:48 +00:00
Emanuel Peter
736fcd49f7
8296318: use-def assert: special case undetected loops nested in infinite loops
...
Reviewed-by: chagedorn, kvn
2022-12-14 17:25:49 +00:00
Emanuel Peter
fabda24696
8296389: C2: PhaseCFG::convert_NeverBranch_to_Goto must handle both orders of successors
...
Reviewed-by: thartmann, chagedorn
2022-12-12 12:11:02 +00:00
Roland Westrelin
b7b996cb94
8298353: C2 fails with assert(opaq->outcnt() == 1 && opaq->in(1) == limit) failed
...
Reviewed-by: chagedorn, thartmann, kvn
2022-12-09 15:33:09 +00:00
Emanuel Peter
d562d3fcbe
8297642: PhaseIdealLoop::only_has_infinite_loops must detect all loops that never lead to termination
...
Reviewed-by: thartmann, roland
2022-12-08 15:29:26 +00:00
Christian Hagedorn
49b86224aa
8290850: C2: create_new_if_for_predicate() does not clone pinned phi input nodes resulting in a broken graph
...
Reviewed-by: thartmann, kvn
2022-12-08 11:23:42 +00:00
Roland Westrelin
86270e3068
8269820: C2 PhaseIdealLoop::do_unroll get wrong opaque node
...
Reviewed-by: kvn, thartmann, chagedorn
2022-12-07 14:16:50 +00:00
Christian Hagedorn
0bd04a6589
8297951: C2: Create skeleton predicates for all If nodes in loop predication
...
Reviewed-by: thartmann, kvn
2022-12-06 07:18:44 +00:00
Fei Gao
cc44419840
8295407: C2 crash: Error: ShouldNotReachHere() in multiple vector tests with -XX:-MonomorphicArrayCheck -XX:-UncommonNullCast
...
Reviewed-by: thartmann, kvn
2022-11-17 01:39:56 +00:00
Roland Westrelin
8c472e4816
8294217: Assertion failure: parsing found no loops but there are some
...
Reviewed-by: chagedorn, thartmann
2022-11-14 15:08:15 +00:00
Fei Gao
490fcd0c25
8293833: Error mixing types with -XX:+UseCMoveUnconditionally -XX:+UseVectorCmov
...
Reviewed-by: chagedorn, kvn
2022-10-18 02:00:53 +00:00
Jie Fu
6ed74ef654
8295005: compiler/loopopts/TestRemoveEmptyLoop.java fails with release VMs after JDK-8294839
...
Reviewed-by: chagedorn, epeter
2022-10-10 07:06:51 +00:00
Emanuel Peter
73f06468ae
8294839: Disable StressLongCountedLoop in compiler/loopopts/TestRemoveEmptyLoop.java
...
Reviewed-by: thartmann, chagedorn
2022-10-06 10:40:11 +00:00
Emanuel Peter
dd51f7e0b7
8293996: C2: fix and simplify IdealLoopTree::do_remove_empty_loop
...
Reviewed-by: roland, thartmann, chagedorn
2022-09-27 08:52:19 +00:00
Fei Gao
a4dc035a97
8290910: Wrong memory state is picked in SuperWord::co_locate_pack()
...
Reviewed-by: chagedorn, kvn
2022-09-23 01:26:21 +00:00
Roland Westrelin
37df5f5625
8291599: Assertion in PhaseIdealLoop::skeleton_predicate_has_opaque after JDK-8289127
...
Reviewed-by: chagedorn, thartmann
2022-09-12 07:30:47 +00:00
Roberto Castañeda Lozano
730ced9a10
8292660: C2: blocks made unreachable by NeverBranch-to-Goto conversion are removed incorrectly
...
Reviewed-by: kvn, roland
2022-09-05 07:16:51 +00:00
Jesper Wilhelmsson
6cd1c0c14e
Merge
2022-07-18 22:51:25 +00:00
Pengfei Li
2677dd6d23
8289954: C2: Assert failed in PhaseCFG::verify() after JDK-8183390
...
Reviewed-by: kvn, thartmann, roland
2022-07-18 12:18:06 +00:00
Roland Westrelin
4f3f74c141
8289127: Apache Lucene triggers: DEBUG MESSAGE: duplicated predicate failed which is impossible
...
Reviewed-by: kvn, dlong
2022-07-18 07:08:49 +00:00
Fei Gao
87340fd540
8288883: C2: assert(allow_address || t != T_ADDRESS) failed after JDK-8283091
...
Reviewed-by: kvn, mdoerr
2022-07-18 05:54:51 +00:00
Coleen Phillimore
e7795851d2
8271707: migrate tests to use jdk.test.whitebox.WhiteBox
...
Reviewed-by: lmesnik, dholmes
2022-07-08 15:55:14 +00:00
Jie Fu
d959c22a95
8288000: compiler/loopopts/TestOverUnrolling2.java fails with release VMs
...
Reviewed-by: roland, thartmann
2022-06-08 08:08:10 +00:00
Roland Westrelin
590337e2f2
8286625: C2 fails with assert(!n->is_Store() && !n->is_LoadStore()) failed: no node with a side effect
...
Reviewed-by: thartmann, chagedorn
2022-06-08 06:35:28 +00:00
Emanuel Peter
199832a710
8283466: C2: missing skeleton predicates in peeled loop
...
Reviewed-by: roland, chagedorn
2022-06-02 06:49:23 +00:00
Tobias Holenstein
796494d0fe
8284944: assert(cnt++ < 40) failed: infinite cycle in loop optimization
...
Reviewed-by: kvn, chagedorn
2022-05-25 13:48:19 +00:00
Roberto Castañeda Lozano
6458a56e60
8286177: C2: "failed: non-reduction loop contains reduction nodes" assert failure
...
Reviewed-by: chagedorn, kvn
2022-05-24 07:19:00 +00:00
Alan Bateman
9583e3657e
8284161: Implementation of Virtual Threads (Preview)
...
Co-authored-by: Ron Pressler <rpressler@openjdk.org>
Co-authored-by: Alan Bateman <alanb@openjdk.org>
Co-authored-by: Erik Österlund <eosterlund@openjdk.org>
Co-authored-by: Andrew Haley <aph@openjdk.org>
Co-authored-by: Rickard Bäckman <rbackman@openjdk.org>
Co-authored-by: Markus Grönlund <mgronlun@openjdk.org>
Co-authored-by: Leonid Mesnik <lmesnik@openjdk.org>
Co-authored-by: Serguei Spitsyn <sspitsyn@openjdk.org>
Co-authored-by: Chris Plummer <cjplummer@openjdk.org>
Co-authored-by: Coleen Phillimore <coleenp@openjdk.org>
Co-authored-by: Robbin Ehn <rehn@openjdk.org>
Co-authored-by: Stefan Karlsson <stefank@openjdk.org>
Co-authored-by: Thomas Schatzl <tschatzl@openjdk.org>
Co-authored-by: Sergey Kuksenko <skuksenko@openjdk.org>
Reviewed-by: lancea, eosterlund, rehn, sspitsyn, stefank, tschatzl, dfuchs, lmesnik, dcubed, kevinw, amenkov, dlong, mchung, psandoz, bpb, coleenp, smarks, egahlin, mseledtsov, coffeys, darcy
2022-05-07 08:06:16 +00:00
Roland Westrelin
fa1ca98fff
8281429: PhiNode::Value() is too conservative for tripcount of CountedLoop
...
Reviewed-by: thartmann, kvn
2022-05-06 08:24:33 +00:00
Roberto Castañeda Lozano
6fcd322258
8279622: C2: miscompilation of map pattern as a vector reduction
...
Reviewed-by: roland, kvn, thartmann
2022-05-03 11:08:48 +00:00
Roland Westrelin
dc6358444b
8273115: CountedLoopEndNode::stride_con crash in debug build with -XX:+TraceLoopOpts
...
Reviewed-by: kvn, thartmann
2022-04-25 08:32:50 +00:00
Tobias Hartmann
2367228835
8283834: Unmappable character for US-ASCII encoding in TestPredicateInputBelowLoopPredicate
...
Reviewed-by: chagedorn
2022-03-29 07:21:23 +00:00
Fei Yang
5905b02c0e
8276799: Implementation of JEP 422: Linux/RISC-V Port
...
Co-authored-by: Yadong Wang <yadonn.wang@huawei.com>
Co-authored-by: Yanhong Zhu <zhuyanhong2@huawei.com>
Co-authored-by: Feilong Jiang <jiangfeilong@huawei.com>
Co-authored-by: Kun Wang <wangkun49@huawei.com>
Co-authored-by: Zhuxuan Ni <nizhuxuan@huawei.com>
Co-authored-by: Taiping Guo <guotaiping1@huawei.com>
Co-authored-by: Kang He <hekang6@huawei.com>
Co-authored-by: Aleksey Shipilev <shade@openjdk.org>
Co-authored-by: Xiaolin Zheng <yunyao.zxl@alibaba-inc.com>
Co-authored-by: Kuai Wei <kuaiwei.kw@alibaba-inc.com>
Co-authored-by: Magnus Ihse Bursie <ihse@openjdk.org>
Reviewed-by: ihse, dholmes, rriggs, kvn, shade
2022-03-24 09:22:46 +00:00
Pengfei Li
a6740c010b
8283408: Fix a C2 crash when filling arrays with unsafe
...
Reviewed-by: roland, thartmann
2022-03-24 01:50:04 +00:00
Roland Westrelin
1ef45c5bbd
8280799: С2: assert(false) failed: cyclic dependency prevents range check elimination
...
Reviewed-by: thartmann, kvn
2022-02-14 08:35:53 +00:00
Emanuel Peter
f5e0870091
8281117: Add regression test for JDK-8280587
...
Reviewed-by: chagedorn, thartmann, xliu
2022-02-07 08:18:07 +00:00
Roland Westrelin
de826ba18a
8280600: C2: assert(!had_error) failed: bad dominance
...
Reviewed-by: kvn, thartmann
2022-02-02 08:01:00 +00:00
Christian Hagedorn
65eb066b63
8279837: C2: assert(is_Loop()) failed: invalid node class: Region
...
Reviewed-by: kvn, thartmann
2022-01-13 07:13:22 +00:00
Fairoz Matte
86d0abb66b
8279695: [TESTBUG] modify compiler/loopopts/TestSkeletonPredicateNegation.java to run on C1 also
...
Reviewed-by: neliasso
2022-01-11 09:39:39 +00:00
Fairoz Matte
928e347736
8279032: compiler/loopopts/TestSkeletonPredicateNegation.java times out with -XX:TieredStopAtLevel < 4
...
Reviewed-by: chagedorn, thartmann
2022-01-10 12:36:05 +00:00
Christian Hagedorn
7c6f57fcb1
8275610: C2: Object field load floats above its null check resulting in a segfault
...
Reviewed-by: kvn, roland
2021-12-06 14:48:03 +00:00
Christian Hagedorn
01cb2b9883
8277529: SIGSEGV in C2 CompilerThread Node::rematerialize() compiling Packet::readUnsignedTrint
...
Reviewed-by: thartmann, roland, kvn
2021-12-03 17:14:10 +00:00
Roland Westrelin
3e798dd40c
8275330: C2: assert(n->is_Root() || n->is_Region() || n->is_Phi() || n->is_MachMerge() || def_block->dominates(block)) failed: uses must be dominated by definitions
...
Reviewed-by: thartmann, chagedorn
2021-11-26 09:48:09 +00:00
Nils Eliasson
710f496456
8273277: C2: Move conditional negation into rc_predicate
...
Reviewed-by: thartmann, chagedorn, kvn
2021-11-12 10:08:26 +00:00
casparcwang
aea096770e
8275854: C2: assert(stride_con != 0) failed: missed some peephole opt
...
Co-authored-by: Roland Westrelin <roland@openjdk.org>
Reviewed-by: thartmann, roland, kvn
2021-11-11 10:39:09 +00:00
Roland Westrelin
2aacd4220a
8274145: C2: condition incorrectly made redundant with dominating main loop exit condition
...
Reviewed-by: kvn, neliasso
2021-10-08 14:48:35 +00:00
Christian Hagedorn
dfc557cbea
8274406: RunThese30M.java failed "assert(!LCA_orig->dominates(pred_block) || early->dominates(pred_block)) failed: early is high enough"
...
Reviewed-by: kvn, thartmann
2021-09-30 08:29:43 +00:00
Roland Westrelin
980c50dc60
8272562: C2: assert(false) failed: Bad graph detected in build_loop_late
...
Reviewed-by: chagedorn, kvn
2021-09-29 14:51:33 +00:00
Christian Hagedorn
b0983df5a4
8274074: SIGFPE with C2 compiled code with -XX:+StressGCM
...
Reviewed-by: roland, thartmann
2021-09-27 14:05:51 +00:00
Tobias Holenstein
653a612a5a
8270156: Add "randomness" and "stress" keys to JTreg tests which use StressGCM, StressLCM and/or StressIGVN
...
Reviewed-by: thartmann, chagedorn
2021-09-23 12:59:22 +00:00
Stefan Karlsson
c60bcd09b7
8273928: Use named run ids when problem listing tests
...
Reviewed-by: pliden, kbarrett, dholmes
2021-09-21 07:42:36 +00:00
Christian Hagedorn
c86e24d4be
8271954: C2: assert(false) failed: Bad graph detected in build_loop_late
...
Reviewed-by: roland, kvn
2021-09-16 11:57:30 +00:00
casparcwang
16c3ad1ff4
8272574: C2: assert(false) failed: Bad graph detected in build_loop_late
...
Co-authored-by: Hui Shi <hshi@openjdk.org>
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: thartmann, chagedorn, kvn
2021-09-14 20:55:01 +00:00
Roland Westrelin
2abf3b3b27
8271340: Crash PhaseIdealLoop::clone_outer_loop
...
Reviewed-by: kvn, thartmann
2021-09-07 15:15:17 +00:00
Jesper Wilhelmsson
7cc1eb3e57
Merge
2021-07-30 22:30:23 +00:00
Roland Westrelin
e351de3bd6
8271272: C2: assert(!had_error) failed: bad dominance
...
Reviewed-by: kvn, thartmann, chagedorn
2021-07-30 07:28:04 +00:00
Vladimir Kozlov
4ed548b3ee
8268261: C2: assert(n != __null) failed: Bad immediate dominator info.
...
Reviewed-by: iveresov, vlivanov
2021-07-23 18:51:25 +00:00
Roland Westrelin
c1304519b5
8269752: C2: assert(false) failed: Bad graph detected in build_loop_late
...
Reviewed-by: chagedorn, kvn
2021-07-19 07:31:28 +00:00
Christian Hagedorn
040c02b942
8269795: C2: Out of bounds array load floats above its range check in loop peeling resulting in SEGV
...
Reviewed-by: thartmann, roland, kvn
2021-07-13 08:50:09 +00:00
Christian Hagedorn
f791fdf23e
8261147: C2: Node is wrongly marked as reduction resulting in a wrong execution due to wrong vector instructions
...
Reviewed-by: thartmann, kvn
2021-07-09 11:53:45 +00:00
Roland Westrelin
df1364b508
8269575: C2: assert(false) failed: graph should be schedulable after JDK-8252372
...
Reviewed-by: kvn, thartmann
2021-07-06 07:03:08 +00:00
Roland Westrelin
ad27d9b3ec
8269088: C2 fails with assert(!n->is_Store() && !n->is_LoadStore()) failed: no node with a side effect
...
Reviewed-by: kvn, iveresov, neliasso
2021-07-01 08:11:59 +00:00
Roland Westrelin
578c55bbe6
8267399: C2: java/text/Normalizer/ConformanceTest.java test failed with assertion
...
Reviewed-by: kvn, neliasso
2021-06-22 15:46:44 +00:00
Christian Hagedorn
9ad19f7838
8256934: C2: assert(C->live_nodes() <= C->max_node_limit()) failed: Live Node limit exceeded limit
...
Reviewed-by: roland, vlivanov
2021-06-16 13:02:51 +00:00
Roland Westrelin
4d545a1f86
8267988: C2: assert(!addp->is_AddP() || addp->in(AddPNode::Base)->is_top() || addp->in(AddPNode::Base) == n->in(AddPNode::Base)) failed: Base pointers must match (addp 1301)
...
Reviewed-by: chagedorn, vlivanov, kvn
2021-06-16 07:36:07 +00:00
Vladimir Kozlov
81fdeb579a
8268417: Add test from JDK-8268360
...
Reviewed-by: roland, chagedorn
2021-06-09 15:15:15 +00:00
Roland Westrelin
4413142eca
8268017: C2: assert(phi_type->isa_int() || phi_type->isa_ptr() || phi_type->isa_long()) failed: bad phi type
...
Reviewed-by: vlivanov, chagedorn, whuang
2021-06-09 07:58:17 +00:00
Tobias Hartmann
ab2aec2afb
8265938: C2's conditional move optimization does not handle top Phi
...
Reviewed-by: chagedorn, kvn, iignatyev
2021-04-27 17:10:53 +00:00
Roland Westrelin
8100a20e98
8263971: C2 crashes with SIGFPE with -XX:+StressGCM and -XX:+StressIGVN
...
Reviewed-by: chagedorn, thartmann
2021-03-30 07:40:49 +00:00
Christian Hagedorn
aefc1560b5
8264179: [TESTBUG] Some compiler tests fail when running without C2
...
Reviewed-by: kvn, jiefu
2021-03-29 08:03:47 +00:00
Wang Huang
6e3a158a65
8263352: assert(use == polladr) failed: the use should be a safepoint polling
...
Co-authored-by: Wang Huang <whuang@openjdk.org>
Co-authored-by: Wu Yan <wuyan34@huawei.com>
Reviewed-by: kvn
2021-03-24 06:30:50 +00:00
Igor Ignatyev
a7aba2b61c
8263549: 8263412 can cause jtreg testlibrary split
...
Reviewed-by: iklam, dcubed
2021-03-13 14:51:53 +00:00
Roland Westrelin
ddd550ae84
8261308: C2: assert(inner->is_valid_counted_loop(T_INT) && inner->is_strip_mined()) failed: OuterStripMinedLoop should have been removed
...
Reviewed-by: chagedorn, kvn
2021-03-01 08:42:10 +00:00
Christian Hagedorn
0a89987a96
8240281: Remove failing assertion code when selecting first memory state in SuperWord::co_locate_pack
...
Reviewed-by: roland, kvn, thartmann
2021-02-11 13:00:10 +00:00
Jesper Wilhelmsson
d7acfae3d2
Merge
2021-02-06 00:29:45 +00:00
Roland Westrelin
4de3a6be9e
8260709: C2: assert(false) failed: unscheduable graph
...
Reviewed-by: thartmann, chagedorn
2021-02-04 15:11:25 +00:00
Jesper Wilhelmsson
9b7a8f1982
Merge
2021-02-04 02:06:33 +00:00
Tobias Hartmann
fe407cf1b6
8260420: C2 compilation fails with assert(found_sfpt) failed: no node in loop that's not input to safepoint
...
Reviewed-by: kvn, roland, chagedorn
2021-02-02 07:23:55 +00:00
Igor Ignatyev
8ffdbcebad
8260608: add a regression test for 8260370
...
Reviewed-by: kvn
2021-01-29 04:04:23 +00:00
Vladimir Kozlov
1926765f5e
8253353: Crash in C2: guarantee(n != NULL) failed: No Node
...
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: vlivanov, neliasso
2021-01-28 16:16:51 +00:00
Christian Hagedorn
c5ab7c3214
8260284: C2: assert(_base == Int) failed: Not an Int
...
Reviewed-by: thartmann, kvn
2021-01-25 17:09:52 +00:00
Roland Westrelin
d5ca3b3fd5
8259641: C2: assert(early->dominates(LCA)) failed: early is high enough
...
Reviewed-by: chagedorn, thartmann
2021-01-18 07:54:48 +00:00
Christian Hagedorn
c1fb521694
8259227: C2 crashes with SIGFPE due to a division that floats above its zero check
...
Reviewed-by: kvn, thartmann
2021-01-07 15:02:45 +00:00
Christian Hagedorn
04a1e5b75b
8258505: [TESTBUG] TestDivZeroWithSplitIf.java fails due to missing UnlockDiagnosticVMOptions
...
Reviewed-by: thartmann, kvn, dcubed
2020-12-17 08:09:19 +00:00
Christian Hagedorn
ce36aeaac3
8257822: C2 crashes with SIGFPE due to a division that floats above its zero check
...
Reviewed-by: kvn, thartmann
2020-12-15 15:14:34 +00:00
Christian Hagedorn
1d0adbb812
8253644: C2: assert(skeleton_predicate_has_opaque(iff)) failed: unexpected
...
Reviewed-by: roland, kvn
2020-12-08 08:48:58 +00:00
Roland Westrelin
86b65756cb
8257574: C2: "failed: parsing found no loops but there are some" assert failure
...
Reviewed-by: thartmann, neliasso, chagedorn
2020-12-04 12:01:53 +00:00
Dong Bo
b0b9dd27b8
8256318: AArch64: Add support for floating-point absolute difference
...
Reviewed-by: aph
2020-11-18 10:14:20 +00:00
Roland Westrelin
ea576ddbd4
8254887: C2: assert(cl->trip_count() > 0) failed: peeling a fully unrolled loop
...
Reviewed-by: chagedorn, thartmann
2020-11-13 08:19:33 +00:00
Tobias Hartmann
7c0d417027
8251535: Partial peeling at unsigned test adds incorrect loop exit check
...
Reviewed-by: chagedorn, neliasso, kvn
2020-10-16 06:25:33 +00:00
Roberto Castañeda Lozano
05459df0c7
8253765: C2: Control randomization in StressLCM and StressGCM
...
Use the compilation-local seed in 'StressLCM' and 'StressGCM' rather than the
global one. As a consequence, these options use by default a fresh seed in every
compilation, unless 'StressSeed=N' is specified, in which case they behave
deterministically. Annotate tests that use 'StressLCM' and 'StressGCM' with the
'stress' and 'randomness' keys to reflect this change in default behavior.
Reviewed-by: kvn, thartmann
2020-10-12 11:40:50 +00:00