[llvm] r333665 - [GlobalISel][Mips] LegalizerInfo verifier: Adding LegalizerInfo::verify(...) call for Mips
Roman Tereshin via llvm-commits
llvm-commits at lists.llvm.org
Thu May 31 09:16:49 PDT 2018
Author: rtereshin
Date: Thu May 31 09:16:49 2018
New Revision: 333665
URL: http://llvm.org/viewvc/llvm-project?rev=333665&view=rev
Log:
[GlobalISel][Mips] LegalizerInfo verifier: Adding LegalizerInfo::verify(...) call for Mips
Reviewers: aemerson, qcolombet
Reviewed By: qcolombet
Differential Revision: https://reviews.llvm.org/D46339
Modified:
llvm/trunk/lib/Target/Mips/MipsLegalizerInfo.cpp
Modified: llvm/trunk/lib/Target/Mips/MipsLegalizerInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsLegalizerInfo.cpp?rev=333665&r1=333664&r2=333665&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsLegalizerInfo.cpp (original)
+++ llvm/trunk/lib/Target/Mips/MipsLegalizerInfo.cpp Thu May 31 09:16:49 2018
@@ -12,6 +12,7 @@
//===----------------------------------------------------------------------===//
#include "MipsLegalizerInfo.h"
+#include "MipsTargetMachine.h"
using namespace llvm;
@@ -23,4 +24,5 @@ MipsLegalizerInfo::MipsLegalizerInfo(con
getActionDefinitionsBuilder(G_ADD).legalFor({s32});
computeTables();
+ verify(*ST.getInstrInfo());
}
More information about the llvm-commits
mailing list