aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/CommandLineTest.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@sifive.com>2020-11-05 10:58:42 -0800
committerCraig Topper <craig.topper@sifive.com>2020-11-05 11:00:51 -0800
commit98d7e583db9e15cff5ba1b002da0e66dc3ab89fe (patch)
tree7dae375d5fa8082377805a716ee7763b4a8429b6 /llvm/unittests/Support/CommandLineTest.cpp
parent82f86ae01a54ff8e3a5aaefd24745ef2b7b917ba (diff)
downloadllvm-98d7e583db9e15cff5ba1b002da0e66dc3ab89fe.zip
llvm-98d7e583db9e15cff5ba1b002da0e66dc3ab89fe.tar.gz
llvm-98d7e583db9e15cff5ba1b002da0e66dc3ab89fe.tar.bz2
[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.
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions