315 Commits

Author SHA1 Message Date
Kangcheng Xu
1383fec417 8327381: Refactor type-improving transformations in BoolNode::Ideal to BoolNode::Value
Reviewed-by: chagedorn, thartmann, jkarthikeyan, epeter
2024-08-29 05:34:08 +00:00
Qizheng Xing
965dd1acd0 8333334: C2: Make result of Node::dominates more precise to enhance scalar replacement
Reviewed-by: chagedorn, kvn, thartmann
2024-08-23 09:30:47 +00:00
Fei Gao
3859131505 8338442: AArch64: Clean up IndOffXX type and let legitimize_address() fix out-of-range operands
Reviewed-by: aph, dlong
2024-08-15 15:16:14 +00:00
Aleksey Shipilev
74fdd6868d 8333791: Fix memory barriers for @Stable fields
Reviewed-by: liach, vlivanov
2024-08-15 11:24:22 +00:00
Jasmine Karthikeyan
f2ba2ebbca 8331090: Run Ideal_minmax before de-canonicalizing CMoves
Reviewed-by: thartmann, epeter
2024-07-31 15:16:21 +00:00
Aleksey Shipilev
c73b3cb599 8336635: Add IR test for Reference.refersTo intrinsic
Reviewed-by: thartmann, kvn
2024-07-31 12:56:43 +00:00
Fei Gao
d10afa26e5 8336245: AArch64: remove extra register copy when converting from long to pointer
Co-authored-by: Andrew Haley <aph@openjdk.org>
Reviewed-by: aph, adinn
2024-07-26 09:36:23 +00:00
William Kemper
0584af2325 8336685: Shenandoah: Remove experimental incremental update mode
Reviewed-by: shade
2024-07-25 23:59:56 +00:00
Jasmine Karthikeyan
685e5878b8 8334816: compiler/c2/irTests/TestIfMinMax.java fails after 8334629
Reviewed-by: thartmann, chagedorn
2024-07-02 14:36:29 +00:00
Emanuel Peter
9046d7aee3 8335390: C2 MergeStores: wrong result with Unsafe
Reviewed-by: thartmann, chagedorn, kvn
2024-07-02 08:20:26 +00:00
Gui Cao
ef7923e127 8334078: RISC-V: TestIntVect.java fails after JDK-8332153 when running without RVV
Reviewed-by: fyang, mli
2024-06-17 11:35:41 +00:00
Fei Gao
2c9185eb81 8321308: AArch64: Fix matching predication for cbz/cbnz
Reviewed-by: fyang, adinn, aph
2024-06-12 13:29:45 +00:00
Richard Reingruber
f7862bd6b9 8331311: C2: Big Endian Port of 8318446: optimize stores into primitive arrays by combining values into larger store
Reviewed-by: epeter, kvn
2024-06-07 06:16:03 +00:00
Cesar Soares Lucas
b351b5f60e 8331736: C2: Live Node limit exceeded limit after JDK-8316991
Reviewed-by: thartmann, chagedorn
2024-06-06 05:21:09 +00:00
Hamlin Li
5cf8288b80 8332153: RISC-V: enable tests and add comment for vector shift instruct (shared by vectorization and Vector API)
Reviewed-by: fyang
2024-05-21 12:34:06 +00:00
Cesar Soares Lucas
8acdd2d7c8 8330565: C2: Multiple crashes with CTW after JDK-8316991
Reviewed-by: kvn, thartmann
2024-05-17 23:39:31 +00:00
Roland Westrelin
8032d640c0 8332245: C2: missing record_for_ign() call in GraphKit::must_be_not_null()
Reviewed-by: thartmann, chagedorn
2024-05-15 12:01:20 +00:00
Cesar Soares Lucas
4e77cf881d 8330795: C2: assert((uint)type <= T_CONFLICT && _zero_type[type] != nullptr) failed: bad type with -XX:-UseCompressedClassPointers
Reviewed-by: kvn
2024-05-15 01:46:22 +00:00
Hamlin Li
675fbe699e 8331993: Add counting leading/trailing zero tests for Integer
Reviewed-by: chagedorn
2024-05-10 13:57:55 +00:00
Thomas Stuefe
ad78b7fa67 8331185: Enable compiler memory limits in debug builds
Reviewed-by: asmehra, kvn
2024-05-08 10:38:09 +00:00
Emanuel Peter
df1ff056f1 8331085: Crash in MergePrimitiveArrayStores::is_compatible_store()
Reviewed-by: thartmann, chagedorn
2024-05-07 07:08:32 +00:00
Cesar Soares Lucas
9347bb7df8 8330247: C2: CTW fail with assert(adr_t->is_known_instance_field()) failed: instance required
Reviewed-by: kvn
2024-05-03 23:41:12 +00:00
Tobias Hartmann
d3bf52628e 8331518: Tests should not use the "Classpath" exception form of the legal header
Reviewed-by: dholmes
2024-05-02 07:49:12 +00:00
Emanuel Peter
3d11692bf3 8331252: C2: MergeStores: handle negative shift values
Reviewed-by: kvn, shade
2024-04-30 16:15:07 +00:00
Joshua Cao
d32f109219 8329797: Shenandoah: Default case invoked for: "MaxL" (bad AD file)
Reviewed-by: shade, thartmann
2024-04-25 07:11:12 +00:00
Emanuel Peter
ea3909acd1 8331054: C2 MergeStores: assert failed: unexpected basic type after JDK-8318446 and JDK-8329555
Reviewed-by: thartmann, kvn
2024-04-24 19:06:46 +00:00
Joshua Cao
1d06170758 8300148: Consider using a StoreStore barrier instead of Release barrier on ctor exit
Reviewed-by: shade, kvn, dlong
2024-04-24 17:06:45 +00:00
Emanuel Peter
3ccb64c021 8318446: C2: optimize stores into primitive arrays by combining values into larger store
Reviewed-by: kvn, thartmann
2024-04-24 06:44:14 +00:00
Jasmine Karthikeyan
438e64310d 8329531: compiler/c2/irTests/TestIfMinMax.java fails with IRViolationException: There were one or multiple IR rule failures.
Reviewed-by: epeter, dfenacci
2024-04-24 05:22:51 +00:00
Evgeny Nikitin
5394f57f00 8330621: Make 5 compiler tests use ProcessTools.executeProcess
Reviewed-by: chagedorn, stefank, thartmann
2024-04-22 07:41:06 +00:00
Roland Westrelin
9445047d05 8330163: C2: improve CMoveNode::Value() when condition is always true or false
Reviewed-by: chagedorn, kvn
2024-04-17 10:48:35 +00:00
Roman Kennke
2e925f263d 8329726: Use non-short forward jumps in lightweight locking
Reviewed-by: shade, kvn, aboldtch
2024-04-09 14:50:41 +00:00
Jatin Bhateja
fbc1e6661e 8328181: C2: assert(MaxVectorSize >= 32) failed: vector length should be >= 32
Reviewed-by: kvn, vlivanov
2024-04-09 01:37:38 +00:00
Cesar Soares Lucas
a887fd2144 8316991: Reduce nullable allocation merges
Reviewed-by: kvn, vlivanov
2024-04-08 23:13:38 +00:00
Fei Yang
16b842af8e 8329355: Test compiler/c2/irTests/TestIfMinMax.java fails on RISC-V
Reviewed-by: jkarthikeyan, thartmann, chagedorn
2024-04-03 07:39:24 +00:00
Jasmine Karthikeyan
9f920b9bbf 8324655: Identify integer minimum and maximum patterns created with if statements
Reviewed-by: epeter, qamai
2024-03-25 06:23:11 +00:00
Roland Westrelin
053ff76e14 8308660: C2 compilation hits 'node must be dead' assert
Reviewed-by: chagedorn, kvn
2024-03-19 07:57:53 +00:00
Emanuel Peter
98f0b86641 8319690: [AArch64] C2 compilation hits offset_ok_for_immed: assert "c2 compiler bug"
Co-authored-by: Fei Gao <fgao@openjdk.org>
Reviewed-by: aph, kvn, gli
2024-03-05 13:37:08 +00:00
Cesar Soares Lucas
7cd25ed605 8322854: Incorrect rematerialization of scalar replaced objects in C2
Reviewed-by: kvn, thartmann
2024-02-13 13:50:59 +00:00
Emanuel Peter
8d9ad97c29 8324641: [IR Framework] Add Setup method to provide custom arguments and set fields
Reviewed-by: chagedorn, thartmann
2024-02-09 05:30:20 +00:00
Daniel Lundén
4abb10eb0b 8317349: Randomize order of macro node expansion in C2
Reviewed-by: chagedorn, rcastanedalo, thartmann
2024-02-07 10:01:35 +00:00
Daniel Lundén
4da28b40f0 8291809: Convert compiler/c2/cr7200264/TestSSE2IntVect.java to IR verification test
Reviewed-by: rcastanedalo, epeter, chagedorn
2024-02-05 10:53:38 +00:00
Cesar Soares Lucas
76afa02dab 8322572: AllocationMergesTests.java fails with "IRViolationException: There were one or multiple IR rule failures."
Reviewed-by: kvn, thartmann
2024-01-22 08:22:33 +00:00
Christian Hagedorn
6997bfc68d 8323154: C2: assert(cmp != nullptr && cmp->Opcode() == Op_Cmp(bt)) failed: no exit test
Reviewed-by: roland, thartmann, qamai
2024-01-19 15:49:02 +00:00
Jorn Vernee
2fd775f69c 8323651: compiler/c2/irTests/TestPrunedExHandler.java fails with -XX:+DeoptimizeALot
Reviewed-by: alanb, kvn
2024-01-16 13:25:49 +00:00
Emanuel Peter
45c65e6b1a 8323577: C2 SuperWord: remove AlignVector restrictions on IR tests added in JDK-8305055
Reviewed-by: rcastanedalo, chagedorn
2024-01-15 10:41:05 +00:00
Zhiqiang Zang
1515bd7c9d 8322077: Add Ideal transformation: (~a) | (~b) => ~(a & b)
Reviewed-by: thartmann, epeter
2024-01-15 06:48:00 +00:00
Zhiqiang Zang
8569227473 8322589: Add Ideal transformation: (~a) & (~b) => ~(a | b)
Reviewed-by: thartmann, epeter
2024-01-10 07:31:56 +00:00
Boris Ulasevich
52a6c37558 8322858: compiler/c2/aarch64/TestFarJump.java fails on AArch64 due to unexpected PrintAssembly output
Reviewed-by: aph, thartmann
2024-01-09 10:33:52 +00:00
Emanuel Peter
827c71dac9 8310190: C2 SuperWord: AlignVector is broken, generates misaligned packs
Co-authored-by: Christian Hagedorn <chagedorn@openjdk.org>
Reviewed-by: kvn, chagedorn
2024-01-08 16:10:21 +00:00