Skip to content
Commit 98d7e583 authored by Craig Topper's avatar Craig Topper
Browse files

[LegalizeTypes] Remove unnecessary if around switch in ScalarizeVectorOperand...

[LegalizeTypes] Remove unnecessary if around switch in ScalarizeVectorOperand and SplitVectorOperand. NFC

The if was checking !Res.getNode() but that's always true since
Res was initialized to SDValue() and not touched before the if.

This appears to be a leftover from a previous implementation of
Custom legalization where Res was updated instead of returning
immediately.
parent 82f86ae0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment