[llvm] [GlobalISel] Change MatchTable entries to 1 byte each (PR #74429)
Pierre van Houtryve via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 7 23:56:19 PST 2023
================
@@ -39,10 +40,46 @@ std::string getEnumNameForPredicate(const TreePredicateFn &Predicate) {
std::string getMatchOpcodeForImmPredicate(const TreePredicateFn &Predicate) {
return "GIM_Check" + Predicate.getImmTypeIdentifier().str() + "ImmPredicate";
}
+
+// GIMT_Encode2/4/8
+constexpr StringLiteral EncodeMacroName = "GIMT_Encode";
----------------
Pierre-vh wrote:
"need", no, it's just a style choice. I like putting constants that are reused multiple times into a variable
https://github.com/llvm/llvm-project/pull/74429
More information about the llvm-commits
mailing list