[PATCH] D46338: [GlobalISel][Legalizer] LegalizerInfo verifier: checking that legalization rules cover all type indices

Roman Tereshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 2 00:00:11 PDT 2018


rtereshin added inline comments.


================
Comment at: include/llvm/CodeGen/GlobalISel/LegalizerInfo.h:371
+                                all(typeInSet(typeIdx(1), Types1),
+                                    typeInSet(typeIdx(2), Types2))));
   }
----------------
"Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp."

Greenspun's tenth rule of programming. 1993


Repository:
  rL LLVM

https://reviews.llvm.org/D46338





More information about the llvm-commits mailing list