[PATCH] D63547: [AIX]Global Address Lowering
Phabricator via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 07:59:04 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL368860: [NFC][AIX] Change assertion (authored by xiangling_liao, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D63547?vs=214691&id=215126#toc
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63547/new/
https://reviews.llvm.org/D63547
Files:
llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
Index: llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
===================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
+++ llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
@@ -5073,7 +5073,7 @@
// 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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63547.215126.patch
Type: text/x-patch
Size: 647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190814/06b169ca/attachment.bin>
More information about the llvm-commits
mailing list