Ensure that we don't try to constant fold BSF(0) or BSR(0) (#81516)
authorTanner Gooding <tagoo@outlook.com>
Thu, 2 Feb 2023 05:46:53 +0000 (21:46 -0800)
committerGitHub <noreply@github.com>
Thu, 2 Feb 2023 05:46:53 +0000 (21:46 -0800)
commit4354abd606119bd9fb0fdefa9f3c0f58f414bfa9
treecc17eaabdfd3bef71a2cffd77fd126380113473f
parent60fa29b66b61eec7d97e7aef8f8053d17b99b351
Ensure that we don't try to constant fold BSF(0) or BSR(0) (#81516)

* Ensure that we don't try to constant fold BSF(0) or BSR(0)

* Ensure the test returns 100 and has correct usings

* Apply formatting patch
src/coreclr/jit/valuenum.cpp
src/tests/JIT/Regression/JitBlue/Runtime_81460/Runtime_81460.cs [new file with mode: 0644]
src/tests/JIT/Regression/JitBlue/Runtime_81460/Runtime_81460.csproj [new file with mode: 0644]