forked from OSchip/llvm-project
[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:
parent
af93ca63c3
commit
49661f94c8
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue