[llvm] [TableGen] Optimize intrinsic info type signature encoding (PR #106809)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 08:19:16 PDT 2024


================
@@ -282,11 +282,36 @@ static TypeSigTy ComputeTypeSignature(const CodeGenIntrinsic &Int) {
   return TypeSig;
 }
 
+// Pack the type signature into 32-bit fixed encoding word.
+std::optional<uint32_t> encodePacked(const TypeSigTy &TypeSig) {
----------------
jurahul wrote:

Done

https://github.com/llvm/llvm-project/pull/106809


More information about the llvm-commits mailing list