Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update lower.cpp
  • Loading branch information
EgorBo authored Mar 28, 2023
commit f4708cd2424bdf561d454e6cfce4870fa79f9e62
2 changes: 1 addition & 1 deletion src/coreclr/jit/lower.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7792,7 +7792,7 @@ void Lowering::TransformUnusedIndirection(GenTreeIndir* ind, Compiler* comp, Bas
//
void Lowering::LowerIntrinsic(GenTreeIntrinsic* node)
{
if (node->AsIntrinsic()->gtIntrinsicName == NI_System_Runtime_CompilerServices_RuntimeHelpers_IsKnownConstant)
if (node->gtIntrinsicName == NI_System_Runtime_CompilerServices_RuntimeHelpers_IsKnownConstant)
{
// IsKnownConstant is expected to be folded in Importer/Morph/VN+ConstantProp
// This path is just in case if VN+ConstantProp didn't fold them for some reason (or e.g. they were disabled)
Expand Down