[PATCH] D119821: [Bitcode] Store type IDs for values

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 17 10:37:34 PST 2022


nikic added inline comments.


================
Comment at: llvm/lib/Bitcode/Reader/BitcodeReader.cpp:5226
+        ResTypeID = getContainedTypeID(OpTypeID);
         Ty = Op->getType()->getPointerElementType();
       }
----------------
@aeubanks For example, here we'd write `Ty = getTypeByID(ResTypeID)`. Similar for other remaining uses of `getPointerElementType()`.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119821/new/

https://reviews.llvm.org/D119821



More information about the llvm-commits mailing list