123 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
Daniel Lundén
d632d743e0 8321820: TestLoadNIdeal fails on 32-bit because -XX:+UseCompressedOops is not recognized
Reviewed-by: rcastanedalo, chagedorn, shade
2023-12-14 09:29:34 +00:00
Daniel Lundén
9e48b90c7f 8310524: C2: record parser-generated LoadN nodes for IGVN
Reviewed-by: chagedorn, rcastanedalo, thartmann
2023-12-08 11:04:39 +00:00
Jorn Vernee
a5ccd3beaf 8267532: C2: Profile and prune untaken exception handlers
8310011: Arena with try-with-resources is slower than it should be

Reviewed-by: thartmann, vlivanov
2023-11-28 10:17:58 +00:00
Jasmine Karthikeyan
4977922a3f 8320330: Improve implementation of RShift Value
Reviewed-by: thartmann, chagedorn
2023-11-27 14:44:08 +00:00
Roland Westrelin
129c4708b4 8311932: Suboptimal compiled code of nested loop over memory segment
Reviewed-by: thartmann, chagedorn
2023-11-17 07:54:10 +00:00
Jasmine Karthikeyan
2a76ad975c 8318683: compiler/c2/irTests/TestPhiDuplicatedConversion.java "Failed IR Rules (2) of Methods (2)"
Reviewed-by: thartmann, kvn
2023-11-01 06:12:55 +00:00
Hamlin Li
9e98ee6726 8318735: RISC-V: Enable related hotspot tests run on riscv
Reviewed-by: fyang, luhenry
2023-10-25 15:37:42 +00:00
Jasmine Karthikeyan
36993aea9a 8316918: Optimize conversions duplicated across phi nodes
Reviewed-by: thartmann, kvn
2023-10-16 12:52:01 +00:00
Roland Westrelin
dac1727956 8308869: C2: use profile data in subtype checks when profile has more than one class
Co-authored-by: Fei Yang <fyang@openjdk.org>
Reviewed-by: vlivanov, thartmann
2023-09-08 07:48:05 +00:00
Tobias Hotz
aba89f20bf 8312213: Remove unnecessary TEST instructions on x86 when flags reg will already be set
Reviewed-by: jvernee, dlong
2023-09-05 22:08:20 +00:00
Christian Hagedorn
2dc930de12 8314997: Missing optimization opportunities due to missing try_clean_mem_phi() calls
Reviewed-by: roland, kvn, thartmann
2023-09-04 06:53:19 +00:00
Quan Anh Mai
837cf85f7d 8312547: Max/Min nodes Value implementation could be improved
Reviewed-by: thartmann, kvn
2023-08-25 17:48:27 +00:00
Cesar Soares Lucas
02ef859f79 8313689: C2: compiler/c2/irTests/scalarReplacement/AllocationMergesTests.java fails intermittently with -XX:-TieredCompilation
Reviewed-by: kvn, thartmann
2023-08-22 07:58:51 +00:00
Emanuel Peter
d46f0fb318 8313720: C2 SuperWord: wrong result with -XX:+UseVectorCmov -XX:+UseCMoveUnconditionally
Reviewed-by: chagedorn, thartmann
2023-08-16 07:15:43 +00:00
Emanuel Peter
a02d65efcc 8310308: IR Framework: check for type and size of vector nodes
Reviewed-by: chagedorn, thartmann
2023-08-15 10:08:51 +00:00
Fei Gao
37c6b23f5b 8308340: C2: Idealize Fma nodes
Reviewed-by: kvn, epeter
2023-08-15 01:04:22 +00:00
Cesar Soares Lucas
a53345ad03 8287061: Support for rematerializing scalar replaced objects participating in allocation merges
Reviewed-by: kvn, vlivanov
2023-07-17 23:01:35 +00:00
Roland Westrelin
be64d3ac3c 8310299: C2: 8275201 broke constant folding of array store check in some cases
Reviewed-by: thartmann, kvn
2023-06-29 07:41:04 +00:00
Emanuel Peter
9057b35033 8306922: IR verification fails because IR dump is chopped up
Reviewed-by: chagedorn, thartmann
2023-06-26 06:11:32 +00:00
Quan Anh Mai
947f14977a 8308444: LoadStoreNode::result_not_used() is too conservative
Reviewed-by: kvn, thartmann
2023-06-15 16:00:18 +00:00
Vladimir Kozlov
0038491abd 8309978: [x64] Fix useless padding
Reviewed-by: chagedorn, thartmann, shade
2023-06-15 15:32:45 +00:00
Roberto Castañeda Lozano
3fa776d66a 8302673: [SuperWord] MaxReduction and MinReduction should vectorize for int
Co-authored-by: Jatin Bhateja <jbhateja@openjdk.org>
Reviewed-by: epeter, kvn
2023-06-05 07:08:33 +00:00
Emanuel Peter
22a9a86be0 8309268: C2: "assert(in_bb(n)) failed: must be" after JDK-8306302
Reviewed-by: rcastanedalo, kvn, thartmann
2023-06-05 06:43:13 +00:00
Jasmine Karthikeyan
fb0b1f0c23 8051725: Improve expansion of Conv2B nodes in the middle-end
Reviewed-by: thartmann, qamai, sviswanathan
2023-05-30 14:11:12 +00:00
Emanuel Peter
beb75e651f 8306302: C2 Superword fix: use VectorMaskCmp and VectorBlend instead of CMoveVF/D
Reviewed-by: fgao, jbhateja
2023-05-24 07:00:27 +00:00
Roberto Castañeda Lozano
1be80a4445 8287087: C2: perform SLP reduction analysis on-demand
Reviewed-by: epeter, jbhateja, thartmann
2023-04-27 09:39:53 +00:00
Roland Westrelin
8ecb5dfa34 8305781: compiler/c2/irTests/TestVectorizationMultiInvar.java failed with "IRViolationException: There were one or multiple IR rule failures."
Reviewed-by: thartmann, kvn
2023-04-18 08:54:55 +00:00
Roland Westrelin
6b2a86a65e 8300257: C2: vectorization fails on some simple Memory Segment loops
Reviewed-by: kvn, thartmann
2023-04-07 12:51:44 +00:00
Fei Gao
dea9db2d0a 8305055: IR check fails on some aarch64 platforms
Reviewed-by: epeter, thartmann
2023-03-31 09:15:24 +00:00
Christian Hagedorn
c466cdf973 8299546: C2: MulLNode::mul_ring() wrongly returns bottom type due to casting errors with large numbers
Reviewed-by: iveresov, kvn, qamai
2023-03-14 14:57:47 +00:00
Jasmine K
8e41bf222f 8303238: Create generalizations for existing LShift ideal transforms
Reviewed-by: redestad, thartmann
2023-03-13 11:10:42 +00:00