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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment