[PATCH] D146269: MIPS: allow o32 abi with 64bit CPU and 64 abi with 32bit triple

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 19:40:49 PDT 2023


MaskRay accepted this revision.
MaskRay added inline comments.
This revision is now accepted and ready to land.


================
Comment at: llvm/lib/Target/Mips/MipsSubtarget.cpp:107
   // Check if Architecture and ABI are compatible.
-  assert(((!isGP64bit() && isABI_O32()) ||
-          (isGP64bit() && (isABI_N32() || isABI_N64()))) &&
+  assert(((!isGP64bit() && isABI_O32()) || (isGP64bit())) &&
          "Invalid  Arch & ABI pair.");
----------------



CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146269/new/

https://reviews.llvm.org/D146269



More information about the llvm-commits mailing list