[PATCH] D86968: [IRSim] Adding IR Instruction Mapper

Andrew Litteken via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 15 11:32:40 PDT 2020


AndrewLitteken added inline comments.


================
Comment at: llvm/include/llvm/Analysis/IRSimilarityIdentifier.h:106
+  /// The types of the operands in the Instruction.
+  SmallVector<Type *, 4> OperTypes;
+  /// The legality of the wrapped instruction. This is informed by InstrType,
----------------
plotfi wrote:
> How are OperTypes different from OperVals getTypes() ? 
There isn't any difference, it is just easier to access them since the types need to be accessed often, and in different ways than OperVals.


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

https://reviews.llvm.org/D86968



More information about the llvm-commits mailing list