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

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 28 16:52:38 PDT 2016


pcc added inline comments.


================
Comment at: llvm/utils/TableGen/CodeGenTarget.h:201
 public:
   ComplexPattern() : NumOperands(0) {}
   ComplexPattern(Record *R);
----------------
RKSimon wrote:
> Initialize Complexity to 0? To guarantee that it still matches 'NumOperands * 3'
It looks like we don't need this constructor at all, so I've removed it.


https://reviews.llvm.org/D25812





More information about the llvm-commits mailing list