[PATCH] D25812: X86: Introduce the "relocImm" ComplexPattern, which represents a relocatable immediate.

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 07:20:22 PDT 2016


RKSimon added inline comments.


================
Comment at: llvm/utils/TableGen/CodeGenTarget.h:201
 public:
   ComplexPattern() : NumOperands(0) {}
   ComplexPattern(Record *R);
----------------
Initialize Complexity to 0? To guarantee that it still matches 'NumOperands * 3'


https://reviews.llvm.org/D25812





More information about the llvm-commits mailing list