[llvm-dev] Intel tile unused warnings .

Craig Topper via llvm-dev llvm-dev at lists.llvm.org
Fri Aug 20 08:32:07 PDT 2021


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> 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
> 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/20210820/b7f09918/attachment.html>


More information about the llvm-dev mailing list