[PowerPC] Fix the regression caused by commit 9c588f53fc42
authorQingShan Zhang <qshanz@cn.ibm.com>
Fri, 4 Dec 2020 10:22:13 +0000 (10:22 +0000)
committerQingShan Zhang <qshanz@cn.ibm.com>
Fri, 4 Dec 2020 10:22:13 +0000 (10:22 +0000)
commitc25b039e211441033069c7046324d2f76de37bed
tree0bc32ed94ca3118a37dc98701f50618aba10155d
parent6f4ee6f87060a88d09db4706b6a6483d459cc3b4
[PowerPC] Fix the regression caused by commit 9c588f53fc42

Add a TypeLegal check for MVT::i1 and add the test.
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/test/CodeGen/PowerPC/recipest.ll