Skip to content

Commit

Permalink
Refactor LSRA's heuristics selection (dotnet#52832)
Browse files Browse the repository at this point in the history
* refactor lsra

* Add missing return condition

* Minor cleanup

- summary docs
- Removed DEFAULT_ORDER
- Added order seq ID

* jit format

* fix linux build

* review feedback

* Remove TODO
  • Loading branch information
kunalspathak committed May 19, 2021
1 parent 6ec2fba commit 8868e97
Show file tree
Hide file tree
Showing 5 changed files with 7,684 additions and 7,324 deletions.
2 changes: 2 additions & 0 deletions src/coreclr/jit/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ if (CLR_CMAKE_TARGET_WIN32)
loopcloningopts.h
lower.h
lsra_reftypes.h
lsra_stats.h
lsra_score.h
lsra.h
namedintrinsiclist.h
objectalloc.h
Expand Down
1 change: 1 addition & 0 deletions src/coreclr/jit/jitconfigvalues.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ CONFIG_INTEGER(DisplayLoopHoistStats, W("JitLoopHoistStats"), 0) // Display JIT
CONFIG_INTEGER(DisplayLsraStats, W("JitLsraStats"), 0) // Display JIT Linear Scan Register Allocator statistics
// if set to 1. If set to "2", display the stats in csv format.
// Recommended to use with JitStdOutFile flag.
CONFIG_STRING(JitLsraOrdering, W("JitLsraOrdering")) // LSRA heuristics ordering
CONFIG_INTEGER(DumpJittedMethods, W("DumpJittedMethods"), 0) // Prints all jitted methods to the console
CONFIG_INTEGER(EnablePCRelAddr, W("JitEnablePCRelAddr"), 1) // Whether absolute addr be encoded as PC-rel offset by
// RyuJIT where possible
Expand Down
Loading

0 comments on commit 8868e97

Please sign in to comment.