[NFC][AIX] Change assertion

Address one left comment on https://reviews.llvm.org/D63547. A minor
change for assertion.

Differential Revision: https://reviews.llvm.org/D63547

llvm-svn: 368860
This commit is contained in:
Xiangling Liao 2019-08-14 14:57:25 +00:00
parent af93ca63c3
commit 49661f94c8
1 changed files with 1 additions and 1 deletions

View File

@ -5073,7 +5073,7 @@ void PPCDAGToDAGISel::Select(SDNode *N) {
// PowerPC only support small, medium and large code model.
const CodeModel::Model CModel = TM.getCodeModel();
assert((CModel != CodeModel::Tiny || CModel != CodeModel::Kernel) &&
assert(!(CModel == CodeModel::Tiny || CModel == CodeModel::Kernel) &&
"PowerPC doesn't support tiny or kernel code models.");
if (isAIXABI && CModel == CodeModel::Medium)