[PATCH] D36569: [globalisel][tablegen] Add support for fpimm and import of APInt/APFloat based ImmLeaf.

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 13 14:22:19 PDT 2017


qcolombet added inline comments.


================
Comment at: utils/TableGen/CodeGenDAGPatterns.h:495
+  /// usable as part of an identifier.
+  std::string getImmTypeIdentifier() const;
 };
----------------
dsanders wrote:
> dsanders wrote:
> > qcolombet wrote:
> > > Ditto.
> > Ok
> Looking at this one a bit closer, I'm not sure I should move it. It makes use of other private members (immCodeUsesAPInt and immCodeUsesAPFloat) so I'd have to make those public to be able to move it. I don't think those other members should be public since they describe properties of getImmCode() which is also private.
> 
> Would it be ok with you to leave this one here?
Yep that's fine.
This one doesn't say GISel ;).


https://reviews.llvm.org/D36569





More information about the llvm-commits mailing list