Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6ecfcfe894 
								
							 
						 
						
							
							
								
								GH-115816: Assorted naming and formatting changes to improve maintainability. (GH-115987)  
							
							... 
							
							
							
							* Rename _Py_UOpsAbstractInterpContext to _Py_UOpsContext and _Py_UOpsSymType to _Py_UopsSymbol.
* #define shortened form of _Py_uop_... names for improved readability. 
							
						 
						
							2024-02-27 13:25:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								10fbcd6c5d 
								
							 
						 
						
							
							
								
								GH-115816: Make tier2 optimizer symbols testable, and add a few tests. (GH-115953)  
							
							
							
						 
						
							2024-02-27 10:51:26 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Michael Droettboom 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b05afdd5ec 
								
							 
						 
						
							
							
								
								gh-115168: Add pystats counter for invalidated executors (GH-115169)  
							
							
							
						 
						
							2024-02-26 17:51:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								c0fdfba7ff 
								
							 
						 
						
							
							
								
								Rename tier 2 redundancy eliminator to optimizer ( #115888 )  
							
							... 
							
							
							
							The original name is just too much of a mouthful. 
							
						 
						
							2024-02-26 08:42:53 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ken Jin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3d8fc06d4f 
								
							 
						 
						
							
							
								
								gh-115859: Disable the tier 2 redundancy eliminator by default (GH-115860)  
							
							
							
						 
						
							2024-02-23 18:43:52 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ken Jin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								a33ffe4785 
								
							 
						 
						
							
							
								
								gh-114058: More robust method handling in redundancy eliminator (GH-115779)  
							
							
							
						 
						
							2024-02-23 15:42:03 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b348313e7a 
								
							 
						 
						
							
							
								
								GH-115651: Convert LOAD_MODULE_ATTR into LOAD_INLINE_CONST when the module is itself a constant. (GH-115711)  
							
							
							
						 
						
							2024-02-22 14:48:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1235e84276 
								
							 
						 
						
							
							
								
								Delete unused sym_clear_flag function. ( #115744 )  
							
							
							
						 
						
							2024-02-20 17:40:48 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								142502ea8d 
								
							 
						 
						
							
							
								
								Tier 2 cleanups and tweaks ( #115534 )  
							
							... 
							
							
							
							* Rename `_testinternalcapi.get_{uop,counter}_optimizer` to `new_*_optimizer`
* Use `_PyUOpName()` instead of` _PyOpcode_uop_name[]`
* Add `target` to executor iterator items -- `list(ex)` now returns `(opcode, oparg, target, operand)` quadruples
* Add executor methods `get_opcode()` and `get_oparg()` to get `vmdata.opcode`, `vmdata.oparg`
* Define a helper for printing uops, and unify various places where they are printed
* Add a hack to summarize_stats.py to fix legacy uop names (e.g. `POP_TOP` -> `_POP_TOP`)
* Define helpers in `test_opt.py` for accessing the set or list of opnames of an executor 
							
						 
						
							2024-02-20 20:24:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ken Jin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								f92857a930 
								
							 
						 
						
							
							
								
								gh-115480: Minor fixups in int constant propagation (GH-115507)  
							
							
							
						 
						
							2024-02-16 22:59:43 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ken Jin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4ebf8fbdab 
								
							 
						 
						
							
							
								
								gh-115480: Type and constant propagation for int BINARY_OPs (GH-115478)  
							
							
							
						 
						
							2024-02-15 14:02:18 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								681778c56a 
								
							 
						 
						
							
							
								
								GH-113710: Improve _SET_IP and _CHECK_VALIDITY (GH-115248)  
							
							
							
						 
						
							2024-02-13 16:28:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ken Jin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7cce857622 
								
							 
						 
						
							
							
								
								gh-114058: Foundations of the Tier2 redundancy eliminator (GH-115085)  
							
							... 
							
							
							
							---------
Co-authored-by: Mark Shannon <9448417+markshannon@users.noreply.github.com>
Co-authored-by: Jules <57632293+JuliaPoo@users.noreply.github.com>
Co-authored-by: Guido van Rossum <gvanrossum@users.noreply.github.com> 
							
						 
						
							2024-02-13 21:24:48 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8144661017 
								
							 
						 
						
							
							
								
								GH-113710: Fix updating of dict version tag and add watched dict stats (GH-115221)  
							
							
							
						 
						
							2024-02-12 16:07:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0e71a295e9 
								
							 
						 
						
							
							
								
								GH-113710: Add a "globals to constants" pass (GH-114592)  
							
							... 
							
							
							
							Converts specializations of `LOAD_GLOBAL` into constants during tier 2 optimization. 
							
						 
						
							2024-02-02 12:14:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								384429d1c0 
								
							 
						 
						
							
							
								
								GH-113710: Add a tier 2 peephole optimization pass. (GH-114487)  
							
							... 
							
							
							
							* Convert _LOAD_CONST to inline versions
* Remove PEP 523 checks 
							
						 
						
							2024-01-24 12:08:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								30e6cbdba2 
								
							 
						 
						
							
							
								
								GH-113860: Get rid of _PyUOpExecutorObject (GH-113954)  
							
							
							
						 
						
							2024-01-12 11:58:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brandt Bucher 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b0fb074d59 
								
							 
						 
						
							
							
								
								GH-113657: Add back missing _SET_IP uops in tier two (GH-113662)  
							
							
							
						 
						
							2024-01-02 14:09:57 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Guido van Rossum 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								5b86644338 
								
							 
						 
						
							
							
								
								A smattering of cleanups in uop debug output and lltrace ( #112980 )  
							
							... 
							
							
							
							* Include destination T1 opcode in Error debug message
* Include destination T1 opcode in DEOPT debug message
* Remove obsolete comment from remove_unneeded_uops
* Change lltrace_instruction() to print caller's opcode/oparg 
							
						 
						
							2023-12-11 16:42:30 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4bbb367ba6 
								
							 
						 
						
							
							
								
								GH-111848: Set the IP when de-optimizing (GH-112065)  
							
							... 
							
							
							
							* Replace jumps with deopts in tier 2
* Fewer special cases of uop names
* Add target field to uop IR
* Remove more redundant SET_IP and _CHECK_VALIDITY micro-ops
* Extend whitelist of non-escaping API functions. 
							
						 
						
							2023-11-15 15:48:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								25c4956488 
								
							 
						 
						
							
							
								
								GH-109369: Exit tier 2 if executor is invalid (GH-111657)  
							
							
							
						 
						
							2023-11-09 11:19:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Mark Shannon 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d78c872e0d 
								
							 
						 
						
							
							
								
								GH-111646: Simplify optimizer, by compacting uops when making executor. (GH-111647)  
							
							
							
						 
						
							2023-11-06 11:28:52 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Irit Katriel 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								72119d16a5 
								
							 
						 
						
							
							
								
								gh-105481: remove regen-opcode. Generated _PyOpcode_Caches in regen-cases. ( #108367 )  
							
							
							
						 
						
							2023-08-23 18:39:00 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ken Jin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e28b0dc86d 
								
							 
						 
						
							
							
								
								gh-107557: Setup abstract interpretation ( #107847 )  
							
							... 
							
							
							
							Co-authored-by: Guido van Rossum <gvanrossum@users.noreply.github.com>
Co-authored-by: Jules <57632293+juliapoo@users.noreply.github.com> 
							
						 
						
							2023-08-15 18:04:17 +00:00