Skip to content
Commit 361853c9 authored by Craig Topper's avatar Craig Topper
Browse files

[LegalizeTypes] Properly handle the case when UpdateNodeOperands in...

[LegalizeTypes] Properly handle the case when UpdateNodeOperands in PromoteIntOp_MLOAD triggers CSE instead of updating the node in place.

The caller can't handle the node having multiple results like a
masked load does. So we need to detect the case and do our own
result replacement.

Fixes PR46532.
parent 91836fd7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment