[PATCH] D23601: [TII] add new target hook isAdd

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 18 07:24:39 PDT 2016


SjoerdMeijer added a comment.

Hi,
Thanks a lot for the feedback!
I agree that adding it to TargetInstrInfo is a bit of a hack; adding isAdd in the td file and generate the hook in tablegen makes sense and also doable. 
I will follow that approach and continue with that here.
Cheers,
Sjoerd.


https://reviews.llvm.org/D23601





More information about the llvm-commits mailing list