JIT: Don't fold NEG(NEG(X)) to X when NEG(x) is a CSE candidate (#57478)
authorEgor Bogatov <egorbo@gmail.com>
Tue, 17 Aug 2021 15:27:11 +0000 (18:27 +0300)
committerGitHub <noreply@github.com>
Tue, 17 Aug 2021 15:27:11 +0000 (18:27 +0300)
commit492a5201fdb26eae5288fd6653945a689a601f3a
tree5ce5128497b7dbda67f48ad1f498ea0bb6c26ec5
parentd6b35bb52564d9c434732cba1803bc7e34bddf79
JIT: Don't fold NEG(NEG(X)) to X when NEG(x) is a CSE candidate (#57478)
src/coreclr/jit/morph.cpp
src/tests/JIT/opt/perf/doublenegate/GitHub_57470.cs [new file with mode: 0644]
src/tests/JIT/opt/perf/doublenegate/GitHub_57470.csproj [new file with mode: 0644]