summaryrefslogtreecommitdiff
path: root/perf.groovy
diff options
context:
space:
mode:
authorAndy Ayers <andya@microsoft.com>2017-08-30 09:01:51 -0700
committerGitHub <noreply@github.com>2017-08-30 09:01:51 -0700
commit3f95fb8466a125e8abd5e80e9dfc953fe09d85ab (patch)
tree74917196d9198c28439bb5ea0f02dcc5f3a47456 /perf.groovy
parent6600481fbff005f0e735f2f2b0cf973f609efa1c (diff)
downloadcoreclr-3f95fb8466a125e8abd5e80e9dfc953fe09d85ab.tar.gz
coreclr-3f95fb8466a125e8abd5e80e9dfc953fe09d85ab.tar.bz2
coreclr-3f95fb8466a125e8abd5e80e9dfc953fe09d85ab.zip
JIT: allow nulls in gtCanOptimizeTypeEquality (#13680)
This is a follow-on to #13657. I looked at the remaining calls to `Type::op_Equality` in the jit-diffs output and saw many of the calls had a null pointer argument. This pattern comes about from explicit null checks in the sources, often as part of argument validation. Such calls can also be optimized into simple pointer equality checks, so add another clause to `gtCanOptimizeTypeEquality` to look for nulls.
Diffstat (limited to 'perf.groovy')
0 files changed, 0 insertions, 0 deletions