craig.topper added a comment. In D74918#1937291 <https://reviews.llvm.org/D74918#1937291>, @lebedev.ri wrote:
> In D74918#1937237 <https://reviews.llvm.org/D74918#1937237>, @zoecarver wrote: > > > @lebedev.ri Where should I put this? Could you maybe point me to another > > LLVM target API that clang uses that I could base this off? Maybe it should > > go inside the triple or just be a static function? > > > I would have guessed `TargetLoweringInfo`/`TargetTransformInfo`, but i'm not > sure if we can access it here without violating layering. I don't think can be done unless the proposed builtin for this lowered to an llvm intrinsic and was handled completely in llvm CodeGen. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D74918/new/ https://reviews.llvm.org/D74918 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits