[llvm-dev] Intel tile unused warnings . (original) (raw)

Wang, Pengfei via llvm-dev llvm-dev at lists.llvm.org
Sat Aug 21 07:38:51 PDT 2021


Seems attribute “__inline__” was missing in these intrinsics. Candidate patch https://reviews.llvm.org/D108509

Thanks Pengfei

From: llvm-dev <llvm-dev-bounces at lists.llvm.org> On Behalf Of Craig Topper via llvm-dev Sent: Friday, August 20, 2021 11:32 PM To: Umesh Kalappa <umesh.kalappa0 at gmail.com> Cc: LLVM Developers Mailing List <llvm-dev at lists.llvm.org> Subject: Re: [llvm-dev] Intel tile unused warnings .

Aren’t the intrinsics usually marked inline? Would that prevent the warning?

On Fri, Aug 20, 2021 at 3:04 AM Umesh Kalappa via llvm-dev <llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org>> wrote: Hi Devs,

We think the following function definitions should be attributed with "unused" to avoid the below warnings .

include/amxintrin.h:255:13: warning: unused function '__tile_loadd' [-Wunused-function] static void __tile_loadd(__tile1024i *dst, const void *base, ^ /include/amxintrin.h:261:13: warning: unused function '__tile_dpbssd' [-Wunused-function] static void __tile_dpbssd(__tile1024i *dst, __tile1024i src1, ^ include/amxintrin.h:268:13: warning: unused function '__tile_stored' [-Wunused-function] static void __tile_stored(void *base, SIZE_TYPE stride, __tile1024i src) {

include/amxintrin.h:273:13: warning: unused function '__tile_zero' [-Wunused-function]

We can make the required changes and upstream the same .

Thank you ~Umesh _______________________________________________ LLVM Developers mailing list llvm-dev at lists.llvm.org<mailto:llvm-dev at lists.llvm.org> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

~Craig -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210821/3a6521a8/attachment.html>



More information about the llvm-dev mailing list