[llvm] [GISel] Improve MachineVerifier for G_SCMP/UCMP. (PR #120017)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 15 17:25:58 PST 2024
================
@@ -1627,18 +1626,18 @@ void MachineVerifier::verifyPreISelGenericInstruction(const MachineInstr *MI) {
break;
}
+ if (DstTy.getScalarSizeInBits() < 2) {
+ report("result type must be at least 2 bits wide", MI);
----------------
arsenm wrote:
The programming guide actually states to use lowercase error messages, but there are many violations
https://github.com/llvm/llvm-project/pull/120017
More information about the llvm-commits
mailing list