https://launchpad.net/ubuntu/+source/pocl/1.8-2/+build/22579410 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux riscv64-qemu-lcy01-072 5.11.0-1022-generic #23~20.04.1-Ubuntu SMP Thu Oct 21 10:16:27 UTC 2021 riscv64 Buildd toolchain package versions: launchpad-buildd_204~508~ubuntu18.04.1 python3-lpbuildd_204~508~ubuntu18.04.1 sbuild_0.79.0-1ubuntu1 git_1:2.25.1-1ubuntu3.2 dpkg-dev_1.19.7ubuntu3 python3-debian_0.1.36ubuntu1. Syncing the system clock with the buildd NTP service... 2 Dec 17:31:02 ntpdate[267454]: adjust time server 10.211.37.1 offset -0.000760 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-22579410 --image-type chroot /home/buildd/filecache-default/03bec7884d85d5bd8bcd177f093129b6620b2195 Creating target for build PACKAGEBUILD-22579410 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-22579410 Starting target for build PACKAGEBUILD-22579410 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-22579410 'deb http://ftpmaster.internal/ubuntu jammy main universe' 'deb http://ftpmaster.internal/ubuntu jammy-security main universe' 'deb http://ftpmaster.internal/ubuntu jammy-updates main universe' 'deb http://ftpmaster.internal/ubuntu jammy-proposed main universe' Overriding sources.list in build-PACKAGEBUILD-22579410 RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-22579410 Updating target for build PACKAGEBUILD-22579410 Get:1 http://ftpmaster.internal/ubuntu jammy InRelease [270 kB] Get:2 http://ftpmaster.internal/ubuntu jammy-security InRelease [90.7 kB] Get:3 http://ftpmaster.internal/ubuntu jammy-updates InRelease [90.7 kB] Get:4 http://ftpmaster.internal/ubuntu jammy-proposed InRelease [121 kB] Get:5 http://ftpmaster.internal/ubuntu jammy/main riscv64 Packages [1290 kB] Get:6 http://ftpmaster.internal/ubuntu jammy/main Translation-en [511 kB] Get:7 http://ftpmaster.internal/ubuntu jammy/universe riscv64 Packages [12.6 MB] Get:8 http://ftpmaster.internal/ubuntu jammy/universe Translation-en [5562 kB] Get:9 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 Packages [190 kB] Get:10 http://ftpmaster.internal/ubuntu jammy-proposed/main Translation-en [76.4 kB] Get:11 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 Packages [951 kB] Get:12 http://ftpmaster.internal/ubuntu jammy-proposed/universe Translation-en [470 kB] Fetched 22.2 MB in 35s (643 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... The following package was automatically installed and is no longer required: libsepol1 Use 'sudo apt autoremove' to remove it. The following packages will be REMOVED: libsemanage1* The following NEW packages will be installed: libsemanage2 libsepol2 libssl3 The following packages will be upgraded: apt base-files bash binutils binutils-common binutils-riscv64-linux-gnu bsdutils ca-certificates cpp-11 dash debconf debianutils e2fsprogs g++-11 gcc-11 gcc-11-base gpg gpg-agent gpgconf gpgv grep libapparmor1 libapt-pkg6.0 libasan6 libatomic1 libattr1 libbinutils libblkid1 libcc1-0 libcom-err2 libcrypt-dev libcrypt1 libcryptsetup12 libctf-nobfd0 libctf0 libext2fs2 libgcc-11-dev libgcc-s1 libgcrypt20 libgdbm-compat4 libgdbm6 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libidn2-0 libip4tc2 libisl23 libk5crypto3 libkmod2 libkrb5-3 libkrb5support0 libmount1 libmpc3 libncurses6 libncursesw6 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libseccomp2 libselinux1 libsemanage-common libsmartcols1 libsqlite3-0 libss2 libstdc++-11-dev libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libudev1 libuuid1 libzstd1 linux-libc-dev lockfile-progs login logsave lto-disabled-list make mount ncurses-base ncurses-bin openssl passwd pkgbinarymangler sed sensible-utils systemd systemd-sysv systemd-timesyncd tzdata usrmerge util-linux 96 upgraded, 3 newly installed, 1 to remove and 0 not upgraded. Need to get 68.3 MB of archives. After this operation, 6771 kB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu jammy/main riscv64 debconf all 1.5.79 [126 kB] Get:2 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libpam0g riscv64 1.4.0-10ubuntu1 [56.7 kB] Get:3 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libcrypt-dev riscv64 1:4.4.26-1 [249 kB] Get:4 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libcrypt1 riscv64 1:4.4.26-1 [97.5 kB] Get:5 http://ftpmaster.internal/ubuntu jammy/main riscv64 base-files riscv64 12ubuntu2 [62.9 kB] Get:6 http://ftpmaster.internal/ubuntu jammy/main riscv64 debianutils riscv64 5.5-1ubuntu1 [105 kB] Get:7 http://ftpmaster.internal/ubuntu jammy/main riscv64 bash riscv64 5.1-5ubuntu1 [643 kB] Get:8 http://ftpmaster.internal/ubuntu jammy/main riscv64 bsdutils riscv64 1:2.37.2-4ubuntu1 [91.2 kB] Get:9 http://ftpmaster.internal/ubuntu jammy/main riscv64 dash riscv64 0.5.11+git20210903+057cd650a4ed-3 [86.3 kB] Get:10 http://ftpmaster.internal/ubuntu jammy/main riscv64 grep riscv64 3.7-1 [151 kB] Get:11 http://ftpmaster.internal/ubuntu jammy/main riscv64 login riscv64 1:4.8.1-2ubuntu1 [184 kB] Get:12 http://ftpmaster.internal/ubuntu jammy/main riscv64 libncurses6 riscv64 6.3-1 [93.5 kB] Get:13 http://ftpmaster.internal/ubuntu jammy/main riscv64 libncursesw6 riscv64 6.3-1 [126 kB] Get:14 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtinfo6 riscv64 6.3-1 [96.4 kB] Get:15 http://ftpmaster.internal/ubuntu jammy/main riscv64 ncurses-bin riscv64 6.3-1 [176 kB] Get:16 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 sed riscv64 4.8-1 [187 kB] Get:17 http://ftpmaster.internal/ubuntu jammy/main riscv64 libblkid1 riscv64 2.37.2-4ubuntu1 [148 kB] Get:18 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpcre2-8-0 riscv64 10.39-3 [136 kB] Get:19 http://ftpmaster.internal/ubuntu jammy/main riscv64 libselinux1 riscv64 3.3-1 [71.1 kB] Get:20 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmount1 riscv64 2.37.2-4ubuntu1 [156 kB] Get:21 http://ftpmaster.internal/ubuntu jammy/main riscv64 util-linux riscv64 2.37.2-4ubuntu1 [1122 kB] Get:22 http://ftpmaster.internal/ubuntu jammy/main riscv64 ncurses-base all 6.3-1 [19.9 kB] Get:23 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgpg-error0 riscv64 1.42-3 [61.5 kB] Get:24 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgcrypt20 riscv64 1.9.4-3ubuntu2 [498 kB] Get:25 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcc1-0 riscv64 11.2.0-12ubuntu1 [42.0 kB] Get:26 http://ftpmaster.internal/ubuntu jammy/main riscv64 gcc-11-base riscv64 11.2.0-12ubuntu1 [20.7 kB] Get:27 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgcc-s1 riscv64 11.2.0-12ubuntu1 [43.4 kB] Get:28 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgomp1 riscv64 11.2.0-12ubuntu1 [103 kB] Get:29 http://ftpmaster.internal/ubuntu jammy/main riscv64 libatomic1 riscv64 11.2.0-12ubuntu1 [7796 B] Get:30 http://ftpmaster.internal/ubuntu jammy/main riscv64 libasan6 riscv64 11.2.0-12ubuntu1 [2106 kB] Get:31 http://ftpmaster.internal/ubuntu jammy/main riscv64 g++-11 riscv64 11.2.0-12ubuntu1 [9281 kB] Get:32 http://ftpmaster.internal/ubuntu jammy/main riscv64 libstdc++-11-dev riscv64 11.2.0-12ubuntu1 [4751 kB] Get:33 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgcc-11-dev riscv64 11.2.0-12ubuntu1 [2363 kB] Get:34 http://ftpmaster.internal/ubuntu jammy/main riscv64 gcc-11 riscv64 11.2.0-12ubuntu1 [15.8 MB] Get:35 http://ftpmaster.internal/ubuntu jammy/main riscv64 cpp-11 riscv64 11.2.0-12ubuntu1 [7980 kB] Get:36 http://ftpmaster.internal/ubuntu jammy/main riscv64 libstdc++6 riscv64 11.2.0-12ubuntu1 [665 kB] Get:37 http://ftpmaster.internal/ubuntu jammy/main riscv64 libisl23 riscv64 0.24-2 [593 kB] Get:38 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmpc3 riscv64 1.2.1-1 [44.4 kB] Get:39 http://ftpmaster.internal/ubuntu jammy/main riscv64 libzstd1 riscv64 1.4.8+dfsg-3 [370 kB] Get:40 http://ftpmaster.internal/ubuntu jammy/main riscv64 libctf0 riscv64 2.37-10ubuntu1 [97.9 kB] Get:41 http://ftpmaster.internal/ubuntu jammy/main riscv64 libctf-nobfd0 riscv64 2.37-10ubuntu1 [100 kB] Get:42 http://ftpmaster.internal/ubuntu jammy/main riscv64 libbinutils riscv64 2.37-10ubuntu1 [471 kB] Get:43 http://ftpmaster.internal/ubuntu jammy/main riscv64 binutils-common riscv64 2.37-10ubuntu1 [205 kB] Get:44 http://ftpmaster.internal/ubuntu jammy/main riscv64 binutils riscv64 2.37-10ubuntu1 [3094 B] Get:45 http://ftpmaster.internal/ubuntu jammy/main riscv64 binutils-riscv64-linux-gnu riscv64 2.37-10ubuntu1 [922 kB] Get:46 http://ftpmaster.internal/ubuntu jammy/main riscv64 libidn2-0 riscv64 2.3.2-2 [67.5 kB] Get:47 http://ftpmaster.internal/ubuntu jammy/main riscv64 libp11-kit0 riscv64 0.24.0-5 [203 kB] Get:48 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtasn1-6 riscv64 4.18.0-4 [38.9 kB] Get:49 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgnutls30 riscv64 3.7.2-2ubuntu1 [858 kB] Get:50 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 systemd-timesyncd riscv64 249.5-2ubuntu1 [28.5 kB] Get:51 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 systemd-sysv riscv64 249.5-2ubuntu1 [10.5 kB] Get:52 http://ftpmaster.internal/ubuntu jammy/main riscv64 libapparmor1 riscv64 3.0.3-0ubuntu3 [33.3 kB] Get:53 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libssl3 riscv64 3.0.0-1ubuntu1 [1446 kB] Get:54 http://ftpmaster.internal/ubuntu jammy/main riscv64 libuuid1 riscv64 2.37.2-4ubuntu1 [27.0 kB] Get:55 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libcryptsetup12 riscv64 2:2.4.2-1ubuntu1 [181 kB] Get:56 http://ftpmaster.internal/ubuntu jammy/main riscv64 libip4tc2 riscv64 1.8.7-1ubuntu4 [18.1 kB] Get:57 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libkmod2 riscv64 28-1ubuntu5 [42.0 kB] Get:58 http://ftpmaster.internal/ubuntu jammy/main riscv64 libseccomp2 riscv64 2.5.2-2ubuntu2 [46.1 kB] Get:59 http://ftpmaster.internal/ubuntu jammy/main riscv64 mount riscv64 2.37.2-4ubuntu1 [129 kB] Get:60 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 systemd riscv64 249.5-2ubuntu1 [4134 kB] Get:61 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libsystemd0 riscv64 249.5-2ubuntu1 [292 kB] Get:62 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libudev1 riscv64 249.5-2ubuntu1 [71.3 kB] Get:63 http://ftpmaster.internal/ubuntu jammy/main riscv64 libapt-pkg6.0 riscv64 2.3.13 [916 kB] Get:64 http://ftpmaster.internal/ubuntu jammy/main riscv64 gpgv riscv64 2.2.27-2ubuntu1 [195 kB] Get:65 http://ftpmaster.internal/ubuntu jammy/main riscv64 apt riscv64 2.3.13 [1347 kB] Get:66 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsepol2 riscv64 3.3-1 [254 kB] Get:67 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsemanage-common all 3.3-1 [10.1 kB] Get:68 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsemanage2 riscv64 3.3-1 [84.0 kB] Get:69 http://ftpmaster.internal/ubuntu jammy/main riscv64 passwd riscv64 1:4.8.1-2ubuntu1 [736 kB] Get:70 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libpam-modules-bin riscv64 1.4.0-10ubuntu1 [36.6 kB] Get:71 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libpam-modules riscv64 1.4.0-10ubuntu1 [264 kB] Get:72 http://ftpmaster.internal/ubuntu jammy/main riscv64 logsave riscv64 1.46.4-1ubuntu1 [10.3 kB] Get:73 http://ftpmaster.internal/ubuntu jammy/main riscv64 libext2fs2 riscv64 1.46.4-1ubuntu1 [196 kB] Get:74 http://ftpmaster.internal/ubuntu jammy/main riscv64 e2fsprogs riscv64 1.46.4-1ubuntu1 [552 kB] Get:75 http://ftpmaster.internal/ubuntu jammy/main riscv64 libattr1 riscv64 1:2.5.1-1 [12.7 kB] Get:76 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcom-err2 riscv64 1.46.4-1ubuntu1 [8994 B] Get:77 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libk5crypto3 riscv64 1.19.2-0ubuntu1 [102 kB] Get:78 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libkrb5support0 riscv64 1.19.2-0ubuntu1 [30.8 kB] Get:79 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libkrb5-3 riscv64 1.19.2-0ubuntu1 [337 kB] Get:80 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libgssapi-krb5-2 riscv64 1.19.2-0ubuntu1 [127 kB] Get:81 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libpam-runtime all 1.4.0-10ubuntu1 [40.2 kB] Get:82 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsmartcols1 riscv64 2.37.2-4ubuntu1 [102 kB] Get:83 http://ftpmaster.internal/ubuntu jammy/main riscv64 libss2 riscv64 1.46.4-1ubuntu1 [10.7 kB] Get:84 http://ftpmaster.internal/ubuntu jammy/main riscv64 sensible-utils all 0.0.17 [20.1 kB] Get:85 http://ftpmaster.internal/ubuntu jammy/main riscv64 usrmerge all 25ubuntu2 [54.7 kB] Get:86 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 openssl riscv64 3.0.0-1ubuntu1 [1139 kB] Get:87 http://ftpmaster.internal/ubuntu jammy/main riscv64 ca-certificates all 20211016 [148 kB] Get:88 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsqlite3-0 riscv64 3.36.0-2 [575 kB] Get:89 http://ftpmaster.internal/ubuntu jammy/main riscv64 tzdata all 2021e-1ubuntu1 [343 kB] Get:90 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgdbm6 riscv64 1.22-1 [30.9 kB] Get:91 http://ftpmaster.internal/ubuntu jammy/main riscv64 gpg riscv64 2.2.27-2ubuntu1 [488 kB] Get:92 http://ftpmaster.internal/ubuntu jammy/main riscv64 gpgconf riscv64 2.2.27-2ubuntu1 [115 kB] Get:93 http://ftpmaster.internal/ubuntu jammy/main riscv64 gpg-agent riscv64 2.2.27-2ubuntu1 [231 kB] Get:94 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgdbm-compat4 riscv64 1.22-1 [5824 B] Get:95 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 linux-libc-dev riscv64 5.15.0-13.13 [1230 kB] Get:96 http://ftpmaster.internal/ubuntu jammy/main riscv64 lockfile-progs riscv64 0.1.19 [9330 B] Get:97 http://ftpmaster.internal/ubuntu jammy/main riscv64 lto-disabled-list all 17 [12.1 kB] Get:98 http://ftpmaster.internal/ubuntu jammy/main riscv64 make riscv64 4.3-4ubuntu2 [164 kB] Get:99 http://ftpmaster.internal/ubuntu jammy/main riscv64 pkgbinarymangler all 149 [32.4 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 68.3 MB in 16s (4374 kB/s) (Reading database ... 13170 files and directories currently installed.) Preparing to unpack .../debconf_1.5.79_all.deb ... Unpacking debconf (1.5.79) over (1.5.77) ... Setting up debconf (1.5.79) ... (Reading database ... 13169 files and directories currently installed.) Preparing to unpack .../libpam0g_1.4.0-10ubuntu1_riscv64.deb ... Unpacking libpam0g:riscv64 (1.4.0-10ubuntu1) over (1.3.1-5ubuntu11) ... Setting up libpam0g:riscv64 (1.4.0-10ubuntu1) ... Checking for services that may need to be restarted...Checking init scripts... Nothing to restart. (Reading database ... 13169 files and directories currently installed.) Preparing to unpack .../libcrypt-dev_1%3a4.4.26-1_riscv64.deb ... Unpacking libcrypt-dev:riscv64 (1:4.4.26-1) over (1:4.4.18-4ubuntu2) ... Preparing to unpack .../libcrypt1_1%3a4.4.26-1_riscv64.deb ... Unpacking libcrypt1:riscv64 (1:4.4.26-1) over (1:4.4.18-4ubuntu2) ... Setting up libcrypt1:riscv64 (1:4.4.26-1) ... (Reading database ... 13169 files and directories currently installed.) Preparing to unpack .../base-files_12ubuntu2_riscv64.deb ... Unpacking base-files (12ubuntu2) over (12ubuntu1) ... Setting up base-files (12ubuntu2) ... (Reading database ... 13169 files and directories currently installed.) Preparing to unpack .../debianutils_5.5-1ubuntu1_riscv64.deb ... Unpacking debianutils (5.5-1ubuntu1) over (4.11.2build1) ... Setting up debianutils (5.5-1ubuntu1) ... update-alternatives: using /usr/bin/which.debianutils to provide /usr/bin/which (which) in auto mode (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../bash_5.1-5ubuntu1_riscv64.deb ... Unpacking bash (5.1-5ubuntu1) over (5.1-3ubuntu2) ... Setting up bash (5.1-5ubuntu1) ... update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.37.2-4ubuntu1_riscv64.deb ... Unpacking bsdutils (1:2.37.2-4ubuntu1) over (1:2.36.1-8ubuntu1) ... Setting up bsdutils (1:2.37.2-4ubuntu1) ... (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../dash_0.5.11+git20210903+057cd650a4ed-3_riscv64.deb ... Unpacking dash (0.5.11+git20210903+057cd650a4ed-3) over (0.5.11+git20210120+802ebd4-1build1) ... Setting up dash (0.5.11+git20210903+057cd650a4ed-3) ... (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../grep_3.7-1_riscv64.deb ... Unpacking grep (3.7-1) over (3.7-0ubuntu1) ... Setting up grep (3.7-1) ... (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../login_1%3a4.8.1-2ubuntu1_riscv64.deb ... Unpacking login (1:4.8.1-2ubuntu1) over (1:4.8.1-1ubuntu9) ... Setting up login (1:4.8.1-2ubuntu1) ... (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../libncurses6_6.3-1_riscv64.deb ... Unpacking libncurses6:riscv64 (6.3-1) over (6.2+20201114-2build2) ... Preparing to unpack .../libncursesw6_6.3-1_riscv64.deb ... Unpacking libncursesw6:riscv64 (6.3-1) over (6.2+20201114-2build2) ... Preparing to unpack .../libtinfo6_6.3-1_riscv64.deb ... Unpacking libtinfo6:riscv64 (6.3-1) over (6.2+20201114-2build2) ... Setting up libtinfo6:riscv64 (6.3-1) ... (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.3-1_riscv64.deb ... Unpacking ncurses-bin (6.3-1) over (6.2+20201114-2build2) ... Setting up ncurses-bin (6.3-1) ... (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../archives/sed_4.8-1_riscv64.deb ... Unpacking sed (4.8-1) over (4.7-1ubuntu2) ... Setting up sed (4.8-1) ... (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../libblkid1_2.37.2-4ubuntu1_riscv64.deb ... Unpacking libblkid1:riscv64 (2.37.2-4ubuntu1) over (2.36.1-8ubuntu1) ... Setting up libblkid1:riscv64 (2.37.2-4ubuntu1) ... (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.39-3_riscv64.deb ... Unpacking libpcre2-8-0:riscv64 (10.39-3) over (10.37-0ubuntu2) ... Setting up libpcre2-8-0:riscv64 (10.39-3) ... (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../libselinux1_3.3-1_riscv64.deb ... Unpacking libselinux1:riscv64 (3.3-1) over (3.1-3build2) ... Setting up libselinux1:riscv64 (3.3-1) ... (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../libmount1_2.37.2-4ubuntu1_riscv64.deb ... Unpacking libmount1:riscv64 (2.37.2-4ubuntu1) over (2.36.1-8ubuntu1) ... Setting up libmount1:riscv64 (2.37.2-4ubuntu1) ... (Reading database ... 13173 files and directories currently installed.) Preparing to unpack .../util-linux_2.37.2-4ubuntu1_riscv64.deb ... Unpacking util-linux (2.37.2-4ubuntu1) over (2.36.1-8ubuntu1) ... Setting up util-linux (2.37.2-4ubuntu1) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.3-1_all.deb ... Unpacking ncurses-base (6.3-1) over (6.2+20201114-2build2) ... Setting up ncurses-base (6.3-1) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../libgpg-error0_1.42-3_riscv64.deb ... Unpacking libgpg-error0:riscv64 (1.42-3) over (1.38-2build2) ... Setting up libgpg-error0:riscv64 (1.42-3) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.9.4-3ubuntu2_riscv64.deb ... Unpacking libgcrypt20:riscv64 (1.9.4-3ubuntu2) over (1.8.7-5ubuntu2) ... Setting up libgcrypt20:riscv64 (1.9.4-3ubuntu2) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../libcc1-0_11.2.0-12ubuntu1_riscv64.deb ... Unpacking libcc1-0:riscv64 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../gcc-11-base_11.2.0-12ubuntu1_riscv64.deb ... Unpacking gcc-11-base:riscv64 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Setting up gcc-11-base:riscv64 (11.2.0-12ubuntu1) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../libgcc-s1_11.2.0-12ubuntu1_riscv64.deb ... Unpacking libgcc-s1:riscv64 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Setting up libgcc-s1:riscv64 (11.2.0-12ubuntu1) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../0-libgomp1_11.2.0-12ubuntu1_riscv64.deb ... Unpacking libgomp1:riscv64 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../1-libatomic1_11.2.0-12ubuntu1_riscv64.deb ... Unpacking libatomic1:riscv64 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../2-libasan6_11.2.0-12ubuntu1_riscv64.deb ... Unpacking libasan6:riscv64 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../3-g++-11_11.2.0-12ubuntu1_riscv64.deb ... Unpacking g++-11 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../4-libstdc++-11-dev_11.2.0-12ubuntu1_riscv64.deb ... Unpacking libstdc++-11-dev:riscv64 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../5-libgcc-11-dev_11.2.0-12ubuntu1_riscv64.deb ... Unpacking libgcc-11-dev:riscv64 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../6-gcc-11_11.2.0-12ubuntu1_riscv64.deb ... Unpacking gcc-11 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../7-cpp-11_11.2.0-12ubuntu1_riscv64.deb ... Unpacking cpp-11 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../8-libstdc++6_11.2.0-12ubuntu1_riscv64.deb ... Unpacking libstdc++6:riscv64 (11.2.0-12ubuntu1) over (11.2.0-7ubuntu2) ... Setting up libstdc++6:riscv64 (11.2.0-12ubuntu1) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../libisl23_0.24-2_riscv64.deb ... Unpacking libisl23:riscv64 (0.24-2) over (0.24-1build1) ... Preparing to unpack .../libmpc3_1.2.1-1_riscv64.deb ... Unpacking libmpc3:riscv64 (1.2.1-1) over (1.2.0-1build2) ... Preparing to unpack .../libzstd1_1.4.8+dfsg-3_riscv64.deb ... Unpacking libzstd1:riscv64 (1.4.8+dfsg-3) over (1.4.8+dfsg-2.1build1) ... Setting up libzstd1:riscv64 (1.4.8+dfsg-3) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../0-libctf0_2.37-10ubuntu1_riscv64.deb ... Unpacking libctf0:riscv64 (2.37-10ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../1-libctf-nobfd0_2.37-10ubuntu1_riscv64.deb ... Unpacking libctf-nobfd0:riscv64 (2.37-10ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../2-libbinutils_2.37-10ubuntu1_riscv64.deb ... Unpacking libbinutils:riscv64 (2.37-10ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../3-binutils-common_2.37-10ubuntu1_riscv64.deb ... Unpacking binutils-common:riscv64 (2.37-10ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../4-binutils_2.37-10ubuntu1_riscv64.deb ... Unpacking binutils (2.37-10ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../5-binutils-riscv64-linux-gnu_2.37-10ubuntu1_riscv64.deb ... Unpacking binutils-riscv64-linux-gnu (2.37-10ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../6-libidn2-0_2.3.2-2_riscv64.deb ... Unpacking libidn2-0:riscv64 (2.3.2-2) over (2.3.1-1build1) ... Setting up libidn2-0:riscv64 (2.3.2-2) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.24.0-5_riscv64.deb ... Unpacking libp11-kit0:riscv64 (0.24.0-5) over (0.23.22-1build1) ... Setting up libp11-kit0:riscv64 (0.24.0-5) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.18.0-4_riscv64.deb ... Unpacking libtasn1-6:riscv64 (4.18.0-4) over (4.16.0-2build1) ... Setting up libtasn1-6:riscv64 (4.18.0-4) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.7.2-2ubuntu1_riscv64.deb ... Unpacking libgnutls30:riscv64 (3.7.2-2ubuntu1) over (3.7.1-5ubuntu1) ... Setting up libgnutls30:riscv64 (3.7.2-2ubuntu1) ... (Reading database ... 13168 files and directories currently installed.) Preparing to unpack .../systemd-timesyncd_249.5-2ubuntu1_riscv64.deb ... Unpacking systemd-timesyncd (249.5-2ubuntu1) over (248.3-1ubuntu8) ... Preparing to unpack .../systemd-sysv_249.5-2ubuntu1_riscv64.deb ... Unpacking systemd-sysv (249.5-2ubuntu1) over (248.3-1ubuntu8) ... Preparing to unpack .../libapparmor1_3.0.3-0ubuntu3_riscv64.deb ... Unpacking libapparmor1:riscv64 (3.0.3-0ubuntu3) over (3.0.3-0ubuntu1) ... Selecting previously unselected package libssl3:riscv64. Preparing to unpack .../libssl3_3.0.0-1ubuntu1_riscv64.deb ... Unpacking libssl3:riscv64 (3.0.0-1ubuntu1) ... Setting up libssl3:riscv64 (3.0.0-1ubuntu1) ... (Reading database ... 13179 files and directories currently installed.) Preparing to unpack .../libuuid1_2.37.2-4ubuntu1_riscv64.deb ... Unpacking libuuid1:riscv64 (2.37.2-4ubuntu1) over (2.36.1-8ubuntu1) ... Setting up libuuid1:riscv64 (2.37.2-4ubuntu1) ... (Reading database ... 13179 files and directories currently installed.) Preparing to unpack .../0-libcryptsetup12_2%3a2.4.2-1ubuntu1_riscv64.deb ... Unpacking libcryptsetup12:riscv64 (2:2.4.2-1ubuntu1) over (2:2.3.6-0ubuntu1) ... Preparing to unpack .../1-libip4tc2_1.8.7-1ubuntu4_riscv64.deb ... Unpacking libip4tc2:riscv64 (1.8.7-1ubuntu4) over (1.8.7-1ubuntu3) ... Preparing to unpack .../2-libkmod2_28-1ubuntu5_riscv64.deb ... Unpacking libkmod2:riscv64 (28-1ubuntu5) over (28-1ubuntu4) ... Preparing to unpack .../3-libseccomp2_2.5.2-2ubuntu2_riscv64.deb ... Unpacking libseccomp2:riscv64 (2.5.2-2ubuntu2) over (2.5.1-1ubuntu1) ... Preparing to unpack .../4-mount_2.37.2-4ubuntu1_riscv64.deb ... Unpacking mount (2.37.2-4ubuntu1) over (2.36.1-8ubuntu1) ... Preparing to unpack .../5-systemd_249.5-2ubuntu1_riscv64.deb ... Unpacking systemd (249.5-2ubuntu1) over (248.3-1ubuntu8) ... Preparing to unpack .../6-libsystemd0_249.5-2ubuntu1_riscv64.deb ... Unpacking libsystemd0:riscv64 (249.5-2ubuntu1) over (248.3-1ubuntu8) ... Setting up libsystemd0:riscv64 (249.5-2ubuntu1) ... (Reading database ... 13182 files and directories currently installed.) Preparing to unpack .../libudev1_249.5-2ubuntu1_riscv64.deb ... Unpacking libudev1:riscv64 (249.5-2ubuntu1) over (248.3-1ubuntu8) ... Setting up libudev1:riscv64 (249.5-2ubuntu1) ... (Reading database ... 13182 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.3.13_riscv64.deb ... Unpacking libapt-pkg6.0:riscv64 (2.3.13) over (2.3.9) ... Setting up libapt-pkg6.0:riscv64 (2.3.13) ... (Reading database ... 13182 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.27-2ubuntu1_riscv64.deb ... Unpacking gpgv (2.2.27-2ubuntu1) over (2.2.20-1ubuntu4) ... Setting up gpgv (2.2.27-2ubuntu1) ... (Reading database ... 13182 files and directories currently installed.) Preparing to unpack .../apt_2.3.13_riscv64.deb ... Unpacking apt (2.3.13) over (2.3.9) ... Setting up apt (2.3.13) ... Installing new version of config file /etc/cron.daily/apt-compat ... Selecting previously unselected package libsepol2:riscv64. (Reading database ... 13182 files and directories currently installed.) Preparing to unpack .../libsepol2_3.3-1_riscv64.deb ... Unpacking libsepol2:riscv64 (3.3-1) ... Setting up libsepol2:riscv64 (3.3-1) ... (Reading database ... 13186 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.3-1_all.deb ... Unpacking libsemanage-common (3.3-1) over (3.1-1ubuntu3) ... Setting up libsemanage-common (3.3-1) ... Selecting previously unselected package libsemanage2:riscv64. (Reading database ... 13186 files and directories currently installed.) Preparing to unpack .../libsemanage2_3.3-1_riscv64.deb ... Unpacking libsemanage2:riscv64 (3.3-1) ... Setting up libsemanage2:riscv64 (3.3-1) ... (Reading database ... 13190 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.8.1-2ubuntu1_riscv64.deb ... Unpacking passwd (1:4.8.1-2ubuntu1) over (1:4.8.1-1ubuntu9) ... Setting up passwd (1:4.8.1-2ubuntu1) ... (Reading database ... 13197 files and directories currently installed.) Removing libsemanage1:riscv64 (3.1-1ubuntu3) ... (Reading database ... 13193 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.4.0-10ubuntu1_riscv64.deb ... Unpacking libpam-modules-bin (1.4.0-10ubuntu1) over (1.3.1-5ubuntu11) ... Setting up libpam-modules-bin (1.4.0-10ubuntu1) ... (Reading database ... 13191 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.4.0-10ubuntu1_riscv64.deb ... Unpacking libpam-modules:riscv64 (1.4.0-10ubuntu1) over (1.3.1-5ubuntu11) ... Setting up libpam-modules:riscv64 (1.4.0-10ubuntu1) ... Installing new version of config file /etc/security/namespace.conf ... Installing new version of config file /etc/security/pam_env.conf ... (Reading database ... 13192 files and directories currently installed.) Preparing to unpack .../logsave_1.46.4-1ubuntu1_riscv64.deb ... Unpacking logsave (1.46.4-1ubuntu1) over (1.46.3-1ubuntu3) ... Preparing to unpack .../libext2fs2_1.46.4-1ubuntu1_riscv64.deb ... Unpacking libext2fs2:riscv64 (1.46.4-1ubuntu1) over (1.46.3-1ubuntu3) ... Setting up libext2fs2:riscv64 (1.46.4-1ubuntu1) ... (Reading database ... 13192 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.46.4-1ubuntu1_riscv64.deb ... Unpacking e2fsprogs (1.46.4-1ubuntu1) over (1.46.3-1ubuntu3) ... Preparing to unpack .../libattr1_1%3a2.5.1-1_riscv64.deb ... Unpacking libattr1:riscv64 (1:2.5.1-1) over (1:2.4.48-6build2) ... Setting up libattr1:riscv64 (1:2.5.1-1) ... Installing new version of config file /etc/xattr.conf ... (Reading database ... 13192 files and directories currently installed.) Preparing to unpack .../libcom-err2_1.46.4-1ubuntu1_riscv64.deb ... Unpacking libcom-err2:riscv64 (1.46.4-1ubuntu1) over (1.46.3-1ubuntu3) ... Setting up libcom-err2:riscv64 (1.46.4-1ubuntu1) ... (Reading database ... 13192 files and directories currently installed.) Preparing to unpack .../libk5crypto3_1.19.2-0ubuntu1_riscv64.deb ... Unpacking libk5crypto3:riscv64 (1.19.2-0ubuntu1) over (1.18.3-6) ... Setting up libk5crypto3:riscv64 (1.19.2-0ubuntu1) ... (Reading database ... 13192 files and directories currently installed.) Preparing to unpack .../libkrb5support0_1.19.2-0ubuntu1_riscv64.deb ... Unpacking libkrb5support0:riscv64 (1.19.2-0ubuntu1) over (1.18.3-6) ... Setting up libkrb5support0:riscv64 (1.19.2-0ubuntu1) ... (Reading database ... 13192 files and directories currently installed.) Preparing to unpack .../libkrb5-3_1.19.2-0ubuntu1_riscv64.deb ... Unpacking libkrb5-3:riscv64 (1.19.2-0ubuntu1) over (1.18.3-6) ... Setting up libkrb5-3:riscv64 (1.19.2-0ubuntu1) ... (Reading database ... 13192 files and directories currently installed.) Preparing to unpack .../libgssapi-krb5-2_1.19.2-0ubuntu1_riscv64.deb ... Unpacking libgssapi-krb5-2:riscv64 (1.19.2-0ubuntu1) over (1.18.3-6) ... Setting up libgssapi-krb5-2:riscv64 (1.19.2-0ubuntu1) ... (Reading database ... 13192 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.4.0-10ubuntu1_all.deb ... Unpacking libpam-runtime (1.4.0-10ubuntu1) over (1.3.1-5ubuntu11) ... Setting up libpam-runtime (1.4.0-10ubuntu1) ... (Reading database ... 13192 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.37.2-4ubuntu1_riscv64.deb ... Unpacking libsmartcols1:riscv64 (2.37.2-4ubuntu1) over (2.36.1-8ubuntu1) ... Setting up libsmartcols1:riscv64 (2.37.2-4ubuntu1) ... (Reading database ... 13192 files and directories currently installed.) Preparing to unpack .../00-libss2_1.46.4-1ubuntu1_riscv64.deb ... Unpacking libss2:riscv64 (1.46.4-1ubuntu1) over (1.46.3-1ubuntu3) ... Preparing to unpack .../01-sensible-utils_0.0.17_all.deb ... Unpacking sensible-utils (0.0.17) over (0.0.14) ... Preparing to unpack .../02-usrmerge_25ubuntu2_all.deb ... Unpacking usrmerge (25ubuntu2) over (25ubuntu1) ... Preparing to unpack .../03-openssl_3.0.0-1ubuntu1_riscv64.deb ... Unpacking openssl (3.0.0-1ubuntu1) over (1.1.1l-1ubuntu1) ... Preparing to unpack .../04-ca-certificates_20211016_all.deb ... Unpacking ca-certificates (20211016) over (20210119ubuntu1) ... Preparing to unpack .../05-libsqlite3-0_3.36.0-2_riscv64.deb ... Unpacking libsqlite3-0:riscv64 (3.36.0-2) over (3.35.5-1) ... Preparing to unpack .../06-tzdata_2021e-1ubuntu1_all.deb ... Unpacking tzdata (2021e-1ubuntu1) over (2021a-2ubuntu1) ... Preparing to unpack .../07-libgdbm6_1.22-1_riscv64.deb ... Unpacking libgdbm6:riscv64 (1.22-1) over (1.19-2build1) ... Preparing to unpack .../08-gpg_2.2.27-2ubuntu1_riscv64.deb ... Unpacking gpg (2.2.27-2ubuntu1) over (2.2.20-1ubuntu4) ... Preparing to unpack .../09-gpgconf_2.2.27-2ubuntu1_riscv64.deb ... Unpacking gpgconf (2.2.27-2ubuntu1) over (2.2.20-1ubuntu4) ... Preparing to unpack .../10-gpg-agent_2.2.27-2ubuntu1_riscv64.deb ... Unpacking gpg-agent (2.2.27-2ubuntu1) over (2.2.20-1ubuntu4) ... Preparing to unpack .../11-libgdbm-compat4_1.22-1_riscv64.deb ... Unpacking libgdbm-compat4:riscv64 (1.22-1) over (1.19-2build1) ... Preparing to unpack .../12-linux-libc-dev_5.15.0-13.13_riscv64.deb ... Unpacking linux-libc-dev:riscv64 (5.15.0-13.13) over (5.13.0-19.19) ... Preparing to unpack .../13-lockfile-progs_0.1.19_riscv64.deb ... Unpacking lockfile-progs (0.1.19) over (0.1.18build1) ... Preparing to unpack .../14-lto-disabled-list_17_all.deb ... Unpacking lto-disabled-list (17) over (16) ... Preparing to unpack .../15-make_4.3-4ubuntu2_riscv64.deb ... Unpacking make (4.3-4ubuntu2) over (4.3-4ubuntu1) ... Preparing to unpack .../16-pkgbinarymangler_149_all.deb ... Unpacking pkgbinarymangler (149) over (148) ... Setting up libip4tc2:riscv64 (1.8.7-1ubuntu4) ... Setting up lto-disabled-list (17) ... Setting up libapparmor1:riscv64 (3.0.3-0ubuntu3) ... Setting up libsqlite3-0:riscv64 (3.36.0-2) ... Setting up binutils-common:riscv64 (2.37-10ubuntu1) ... Setting up linux-libc-dev:riscv64 (5.15.0-13.13) ... Setting up libctf-nobfd0:riscv64 (2.37-10ubuntu1) ... Setting up libgomp1:riscv64 (11.2.0-12ubuntu1) ... Setting up libseccomp2:riscv64 (2.5.2-2ubuntu2) ... Setting up libasan6:riscv64 (11.2.0-12ubuntu1) ... Setting up tzdata (2021e-1ubuntu1) ... Current default time zone: 'Etc/UTC' Local time is now: Thu Dec 2 17:38:03 UTC 2021. Universal Time is now: Thu Dec 2 17:38:03 UTC 2021. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up make (4.3-4ubuntu2) ... Setting up libncurses6:riscv64 (6.3-1) ... Setting up libmpc3:riscv64 (1.2.1-1) ... Setting up lockfile-progs (0.1.19) ... Setting up libatomic1:riscv64 (11.2.0-12ubuntu1) ... Setting up usrmerge (25ubuntu2) ... Setting up libss2:riscv64 (1.46.4-1ubuntu1) ... Setting up libncursesw6:riscv64 (6.3-1) ... Setting up logsave (1.46.4-1ubuntu1) ... Setting up libgcc-11-dev:riscv64 (11.2.0-12ubuntu1) ... Setting up mount (2.37.2-4ubuntu1) ... Setting up sensible-utils (0.0.17) ... Setting up libcrypt-dev:riscv64 (1:4.4.26-1) ... Setting up gpgconf (2.2.27-2ubuntu1) ... Setting up libcryptsetup12:riscv64 (2:2.4.2-1ubuntu1) ... Setting up libbinutils:riscv64 (2.37-10ubuntu1) ... Setting up libisl23:riscv64 (0.24-2) ... Setting up openssl (3.0.0-1ubuntu1) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up libcc1-0:riscv64 (11.2.0-12ubuntu1) ... Setting up gpg (2.2.27-2ubuntu1) ... Setting up libkmod2:riscv64 (28-1ubuntu5) ... Setting up libgdbm6:riscv64 (1.22-1) ... Setting up libctf0:riscv64 (2.37-10ubuntu1) ... Setting up cpp-11 (11.2.0-12ubuntu1) ... Setting up gpg-agent (2.2.27-2ubuntu1) ... Setting up pkgbinarymangler (149) ... Setting up binutils-riscv64-linux-gnu (2.37-10ubuntu1) ... Setting up e2fsprogs (1.46.4-1ubuntu1) ... Installing new version of config file /etc/mke2fs.conf ... Setting up systemd (249.5-2ubuntu1) ... Installing new version of config file /etc/systemd/networkd.conf ... Installing new version of config file /etc/systemd/resolved.conf ... Initializing machine ID from random generator. Setting up binutils (2.37-10ubuntu1) ... Setting up ca-certificates (20211016) ... Updating certificates in /etc/ssl/certs... rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL 7 added, 8 removed; done. Setting up systemd-timesyncd (249.5-2ubuntu1) ... Setting up libgdbm-compat4:riscv64 (1.22-1) ... Setting up libstdc++-11-dev:riscv64 (11.2.0-12ubuntu1) ... Setting up gcc-11 (11.2.0-12ubuntu1) ... Setting up systemd-sysv (249.5-2ubuntu1) ... Setting up g++-11 (11.2.0-12ubuntu1) ... Processing triggers for libc-bin (2.34-0ubuntu3) ... Processing triggers for ca-certificates (20211016) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. RUN: /usr/share/launchpad-buildd/bin/sbuild-package PACKAGEBUILD-22579410 riscv64 jammy-proposed -c chroot:build-PACKAGEBUILD-22579410 --arch=riscv64 --dist=jammy-proposed --nolog pocl_1.8-2.dsc Initiating build PACKAGEBUILD-22579410 with 8 jobs across 8 processor cores. Kernel reported to sbuild: 5.11.0-1022-generic #23~20.04.1-Ubuntu SMP Thu Oct 21 10:16:27 UTC 2021 riscv64 sbuild (Debian sbuild) 0.79.0 (05 February 2020) on riscv64-qemu-lcy01-072.buildd +==============================================================================+ | pocl 1.8-2 (riscv64) Thu, 02 Dec 2021 17:40:29 +0000 | +==============================================================================+ Package: pocl Version: 1.8-2 Source Version: 1.8-2 Distribution: jammy-proposed Machine Architecture: riscv64 Host Architecture: riscv64 Build Architecture: riscv64 Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-22579410/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/pocl-sHfTNE/resolver-Tps8fh' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- pocl_1.8-2.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/pocl-sHfTNE/pocl-1.8' with '<>' I: NOTICE: Log filtering will replace 'build/pocl-sHfTNE' with '<>' +------------------------------------------------------------------------------+ | Install package build dependencies | +------------------------------------------------------------------------------+ Setup apt archive ----------------- Merged Build-Depends: debhelper-compat (= 13), gcc (>= 4:10), pkg-config, libhwloc-dev, ocl-icd-dev (>= 2.2.3), ocl-icd-libopencl1 (>= 2.2.3), ocl-icd-opencl-dev, clang-11, libclang-11-dev, libclang-cpp11-dev, llvm-11-dev, pkg-kde-tools, cmake, clinfo, build-essential, fakeroot Filtered Build-Depends: debhelper-compat (= 13), gcc (>= 4:10), pkg-config, libhwloc-dev, ocl-icd-dev (>= 2.2.3), ocl-icd-libopencl1 (>= 2.2.3), ocl-icd-opencl-dev, clang-11, libclang-11-dev, libclang-cpp11-dev, llvm-11-dev, pkg-kde-tools, cmake, clinfo, build-essential, fakeroot dpkg-deb: building package 'sbuild-build-depends-main-dummy' in '/<>/apt_archive/sbuild-build-depends-main-dummy.deb'. Ign:1 copy:/<>/apt_archive ./ InRelease Get:2 copy:/<>/apt_archive ./ Release [957 B] Ign:3 copy:/<>/apt_archive ./ Release.gpg Get:4 copy:/<>/apt_archive ./ Sources [462 B] Get:5 copy:/<>/apt_archive ./ Packages [549 B] Fetched 1968 B in 1s (2924 B/s) Reading package lists... Reading package lists... Install main build dependencies (apt-based resolver) ---------------------------------------------------- Installing build dependencies Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: libsepol1 systemd-timesyncd Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils clang-11 clinfo cmake cmake-data debhelper debugedit dh-autoreconf dh-elpa-helper dh-strip-nondeterminism diffstat dwz emacsen-common file gettext gettext-base groff-base icu-devtools intltool-debian libaliased-perl libapt-pkg-perl libarchive-zip-perl libarchive13 libb-hooks-endofscope-perl libb-hooks-op-check-perl libbrotli1 libbsd0 libcapture-tiny-perl libclang-11-dev libclang-common-11-dev libclang-cpp11 libclang-cpp11-dev libclang1-11 libclass-data-inheritable-perl libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl libconfig-tiny-perl libconst-fast-perl libcpanel-json-xs-perl libcurl4 libdata-dpath-perl libdata-messagepack-perl libdata-optlist-perl libdata-validate-domain-perl libdebhelper-perl libdevel-callchecker-perl libdevel-size-perl libdevel-stacktrace-perl libdw1 libdynaloader-functions-perl libedit2 libelf1 libemail-address-xs-perl libexception-class-perl libexpat1 libexporter-tiny-perl libffi-dev libfile-basedir-perl libfile-find-rule-perl libfile-stripnondeterminism-perl libfont-ttf-perl libgc1 libglib2.0-0 libhtml-html5-entities-perl libhwloc-dev libhwloc15 libicu-dev libicu67 libimport-into-perl libio-interactive-perl libio-prompt-tiny-perl libio-string-perl libipc-run3-perl libipc-system-simple-perl libiterator-perl libiterator-util-perl libjson-maybexs-perl libjsoncpp24 libldap-2.5-0 liblist-compare-perl liblist-moreutils-perl liblist-moreutils-xs-perl liblist-someutils-perl liblist-utilsby-perl libllvm11 libltdl-dev libltdl7 liblzo2-2 libmagic-mgc libmagic1 libmarkdown2 libmd0 libmodule-implementation-perl libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmouse-perl libmpdec3 libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl libnghttp2-14 libnuma-dev libnuma1 libnumber-compare-perl libobjc-11-dev libobjc4 libpackage-stash-perl libparams-classify-perl libparams-util-perl libpath-tiny-perl libperlio-gzip-perl libperlio-utf8-strict-perl libpfm4 libpipeline1 libproc-processtable-perl libpsl5 libpython3-stdlib libpython3.9-minimal libpython3.9-stdlib librhash0 librole-tiny-perl librtmp1 libsasl2-2 libsasl2-modules-db libsereal-decoder-perl libsereal-encoder-perl libsigsegv2 libsort-versions-perl libssh-4 libstrictures-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libsub-name-perl libsub-override-perl libsub-quote-perl libterm-readkey-perl libtext-glob-perl libtext-levenshteinxs-perl libtext-markdown-discount-perl libtext-xslate-perl libtime-duration-perl libtime-moment-perl libtimedate-perl libtinfo-dev libtool libtry-tiny-perl libtype-tiny-perl libuchardet0 libunicode-utf8-perl liburi-perl libuv1 libvariable-magic-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 libxml2-dev libyaml-0-2 libyaml-libyaml-perl libz3-4 libz3-dev lintian llvm-11 llvm-11-dev llvm-11-linker-tools llvm-11-runtime llvm-11-tools lzip lzop m4 man-db media-types ocl-icd-dev ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-c-headers opencl-clhpp-headers patchutils pkg-config pkg-kde-tools po-debconf python3 python3-minimal python3-pkg-resources python3-pygments python3-yaml python3.9 python3.9-minimal t1utils ucf unzip Suggested packages: autoconf-archive gnu-standards autoconf-doc clang-11-doc cmake-doc ninja-build dh-make gettext-doc libasprintf-dev libgettextpo-dev groff lrzip libxml-parser-perl icu-doc libtool-doc ncurses-doc libscalar-number-perl libbareword-filehandles-perl libindirect-perl libmultidimensional-perl gfortran | fortran95-compiler gcj-jdk libdevel-lexalias-perl libbusiness-isbn-perl libwww-perl binutils-multiarch libtext-template-perl llvm-11-doc m4-doc apparmor less www-browser opencl-icd opencl-clhpp-headers-doc cdbs libmail-box-perl python3-doc python3-tk python3-venv python3-setuptools python-pygments-doc ttf-bitstream-vera python3.9-venv python3.9-doc binfmt-support zip Recommended packages: curl | wget | lynx libarchive-cpio-perl libglib2.0-data shared-mime-info xdg-user-dirs libhwloc-plugins libldap-common liblist-someutils-xs-perl libpackage-stash-xs-perl publicsuffix libsasl2-modules libref-util-perl libtype-tiny-xs-perl libwww-perl libxml-sax-expat-perl binfmt-support libgl1-mesa-dev | libgl-dev libmail-sendmail-perl The following NEW packages will be installed: autoconf automake autopoint autotools-dev bsdextrautils clang-11 clinfo cmake cmake-data debhelper debugedit dh-autoreconf dh-elpa-helper dh-strip-nondeterminism diffstat dwz emacsen-common file gettext gettext-base groff-base icu-devtools intltool-debian libaliased-perl libapt-pkg-perl libarchive-zip-perl libarchive13 libb-hooks-endofscope-perl libb-hooks-op-check-perl libbrotli1 libbsd0 libcapture-tiny-perl libclang-11-dev libclang-common-11-dev libclang-cpp11 libclang-cpp11-dev libclang1-11 libclass-data-inheritable-perl libclass-method-modifiers-perl libclass-xsaccessor-perl libclone-perl libconfig-tiny-perl libconst-fast-perl libcpanel-json-xs-perl libcurl4 libdata-dpath-perl libdata-messagepack-perl libdata-optlist-perl libdata-validate-domain-perl libdebhelper-perl libdevel-callchecker-perl libdevel-size-perl libdevel-stacktrace-perl libdw1 libdynaloader-functions-perl libedit2 libelf1 libemail-address-xs-perl libexception-class-perl libexpat1 libexporter-tiny-perl libffi-dev libfile-basedir-perl libfile-find-rule-perl libfile-stripnondeterminism-perl libfont-ttf-perl libgc1 libglib2.0-0 libhtml-html5-entities-perl libhwloc-dev libhwloc15 libicu-dev libicu67 libimport-into-perl libio-interactive-perl libio-prompt-tiny-perl libio-string-perl libipc-run3-perl libipc-system-simple-perl libiterator-perl libiterator-util-perl libjson-maybexs-perl libjsoncpp24 libldap-2.5-0 liblist-compare-perl liblist-moreutils-perl liblist-moreutils-xs-perl liblist-someutils-perl liblist-utilsby-perl libllvm11 libltdl-dev libltdl7 liblzo2-2 libmagic-mgc libmagic1 libmarkdown2 libmd0 libmodule-implementation-perl libmodule-runtime-perl libmoo-perl libmoox-aliases-perl libmouse-perl libmpdec3 libnamespace-clean-perl libncurses-dev libnet-domain-tld-perl libnghttp2-14 libnuma-dev libnuma1 libnumber-compare-perl libobjc-11-dev libobjc4 libpackage-stash-perl libparams-classify-perl libparams-util-perl libpath-tiny-perl libperlio-gzip-perl libperlio-utf8-strict-perl libpfm4 libpipeline1 libproc-processtable-perl libpsl5 libpython3-stdlib libpython3.9-minimal libpython3.9-stdlib librhash0 librole-tiny-perl librtmp1 libsasl2-2 libsasl2-modules-db libsereal-decoder-perl libsereal-encoder-perl libsigsegv2 libsort-versions-perl libssh-4 libstrictures-perl libsub-exporter-perl libsub-exporter-progressive-perl libsub-identify-perl libsub-install-perl libsub-name-perl libsub-override-perl libsub-quote-perl libterm-readkey-perl libtext-glob-perl libtext-levenshteinxs-perl libtext-markdown-discount-perl libtext-xslate-perl libtime-duration-perl libtime-moment-perl libtimedate-perl libtinfo-dev libtool libtry-tiny-perl libtype-tiny-perl libuchardet0 libunicode-utf8-perl liburi-perl libuv1 libvariable-magic-perl libxml-libxml-perl libxml-namespacesupport-perl libxml-sax-base-perl libxml-sax-perl libxml2 libxml2-dev libyaml-0-2 libyaml-libyaml-perl libz3-4 libz3-dev lintian llvm-11 llvm-11-dev llvm-11-linker-tools llvm-11-runtime llvm-11-tools lzip lzop m4 man-db media-types ocl-icd-dev ocl-icd-libopencl1 ocl-icd-opencl-dev opencl-c-headers opencl-clhpp-headers patchutils pkg-config pkg-kde-tools po-debconf python3 python3-minimal python3-pkg-resources python3-pygments python3-yaml python3.9 python3.9-minimal sbuild-build-depends-main-dummy t1utils ucf unzip 0 upgraded, 201 newly installed, 0 to remove and 0 not upgraded. Need to get 210 MB of archives. After this operation, 1555 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [778 B] Get:2 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libpython3.9-minimal riscv64 3.9.9-1build1 [776 kB] Get:3 http://ftpmaster.internal/ubuntu jammy/main riscv64 libexpat1 riscv64 2.4.1-3 [83.6 kB] Get:4 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 python3.9-minimal riscv64 3.9.9-1build1 [1686 kB] Get:5 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 python3-minimal riscv64 3.9.7-4 [24.7 kB] Get:6 http://ftpmaster.internal/ubuntu jammy/main riscv64 media-types all 4.0.0 [22.2 kB] Get:7 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmpdec3 riscv64 2.5.1-2build1 [84.9 kB] Get:8 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libpython3.9-stdlib riscv64 3.9.9-1build1 [1699 kB] Get:9 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 python3.9 riscv64 3.9.9-1build1 [437 kB] Get:10 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libpython3-stdlib riscv64 3.9.7-4 [7298 B] Get:11 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 python3 riscv64 3.9.7-4 [22.8 kB] Get:12 http://ftpmaster.internal/ubuntu jammy/main riscv64 bsdextrautils riscv64 2.37.2-4ubuntu1 [81.4 kB] Get:13 http://ftpmaster.internal/ubuntu jammy/main riscv64 libuchardet0 riscv64 0.0.7-1build1 [78.9 kB] Get:14 http://ftpmaster.internal/ubuntu jammy/main riscv64 groff-base riscv64 1.22.4-7 [925 kB] Get:15 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpipeline1 riscv64 1.5.4-1 [25.9 kB] Get:16 http://ftpmaster.internal/ubuntu jammy/main riscv64 man-db riscv64 2.9.4-2build1 [1138 kB] Get:17 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmd0 riscv64 1.0.4-1 [30.0 kB] Get:18 http://ftpmaster.internal/ubuntu jammy/main riscv64 libbsd0 riscv64 0.11.3-1ubuntu3 [40.5 kB] Get:19 http://ftpmaster.internal/ubuntu jammy/main riscv64 libelf1 riscv64 0.186-1 [46.6 kB] Get:20 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglib2.0-0 riscv64 2.70.1-1 [1288 kB] Get:21 http://ftpmaster.internal/ubuntu jammy/main riscv64 libicu67 riscv64 67.1-7ubuntu1 [9987 kB] Get:22 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxml2 riscv64 2.9.12+dfsg-5 [605 kB] Get:23 http://ftpmaster.internal/ubuntu jammy/main riscv64 libyaml-0-2 riscv64 0.2.2-1build1 [49.4 kB] Get:24 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 python3-pkg-resources all 59.2.0-1 [132 kB] Get:25 http://ftpmaster.internal/ubuntu jammy/main riscv64 python3-yaml riscv64 5.4.1-1 [157 kB] Get:26 http://ftpmaster.internal/ubuntu jammy/main riscv64 ucf all 3.0043 [56.1 kB] Get:27 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libmagic-mgc riscv64 1:5.41-2 [257 kB] Get:28 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libmagic1 riscv64 1:5.41-2 [88.6 kB] Get:29 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 file riscv64 1:5.41-2 [20.5 kB] Get:30 http://ftpmaster.internal/ubuntu jammy/main riscv64 gettext-base riscv64 0.21-4ubuntu3 [37.2 kB] Get:31 http://ftpmaster.internal/ubuntu jammy/main riscv64 libedit2 riscv64 3.1-20210910-1 [81.8 kB] Get:32 http://ftpmaster.internal/ubuntu jammy/main riscv64 libnuma1 riscv64 2.0.14-3ubuntu1 [20.3 kB] Get:33 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpsl5 riscv64 0.21.0-1.2build1 [56.4 kB] Get:34 http://ftpmaster.internal/ubuntu jammy/main riscv64 libuv1 riscv64 1.40.0-2ubuntu1 [76.8 kB] Get:35 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsigsegv2 riscv64 2.13-1ubuntu2 [13.6 kB] Get:36 http://ftpmaster.internal/ubuntu jammy/main riscv64 m4 riscv64 1.4.18-5ubuntu1 [193 kB] Get:37 http://ftpmaster.internal/ubuntu jammy/main riscv64 autoconf all 2.71-2 [338 kB] Get:38 http://ftpmaster.internal/ubuntu jammy/main riscv64 autotools-dev all 20180224.1+nmu1 [39.4 kB] Get:39 http://ftpmaster.internal/ubuntu jammy/main riscv64 automake all 1:1.16.5-1.1 [558 kB] Get:40 http://ftpmaster.internal/ubuntu jammy/main riscv64 autopoint all 0.21-4ubuntu3 [422 kB] Get:41 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libllvm11 riscv64 1:11.1.0-4 [18.6 MB] Get:42 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 libclang-cpp11 riscv64 1:11.1.0-4 [9849 kB] Get:43 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgc1 riscv64 1:8.0.4-3build1 [91.9 kB] Get:44 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libobjc4 riscv64 11.2.0-12ubuntu1 [46.3 kB] Get:45 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libobjc-11-dev riscv64 11.2.0-12ubuntu1 [336 kB] Get:46 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 libclang-common-11-dev riscv64 1:11.1.0-4 [3992 kB] Get:47 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 llvm-11-linker-tools riscv64 1:11.1.0-4 [1084 kB] Get:48 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 libclang1-11 riscv64 1:11.1.0-4 [5607 kB] Get:49 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 clang-11 riscv64 1:11.1.0-4 [76.3 kB] Get:50 http://ftpmaster.internal/ubuntu jammy/universe riscv64 ocl-icd-libopencl1 riscv64 2.2.14-3 [34.3 kB] Get:51 http://ftpmaster.internal/ubuntu jammy/universe riscv64 clinfo riscv64 3.0.21.02.21-1 [47.6 kB] Get:52 http://ftpmaster.internal/ubuntu jammy/main riscv64 libarchive13 riscv64 3.4.3-2build1 [338 kB] Get:53 http://ftpmaster.internal/ubuntu jammy/main riscv64 libbrotli1 riscv64 1.0.9-2build4 [330 kB] Get:54 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libsasl2-modules-db riscv64 2.1.27+dfsg2-2build1 [19.3 kB] Get:55 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libsasl2-2 riscv64 2.1.27+dfsg2-2build1 [53.2 kB] Get:56 http://ftpmaster.internal/ubuntu jammy/main riscv64 libldap-2.5-0 riscv64 2.5.6+dfsg-1~exp1ubuntu1 [165 kB] Get:57 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libnghttp2-14 riscv64 1.43.0-1build2 [73.3 kB] Get:58 http://ftpmaster.internal/ubuntu jammy/main riscv64 librtmp1 riscv64 2.4+20151223.gitfa8646d.1-2build3 [54.7 kB] Get:59 http://ftpmaster.internal/ubuntu jammy/main riscv64 libssh-4 riscv64 0.9.6-1 [163 kB] Get:60 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcurl4 riscv64 7.74.0-1.3ubuntu2 [245 kB] Get:61 http://ftpmaster.internal/ubuntu jammy/main riscv64 libjsoncpp24 riscv64 1.9.4-5 [79.2 kB] Get:62 http://ftpmaster.internal/ubuntu jammy/main riscv64 librhash0 riscv64 1.4.2-1 [143 kB] Get:63 http://ftpmaster.internal/ubuntu jammy/universe riscv64 dh-elpa-helper all 2.0.8ubuntu1 [7468 B] Get:64 http://ftpmaster.internal/ubuntu jammy/main riscv64 emacsen-common all 3.0.4 [14.9 kB] Get:65 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 cmake-data all 3.21.4-1ubuntu1 [1886 kB] Get:66 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 cmake riscv64 3.21.4-1ubuntu1 [5438 kB] Get:67 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdebhelper-perl all 13.5.2ubuntu1 [66.0 kB] Get:68 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtool all 2.4.6-15build1 [164 kB] Get:69 http://ftpmaster.internal/ubuntu jammy/main riscv64 dh-autoreconf all 20 [16.1 kB] Get:70 http://ftpmaster.internal/ubuntu jammy/main riscv64 libarchive-zip-perl all 1.68-1 [90.2 kB] Get:71 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsub-override-perl all 0.09-2 [9532 B] Get:72 http://ftpmaster.internal/ubuntu jammy/main riscv64 libfile-stripnondeterminism-perl all 1.12.1-1 [18.1 kB] Get:73 http://ftpmaster.internal/ubuntu jammy/main riscv64 dh-strip-nondeterminism all 1.12.1-1 [5200 B] Get:74 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdw1 riscv64 0.186-1 [228 kB] Get:75 http://ftpmaster.internal/ubuntu jammy/main riscv64 debugedit riscv64 1:5.0-3 [49.8 kB] Get:76 http://ftpmaster.internal/ubuntu jammy/main riscv64 dwz riscv64 0.14-1build1 [105 kB] Get:77 http://ftpmaster.internal/ubuntu jammy/main riscv64 gettext riscv64 0.21-4ubuntu3 [769 kB] Get:78 http://ftpmaster.internal/ubuntu jammy/main riscv64 intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:79 http://ftpmaster.internal/ubuntu jammy/main riscv64 po-debconf all 1.0.21+nmu1 [233 kB] Get:80 http://ftpmaster.internal/ubuntu jammy/main riscv64 debhelper all 13.5.2ubuntu1 [926 kB] Get:81 http://ftpmaster.internal/ubuntu jammy/main riscv64 diffstat riscv64 1.64-1build1 [26.8 kB] Get:82 http://ftpmaster.internal/ubuntu jammy/main riscv64 icu-devtools riscv64 67.1-7ubuntu1 [194 kB] Get:83 http://ftpmaster.internal/ubuntu jammy/main riscv64 libaliased-perl all 0.34-1.1 [13.3 kB] Get:84 http://ftpmaster.internal/ubuntu jammy/main riscv64 libapt-pkg-perl riscv64 0.1.40build1 [71.0 kB] Get:85 http://ftpmaster.internal/ubuntu jammy/main riscv64 libb-hooks-op-check-perl riscv64 0.22-1build4 [10.1 kB] Get:86 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdynaloader-functions-perl all 0.003-1.1 [12.1 kB] Get:87 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdevel-callchecker-perl riscv64 0.008-1ubuntu3 [14.4 kB] Get:88 http://ftpmaster.internal/ubuntu jammy/main riscv64 libparams-classify-perl riscv64 0.015-1build4 [20.7 kB] Get:89 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmodule-runtime-perl all 0.016-1 [16.2 kB] Get:90 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 libtry-tiny-perl all 0.31-1 [21.8 kB] Get:91 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmodule-implementation-perl all 0.09-1.1 [11.6 kB] Get:92 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsub-exporter-progressive-perl all 0.001013-1 [6784 B] Get:93 http://ftpmaster.internal/ubuntu jammy/main riscv64 libvariable-magic-perl riscv64 0.62-1build4 [33.5 kB] Get:94 http://ftpmaster.internal/ubuntu jammy/main riscv64 libb-hooks-endofscope-perl all 0.25-1 [17.8 kB] Get:95 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcapture-tiny-perl all 0.48-1 [20.4 kB] Get:96 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 libclang-11-dev riscv64 1:11.1.0-4 [43.4 MB] Get:97 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 libclang-cpp11-dev riscv64 1:11.1.0-4 [3706 B] Get:98 http://ftpmaster.internal/ubuntu jammy/main riscv64 libclass-data-inheritable-perl all 0.08-3 [8084 B] Get:99 http://ftpmaster.internal/ubuntu jammy/main riscv64 libclass-method-modifiers-perl all 2.13-1 [16.2 kB] Get:100 http://ftpmaster.internal/ubuntu jammy/main riscv64 libclass-xsaccessor-perl riscv64 1.19-3build8 [34.7 kB] Get:101 http://ftpmaster.internal/ubuntu jammy/main riscv64 libclone-perl riscv64 0.45-1build2 [10.1 kB] Get:102 http://ftpmaster.internal/ubuntu jammy/main riscv64 libconfig-tiny-perl all 2.27-1 [13.1 kB] Get:103 http://ftpmaster.internal/ubuntu jammy/main riscv64 libparams-util-perl riscv64 1.102-1build2 [21.6 kB] Get:104 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsub-install-perl all 0.928-1.1 [9972 B] Get:105 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdata-optlist-perl all 0.112-1 [11.0 kB] Get:106 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsub-exporter-perl all 0.988-1 [50.6 kB] Get:107 http://ftpmaster.internal/ubuntu jammy/main riscv64 libconst-fast-perl all 0.014-1.1 [7756 B] Get:108 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcpanel-json-xs-perl riscv64 4.27-1 [113 kB] Get:109 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdevel-stacktrace-perl all 2.0400-1 [22.7 kB] Get:110 http://ftpmaster.internal/ubuntu jammy/main riscv64 libexception-class-perl all 1.45-1 [28.6 kB] Get:111 http://ftpmaster.internal/ubuntu jammy/main riscv64 libiterator-perl all 0.03+ds1-1.1 [18.2 kB] Get:112 http://ftpmaster.internal/ubuntu jammy/main riscv64 libiterator-util-perl all 0.02+ds1-1.1 [13.6 kB] Get:113 http://ftpmaster.internal/ubuntu jammy/main riscv64 libexporter-tiny-perl all 1.002002-1 [36.2 kB] Get:114 http://ftpmaster.internal/ubuntu jammy/main riscv64 liblist-moreutils-xs-perl riscv64 0.430-2build1 [40.2 kB] Get:115 http://ftpmaster.internal/ubuntu jammy/main riscv64 liblist-moreutils-perl all 0.430-2 [38.2 kB] Get:116 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdata-dpath-perl all 0.58-1 [38.8 kB] Get:117 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdata-messagepack-perl riscv64 1.01-2 [33.5 kB] Get:118 http://ftpmaster.internal/ubuntu jammy/main riscv64 libnet-domain-tld-perl all 1.75-1.1 [29.3 kB] Get:119 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdata-validate-domain-perl all 0.10-1.1 [9992 B] Get:120 http://ftpmaster.internal/ubuntu jammy/main riscv64 libemail-address-xs-perl riscv64 1.04-1build5 [26.4 kB] Get:121 http://ftpmaster.internal/ubuntu jammy/main riscv64 libipc-system-simple-perl all 1.30-1 [23.2 kB] Get:122 http://ftpmaster.internal/ubuntu jammy/main riscv64 libfile-basedir-perl all 0.09-1 [15.7 kB] Get:123 http://ftpmaster.internal/ubuntu jammy/main riscv64 libnumber-compare-perl all 0.03-2 [7058 B] Get:124 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtext-glob-perl all 0.11-2 [8042 B] Get:125 http://ftpmaster.internal/ubuntu jammy/main riscv64 libfile-find-rule-perl all 0.34-1 [28.3 kB] Get:126 http://ftpmaster.internal/ubuntu jammy/main riscv64 libio-string-perl all 1.08-3.1 [10.7 kB] Get:127 http://ftpmaster.internal/ubuntu jammy/main riscv64 libfont-ttf-perl all 1.06-1.1 [316 kB] Get:128 http://ftpmaster.internal/ubuntu jammy/main riscv64 libhtml-html5-entities-perl all 0.004-1.1 [20.8 kB] Get:129 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libhwloc15 riscv64 2.6.0-1 [137 kB] Get:130 http://ftpmaster.internal/ubuntu jammy/main riscv64 libicu-dev riscv64 67.1-7ubuntu1 [15.5 MB] Get:131 http://ftpmaster.internal/ubuntu jammy/main riscv64 libimport-into-perl all 1.002005-1 [11.0 kB] Get:132 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libio-interactive-perl all 1.023-1 [10.4 kB] Get:133 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libio-prompt-tiny-perl all 0.003-1 [8924 B] Get:134 http://ftpmaster.internal/ubuntu jammy/main riscv64 libjson-maybexs-perl all 1.004003-1 [11.3 kB] Get:135 http://ftpmaster.internal/ubuntu jammy/main riscv64 liblist-compare-perl all 0.55-1 [63.3 kB] Get:136 http://ftpmaster.internal/ubuntu jammy/main riscv64 liblist-someutils-perl all 0.58-1 [29.7 kB] Get:137 http://ftpmaster.internal/ubuntu jammy/main riscv64 liblist-utilsby-perl all 0.11-1 [14.7 kB] Get:138 http://ftpmaster.internal/ubuntu jammy/main riscv64 libltdl7 riscv64 2.4.6-15build1 [36.7 kB] Get:139 http://ftpmaster.internal/ubuntu jammy/main riscv64 libltdl-dev riscv64 2.4.6-15build1 [190 kB] Get:140 http://ftpmaster.internal/ubuntu jammy/main riscv64 liblzo2-2 riscv64 2.10-2build2 [52.9 kB] Get:141 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmarkdown2 riscv64 2.2.6-1ubuntu2 [33.6 kB] Get:142 http://ftpmaster.internal/ubuntu jammy/main riscv64 librole-tiny-perl all 2.002004-1 [16.3 kB] Get:143 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsub-quote-perl all 2.006006-1 [19.5 kB] Get:144 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmoo-perl all 2.005004-2 [48.0 kB] Get:145 http://ftpmaster.internal/ubuntu jammy/main riscv64 libstrictures-perl all 2.000006-1 [16.3 kB] Get:146 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmoox-aliases-perl all 0.001006-1.1 [6632 B] Get:147 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmouse-perl riscv64 2.5.10-1build3 [156 kB] Get:148 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpackage-stash-perl all 0.39-1 [19.1 kB] Get:149 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsub-identify-perl riscv64 0.14-1build4 [10.1 kB] Get:150 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsub-name-perl riscv64 0.26-1build2 [10.8 kB] Get:151 http://ftpmaster.internal/ubuntu jammy/main riscv64 libnamespace-clean-perl all 0.27-1 [13.6 kB] Get:152 http://ftpmaster.internal/ubuntu jammy/main riscv64 libncurses-dev riscv64 6.3-1 [893 kB] Get:153 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpath-tiny-perl all 0.120-1 [44.8 kB] Get:154 http://ftpmaster.internal/ubuntu jammy/main riscv64 libperlio-gzip-perl riscv64 0.19-1build7 [14.1 kB] Get:155 http://ftpmaster.internal/ubuntu jammy/main riscv64 libperlio-utf8-strict-perl riscv64 0.008-1build2 [11.2 kB] Get:156 http://ftpmaster.internal/ubuntu jammy/main riscv64 libproc-processtable-perl riscv64 0.634-1 [35.4 kB] Get:157 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsereal-decoder-perl riscv64 4.018+ds-1build2 [101 kB] Get:158 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsereal-encoder-perl riscv64 4.018+ds-1build2 [104 kB] Get:159 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsort-versions-perl all 1.62-1 [9294 B] Get:160 http://ftpmaster.internal/ubuntu jammy/main riscv64 libterm-readkey-perl riscv64 2.38-1build3 [24.4 kB] Get:161 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtext-levenshteinxs-perl riscv64 0.03-4build9 [8012 B] Get:162 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtext-markdown-discount-perl riscv64 0.13-1 [12.3 kB] Get:163 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtext-xslate-perl riscv64 3.5.9-1 [182 kB] Get:164 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtime-duration-perl all 1.21-1 [13.1 kB] Get:165 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtime-moment-perl riscv64 0.44-1build5 [70.7 kB] Get:166 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtimedate-perl all 2.3300-2 [34.0 kB] Get:167 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtinfo-dev riscv64 6.3-1 [776 B] Get:168 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtype-tiny-perl all 1.012004-1 [321 kB] Get:169 http://ftpmaster.internal/ubuntu jammy/main riscv64 libunicode-utf8-perl riscv64 0.62-1build3 [17.8 kB] Get:170 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 liburi-perl all 5.10-1 [78.8 kB] Get:171 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxml-namespacesupport-perl all 1.12-1.1 [13.2 kB] Get:172 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxml-sax-base-perl all 1.09-1.1 [19.0 kB] Get:173 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxml-sax-perl all 1.02+dfsg-3 [57.0 kB] Get:174 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxml-libxml-perl riscv64 2.0134+dfsg-2build2 [315 kB] Get:175 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxml2-dev riscv64 2.9.12+dfsg-5 [2195 kB] Get:176 http://ftpmaster.internal/ubuntu jammy/main riscv64 libyaml-libyaml-perl riscv64 0.83+ds-1 [27.5 kB] Get:177 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdevel-size-perl riscv64 0.83-1build3 [20.2 kB] Get:178 http://ftpmaster.internal/ubuntu jammy/main riscv64 libipc-run3-perl all 0.048-2 [31.4 kB] Get:179 http://ftpmaster.internal/ubuntu jammy/main riscv64 lzip riscv64 1.22-4 [87.6 kB] Get:180 http://ftpmaster.internal/ubuntu jammy/main riscv64 lzop riscv64 1.04-2build1 [83.3 kB] Get:181 http://ftpmaster.internal/ubuntu jammy/main riscv64 patchutils riscv64 0.4.2-1build1 [73.8 kB] Get:182 http://ftpmaster.internal/ubuntu jammy/main riscv64 t1utils riscv64 1.41-4build1 [55.6 kB] Get:183 http://ftpmaster.internal/ubuntu jammy/main riscv64 unzip riscv64 6.0-26ubuntu2 [165 kB] Get:184 http://ftpmaster.internal/ubuntu jammy-proposed/main riscv64 lintian all 2.111.0ubuntu2 [1039 kB] Get:185 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 llvm-11-runtime riscv64 1:11.1.0-4 [166 kB] Get:186 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libpfm4 riscv64 4.11.1+git32-gd0b85fb-1 [23.2 kB] Get:187 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 llvm-11 riscv64 1:11.1.0-4 [7103 kB] Get:188 http://ftpmaster.internal/ubuntu jammy/main riscv64 libffi-dev riscv64 3.4.2-1ubuntu5 [86.7 kB] Get:189 http://ftpmaster.internal/ubuntu jammy/main riscv64 python3-pygments all 2.7.1+dfsg-2.1 [639 kB] Get:190 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 llvm-11-tools riscv64 1:11.1.0-4 [334 kB] Get:191 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libz3-4 riscv64 4.8.12-1 [7541 kB] Get:192 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libz3-dev riscv64 4.8.12-1 [72.2 kB] Get:193 http://ftpmaster.internal/ubuntu jammy-proposed/universe riscv64 llvm-11-dev riscv64 1:11.1.0-4 [53.0 MB] Get:194 http://ftpmaster.internal/ubuntu jammy/main riscv64 pkg-config riscv64 0.29.2-1ubuntu2 [46.1 kB] Get:195 http://ftpmaster.internal/ubuntu jammy/main riscv64 libnuma-dev riscv64 2.0.14-3ubuntu1 [65.8 kB] Get:196 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libhwloc-dev riscv64 2.6.0-1 [544 kB] Get:197 http://ftpmaster.internal/ubuntu jammy/universe riscv64 opencl-c-headers all 3.0~2021.06.30-2 [42.3 kB] Get:198 http://ftpmaster.internal/ubuntu jammy/universe riscv64 ocl-icd-dev riscv64 2.2.14-3 [10.2 kB] Get:199 http://ftpmaster.internal/ubuntu jammy/universe riscv64 opencl-clhpp-headers all 3.0~2.0.15-1ubuntu1 [42.6 kB] Get:200 http://ftpmaster.internal/ubuntu jammy/universe riscv64 ocl-icd-opencl-dev riscv64 2.2.14-3 [2416 B] Get:201 http://ftpmaster.internal/ubuntu jammy/universe riscv64 pkg-kde-tools riscv64 0.15.32ubuntu4 [96.1 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 210 MB in 38s (5489 kB/s) Selecting previously unselected package libpython3.9-minimal:riscv64. (Reading database ... 13362 files and directories currently installed.) Preparing to unpack .../libpython3.9-minimal_3.9.9-1build1_riscv64.deb ... Unpacking libpython3.9-minimal:riscv64 (3.9.9-1build1) ... Selecting previously unselected package libexpat1:riscv64. Preparing to unpack .../libexpat1_2.4.1-3_riscv64.deb ... Unpacking libexpat1:riscv64 (2.4.1-3) ... Selecting previously unselected package python3.9-minimal. Preparing to unpack .../python3.9-minimal_3.9.9-1build1_riscv64.deb ... Unpacking python3.9-minimal (3.9.9-1build1) ... Setting up libpython3.9-minimal:riscv64 (3.9.9-1build1) ... Setting up libexpat1:riscv64 (2.4.1-3) ... Setting up python3.9-minimal (3.9.9-1build1) ... Selecting previously unselected package python3-minimal. (Reading database ... 13655 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.9.7-4_riscv64.deb ... Unpacking python3-minimal (3.9.7-4) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_4.0.0_all.deb ... Unpacking media-types (4.0.0) ... Selecting previously unselected package libmpdec3:riscv64. Preparing to unpack .../2-libmpdec3_2.5.1-2build1_riscv64.deb ... Unpacking libmpdec3:riscv64 (2.5.1-2build1) ... Selecting previously unselected package libpython3.9-stdlib:riscv64. Preparing to unpack .../3-libpython3.9-stdlib_3.9.9-1build1_riscv64.deb ... Unpacking libpython3.9-stdlib:riscv64 (3.9.9-1build1) ... Selecting previously unselected package python3.9. Preparing to unpack .../4-python3.9_3.9.9-1build1_riscv64.deb ... Unpacking python3.9 (3.9.9-1build1) ... Selecting previously unselected package libpython3-stdlib:riscv64. Preparing to unpack .../5-libpython3-stdlib_3.9.7-4_riscv64.deb ... Unpacking libpython3-stdlib:riscv64 (3.9.7-4) ... Setting up python3-minimal (3.9.7-4) ... Selecting previously unselected package python3. (Reading database ... 14052 files and directories currently installed.) Preparing to unpack .../000-python3_3.9.7-4_riscv64.deb ... Unpacking python3 (3.9.7-4) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../001-bsdextrautils_2.37.2-4ubuntu1_riscv64.deb ... Unpacking bsdextrautils (2.37.2-4ubuntu1) ... Selecting previously unselected package libuchardet0:riscv64. Preparing to unpack .../002-libuchardet0_0.0.7-1build1_riscv64.deb ... Unpacking libuchardet0:riscv64 (0.0.7-1build1) ... Selecting previously unselected package groff-base. Preparing to unpack .../003-groff-base_1.22.4-7_riscv64.deb ... Unpacking groff-base (1.22.4-7) ... Selecting previously unselected package libpipeline1:riscv64. Preparing to unpack .../004-libpipeline1_1.5.4-1_riscv64.deb ... Unpacking libpipeline1:riscv64 (1.5.4-1) ... Selecting previously unselected package man-db. Preparing to unpack .../005-man-db_2.9.4-2build1_riscv64.deb ... Unpacking man-db (2.9.4-2build1) ... Selecting previously unselected package libmd0:riscv64. Preparing to unpack .../006-libmd0_1.0.4-1_riscv64.deb ... Unpacking libmd0:riscv64 (1.0.4-1) ... Selecting previously unselected package libbsd0:riscv64. Preparing to unpack .../007-libbsd0_0.11.3-1ubuntu3_riscv64.deb ... Unpacking libbsd0:riscv64 (0.11.3-1ubuntu3) ... Selecting previously unselected package libelf1:riscv64. Preparing to unpack .../008-libelf1_0.186-1_riscv64.deb ... Unpacking libelf1:riscv64 (0.186-1) ... Selecting previously unselected package libglib2.0-0:riscv64. Preparing to unpack .../009-libglib2.0-0_2.70.1-1_riscv64.deb ... Unpacking libglib2.0-0:riscv64 (2.70.1-1) ... Selecting previously unselected package libicu67:riscv64. Preparing to unpack .../010-libicu67_67.1-7ubuntu1_riscv64.deb ... Unpacking libicu67:riscv64 (67.1-7ubuntu1) ... Selecting previously unselected package libxml2:riscv64. Preparing to unpack .../011-libxml2_2.9.12+dfsg-5_riscv64.deb ... Unpacking libxml2:riscv64 (2.9.12+dfsg-5) ... Selecting previously unselected package libyaml-0-2:riscv64. Preparing to unpack .../012-libyaml-0-2_0.2.2-1build1_riscv64.deb ... Unpacking libyaml-0-2:riscv64 (0.2.2-1build1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../013-python3-pkg-resources_59.2.0-1_all.deb ... Unpacking python3-pkg-resources (59.2.0-1) ... Selecting previously unselected package python3-yaml. Preparing to unpack .../014-python3-yaml_5.4.1-1_riscv64.deb ... Unpacking python3-yaml (5.4.1-1) ... Selecting previously unselected package ucf. Preparing to unpack .../015-ucf_3.0043_all.deb ... Moving old data out of the way Unpacking ucf (3.0043) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../016-libmagic-mgc_1%3a5.41-2_riscv64.deb ... Unpacking libmagic-mgc (1:5.41-2) ... Selecting previously unselected package libmagic1:riscv64. Preparing to unpack .../017-libmagic1_1%3a5.41-2_riscv64.deb ... Unpacking libmagic1:riscv64 (1:5.41-2) ... Selecting previously unselected package file. Preparing to unpack .../018-file_1%3a5.41-2_riscv64.deb ... Unpacking file (1:5.41-2) ... Selecting previously unselected package gettext-base. Preparing to unpack .../019-gettext-base_0.21-4ubuntu3_riscv64.deb ... Unpacking gettext-base (0.21-4ubuntu3) ... Selecting previously unselected package libedit2:riscv64. Preparing to unpack .../020-libedit2_3.1-20210910-1_riscv64.deb ... Unpacking libedit2:riscv64 (3.1-20210910-1) ... Selecting previously unselected package libnuma1:riscv64. Preparing to unpack .../021-libnuma1_2.0.14-3ubuntu1_riscv64.deb ... Unpacking libnuma1:riscv64 (2.0.14-3ubuntu1) ... Selecting previously unselected package libpsl5:riscv64. Preparing to unpack .../022-libpsl5_0.21.0-1.2build1_riscv64.deb ... Unpacking libpsl5:riscv64 (0.21.0-1.2build1) ... Selecting previously unselected package libuv1:riscv64. Preparing to unpack .../023-libuv1_1.40.0-2ubuntu1_riscv64.deb ... Unpacking libuv1:riscv64 (1.40.0-2ubuntu1) ... Selecting previously unselected package libsigsegv2:riscv64. Preparing to unpack .../024-libsigsegv2_2.13-1ubuntu2_riscv64.deb ... Unpacking libsigsegv2:riscv64 (2.13-1ubuntu2) ... Selecting previously unselected package m4. Preparing to unpack .../025-m4_1.4.18-5ubuntu1_riscv64.deb ... Unpacking m4 (1.4.18-5ubuntu1) ... Selecting previously unselected package autoconf. Preparing to unpack .../026-autoconf_2.71-2_all.deb ... Unpacking autoconf (2.71-2) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../027-autotools-dev_20180224.1+nmu1_all.deb ... Unpacking autotools-dev (20180224.1+nmu1) ... Selecting previously unselected package automake. Preparing to unpack .../028-automake_1%3a1.16.5-1.1_all.deb ... Unpacking automake (1:1.16.5-1.1) ... Selecting previously unselected package autopoint. Preparing to unpack .../029-autopoint_0.21-4ubuntu3_all.deb ... Unpacking autopoint (0.21-4ubuntu3) ... Selecting previously unselected package libllvm11:riscv64. Preparing to unpack .../030-libllvm11_1%3a11.1.0-4_riscv64.deb ... Unpacking libllvm11:riscv64 (1:11.1.0-4) ... Selecting previously unselected package libclang-cpp11. Preparing to unpack .../031-libclang-cpp11_1%3a11.1.0-4_riscv64.deb ... Unpacking libclang-cpp11 (1:11.1.0-4) ... Selecting previously unselected package libgc1:riscv64. Preparing to unpack .../032-libgc1_1%3a8.0.4-3build1_riscv64.deb ... Unpacking libgc1:riscv64 (1:8.0.4-3build1) ... Selecting previously unselected package libobjc4:riscv64. Preparing to unpack .../033-libobjc4_11.2.0-12ubuntu1_riscv64.deb ... Unpacking libobjc4:riscv64 (11.2.0-12ubuntu1) ... Selecting previously unselected package libobjc-11-dev:riscv64. Preparing to unpack .../034-libobjc-11-dev_11.2.0-12ubuntu1_riscv64.deb ... Unpacking libobjc-11-dev:riscv64 (11.2.0-12ubuntu1) ... Selecting previously unselected package libclang-common-11-dev. Preparing to unpack .../035-libclang-common-11-dev_1%3a11.1.0-4_riscv64.deb ... Unpacking libclang-common-11-dev (1:11.1.0-4) ... Selecting previously unselected package llvm-11-linker-tools. Preparing to unpack .../036-llvm-11-linker-tools_1%3a11.1.0-4_riscv64.deb ... Unpacking llvm-11-linker-tools (1:11.1.0-4) ... Selecting previously unselected package libclang1-11. Preparing to unpack .../037-libclang1-11_1%3a11.1.0-4_riscv64.deb ... Unpacking libclang1-11 (1:11.1.0-4) ... Selecting previously unselected package clang-11. Preparing to unpack .../038-clang-11_1%3a11.1.0-4_riscv64.deb ... Unpacking clang-11 (1:11.1.0-4) ... Selecting previously unselected package ocl-icd-libopencl1:riscv64. Preparing to unpack .../039-ocl-icd-libopencl1_2.2.14-3_riscv64.deb ... Unpacking ocl-icd-libopencl1:riscv64 (2.2.14-3) ... Selecting previously unselected package clinfo. Preparing to unpack .../040-clinfo_3.0.21.02.21-1_riscv64.deb ... Unpacking clinfo (3.0.21.02.21-1) ... Selecting previously unselected package libarchive13:riscv64. Preparing to unpack .../041-libarchive13_3.4.3-2build1_riscv64.deb ... Unpacking libarchive13:riscv64 (3.4.3-2build1) ... Selecting previously unselected package libbrotli1:riscv64. Preparing to unpack .../042-libbrotli1_1.0.9-2build4_riscv64.deb ... Unpacking libbrotli1:riscv64 (1.0.9-2build4) ... Selecting previously unselected package libsasl2-modules-db:riscv64. Preparing to unpack .../043-libsasl2-modules-db_2.1.27+dfsg2-2build1_riscv64.deb ... Unpacking libsasl2-modules-db:riscv64 (2.1.27+dfsg2-2build1) ... Selecting previously unselected package libsasl2-2:riscv64. Preparing to unpack .../044-libsasl2-2_2.1.27+dfsg2-2build1_riscv64.deb ... Unpacking libsasl2-2:riscv64 (2.1.27+dfsg2-2build1) ... Selecting previously unselected package libldap-2.5-0:riscv64. Preparing to unpack .../045-libldap-2.5-0_2.5.6+dfsg-1~exp1ubuntu1_riscv64.deb ... Unpacking libldap-2.5-0:riscv64 (2.5.6+dfsg-1~exp1ubuntu1) ... Selecting previously unselected package libnghttp2-14:riscv64. Preparing to unpack .../046-libnghttp2-14_1.43.0-1build2_riscv64.deb ... Unpacking libnghttp2-14:riscv64 (1.43.0-1build2) ... Selecting previously unselected package librtmp1:riscv64. Preparing to unpack .../047-librtmp1_2.4+20151223.gitfa8646d.1-2build3_riscv64.deb ... Unpacking librtmp1:riscv64 (2.4+20151223.gitfa8646d.1-2build3) ... Selecting previously unselected package libssh-4:riscv64. Preparing to unpack .../048-libssh-4_0.9.6-1_riscv64.deb ... Unpacking libssh-4:riscv64 (0.9.6-1) ... Selecting previously unselected package libcurl4:riscv64. Preparing to unpack .../049-libcurl4_7.74.0-1.3ubuntu2_riscv64.deb ... Unpacking libcurl4:riscv64 (7.74.0-1.3ubuntu2) ... Selecting previously unselected package libjsoncpp24:riscv64. Preparing to unpack .../050-libjsoncpp24_1.9.4-5_riscv64.deb ... Unpacking libjsoncpp24:riscv64 (1.9.4-5) ... Selecting previously unselected package librhash0:riscv64. Preparing to unpack .../051-librhash0_1.4.2-1_riscv64.deb ... Unpacking librhash0:riscv64 (1.4.2-1) ... Selecting previously unselected package dh-elpa-helper. Preparing to unpack .../052-dh-elpa-helper_2.0.8ubuntu1_all.deb ... Unpacking dh-elpa-helper (2.0.8ubuntu1) ... Selecting previously unselected package emacsen-common. Preparing to unpack .../053-emacsen-common_3.0.4_all.deb ... Unpacking emacsen-common (3.0.4) ... Selecting previously unselected package cmake-data. Preparing to unpack .../054-cmake-data_3.21.4-1ubuntu1_all.deb ... Unpacking cmake-data (3.21.4-1ubuntu1) ... Selecting previously unselected package cmake. Preparing to unpack .../055-cmake_3.21.4-1ubuntu1_riscv64.deb ... Unpacking cmake (3.21.4-1ubuntu1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../056-libdebhelper-perl_13.5.2ubuntu1_all.deb ... Unpacking libdebhelper-perl (13.5.2ubuntu1) ... Selecting previously unselected package libtool. Preparing to unpack .../057-libtool_2.4.6-15build1_all.deb ... Unpacking libtool (2.4.6-15build1) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../058-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../059-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libsub-override-perl. Preparing to unpack .../060-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../061-libfile-stripnondeterminism-perl_1.12.1-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.12.1-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../062-dh-strip-nondeterminism_1.12.1-1_all.deb ... Unpacking dh-strip-nondeterminism (1.12.1-1) ... Selecting previously unselected package libdw1:riscv64. Preparing to unpack .../063-libdw1_0.186-1_riscv64.deb ... Unpacking libdw1:riscv64 (0.186-1) ... Selecting previously unselected package debugedit. Preparing to unpack .../064-debugedit_1%3a5.0-3_riscv64.deb ... Unpacking debugedit (1:5.0-3) ... Selecting previously unselected package dwz. Preparing to unpack .../065-dwz_0.14-1build1_riscv64.deb ... Unpacking dwz (0.14-1build1) ... Selecting previously unselected package gettext. Preparing to unpack .../066-gettext_0.21-4ubuntu3_riscv64.deb ... Unpacking gettext (0.21-4ubuntu3) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../067-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../068-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../069-debhelper_13.5.2ubuntu1_all.deb ... Unpacking debhelper (13.5.2ubuntu1) ... Selecting previously unselected package diffstat. Preparing to unpack .../070-diffstat_1.64-1build1_riscv64.deb ... Unpacking diffstat (1.64-1build1) ... Selecting previously unselected package icu-devtools. Preparing to unpack .../071-icu-devtools_67.1-7ubuntu1_riscv64.deb ... Unpacking icu-devtools (67.1-7ubuntu1) ... Selecting previously unselected package libaliased-perl. Preparing to unpack .../072-libaliased-perl_0.34-1.1_all.deb ... Unpacking libaliased-perl (0.34-1.1) ... Selecting previously unselected package libapt-pkg-perl. Preparing to unpack .../073-libapt-pkg-perl_0.1.40build1_riscv64.deb ... Unpacking libapt-pkg-perl (0.1.40build1) ... Selecting previously unselected package libb-hooks-op-check-perl. Preparing to unpack .../074-libb-hooks-op-check-perl_0.22-1build4_riscv64.deb ... Unpacking libb-hooks-op-check-perl (0.22-1build4) ... Selecting previously unselected package libdynaloader-functions-perl. Preparing to unpack .../075-libdynaloader-functions-perl_0.003-1.1_all.deb ... Unpacking libdynaloader-functions-perl (0.003-1.1) ... Selecting previously unselected package libdevel-callchecker-perl. Preparing to unpack .../076-libdevel-callchecker-perl_0.008-1ubuntu3_riscv64.deb ... Unpacking libdevel-callchecker-perl (0.008-1ubuntu3) ... Selecting previously unselected package libparams-classify-perl. Preparing to unpack .../077-libparams-classify-perl_0.015-1build4_riscv64.deb ... Unpacking libparams-classify-perl (0.015-1build4) ... Selecting previously unselected package libmodule-runtime-perl. Preparing to unpack .../078-libmodule-runtime-perl_0.016-1_all.deb ... Unpacking libmodule-runtime-perl (0.016-1) ... Selecting previously unselected package libtry-tiny-perl. Preparing to unpack .../079-libtry-tiny-perl_0.31-1_all.deb ... Unpacking libtry-tiny-perl (0.31-1) ... Selecting previously unselected package libmodule-implementation-perl. Preparing to unpack .../080-libmodule-implementation-perl_0.09-1.1_all.deb ... Unpacking libmodule-implementation-perl (0.09-1.1) ... Selecting previously unselected package libsub-exporter-progressive-perl. Preparing to unpack .../081-libsub-exporter-progressive-perl_0.001013-1_all.deb ... Unpacking libsub-exporter-progressive-perl (0.001013-1) ... Selecting previously unselected package libvariable-magic-perl. Preparing to unpack .../082-libvariable-magic-perl_0.62-1build4_riscv64.deb ... Unpacking libvariable-magic-perl (0.62-1build4) ... Selecting previously unselected package libb-hooks-endofscope-perl. Preparing to unpack .../083-libb-hooks-endofscope-perl_0.25-1_all.deb ... Unpacking libb-hooks-endofscope-perl (0.25-1) ... Selecting previously unselected package libcapture-tiny-perl. Preparing to unpack .../084-libcapture-tiny-perl_0.48-1_all.deb ... Unpacking libcapture-tiny-perl (0.48-1) ... Selecting previously unselected package libclang-11-dev. Preparing to unpack .../085-libclang-11-dev_1%3a11.1.0-4_riscv64.deb ... Unpacking libclang-11-dev (1:11.1.0-4) ... Selecting previously unselected package libclang-cpp11-dev. Preparing to unpack .../086-libclang-cpp11-dev_1%3a11.1.0-4_riscv64.deb ... Unpacking libclang-cpp11-dev (1:11.1.0-4) ... Selecting previously unselected package libclass-data-inheritable-perl. Preparing to unpack .../087-libclass-data-inheritable-perl_0.08-3_all.deb ... Unpacking libclass-data-inheritable-perl (0.08-3) ... Selecting previously unselected package libclass-method-modifiers-perl. Preparing to unpack .../088-libclass-method-modifiers-perl_2.13-1_all.deb ... Unpacking libclass-method-modifiers-perl (2.13-1) ... Selecting previously unselected package libclass-xsaccessor-perl. Preparing to unpack .../089-libclass-xsaccessor-perl_1.19-3build8_riscv64.deb ... Unpacking libclass-xsaccessor-perl (1.19-3build8) ... Selecting previously unselected package libclone-perl. Preparing to unpack .../090-libclone-perl_0.45-1build2_riscv64.deb ... Unpacking libclone-perl (0.45-1build2) ... Selecting previously unselected package libconfig-tiny-perl. Preparing to unpack .../091-libconfig-tiny-perl_2.27-1_all.deb ... Unpacking libconfig-tiny-perl (2.27-1) ... Selecting previously unselected package libparams-util-perl. Preparing to unpack .../092-libparams-util-perl_1.102-1build2_riscv64.deb ... Unpacking libparams-util-perl (1.102-1build2) ... Selecting previously unselected package libsub-install-perl. Preparing to unpack .../093-libsub-install-perl_0.928-1.1_all.deb ... Unpacking libsub-install-perl (0.928-1.1) ... Selecting previously unselected package libdata-optlist-perl. Preparing to unpack .../094-libdata-optlist-perl_0.112-1_all.deb ... Unpacking libdata-optlist-perl (0.112-1) ... Selecting previously unselected package libsub-exporter-perl. Preparing to unpack .../095-libsub-exporter-perl_0.988-1_all.deb ... Unpacking libsub-exporter-perl (0.988-1) ... Selecting previously unselected package libconst-fast-perl. Preparing to unpack .../096-libconst-fast-perl_0.014-1.1_all.deb ... Unpacking libconst-fast-perl (0.014-1.1) ... Selecting previously unselected package libcpanel-json-xs-perl:riscv64. Preparing to unpack .../097-libcpanel-json-xs-perl_4.27-1_riscv64.deb ... Unpacking libcpanel-json-xs-perl:riscv64 (4.27-1) ... Selecting previously unselected package libdevel-stacktrace-perl. Preparing to unpack .../098-libdevel-stacktrace-perl_2.0400-1_all.deb ... Unpacking libdevel-stacktrace-perl (2.0400-1) ... Selecting previously unselected package libexception-class-perl. Preparing to unpack .../099-libexception-class-perl_1.45-1_all.deb ... Unpacking libexception-class-perl (1.45-1) ... Selecting previously unselected package libiterator-perl. Preparing to unpack .../100-libiterator-perl_0.03+ds1-1.1_all.deb ... Unpacking libiterator-perl (0.03+ds1-1.1) ... Selecting previously unselected package libiterator-util-perl. Preparing to unpack .../101-libiterator-util-perl_0.02+ds1-1.1_all.deb ... Unpacking libiterator-util-perl (0.02+ds1-1.1) ... Selecting previously unselected package libexporter-tiny-perl. Preparing to unpack .../102-libexporter-tiny-perl_1.002002-1_all.deb ... Unpacking libexporter-tiny-perl (1.002002-1) ... Selecting previously unselected package liblist-moreutils-xs-perl. Preparing to unpack .../103-liblist-moreutils-xs-perl_0.430-2build1_riscv64.deb ... Unpacking liblist-moreutils-xs-perl (0.430-2build1) ... Selecting previously unselected package liblist-moreutils-perl. Preparing to unpack .../104-liblist-moreutils-perl_0.430-2_all.deb ... Unpacking liblist-moreutils-perl (0.430-2) ... Selecting previously unselected package libdata-dpath-perl. Preparing to unpack .../105-libdata-dpath-perl_0.58-1_all.deb ... Unpacking libdata-dpath-perl (0.58-1) ... Selecting previously unselected package libdata-messagepack-perl. Preparing to unpack .../106-libdata-messagepack-perl_1.01-2_riscv64.deb ... Unpacking libdata-messagepack-perl (1.01-2) ... Selecting previously unselected package libnet-domain-tld-perl. Preparing to unpack .../107-libnet-domain-tld-perl_1.75-1.1_all.deb ... Unpacking libnet-domain-tld-perl (1.75-1.1) ... Selecting previously unselected package libdata-validate-domain-perl. Preparing to unpack .../108-libdata-validate-domain-perl_0.10-1.1_all.deb ... Unpacking libdata-validate-domain-perl (0.10-1.1) ... Selecting previously unselected package libemail-address-xs-perl. Preparing to unpack .../109-libemail-address-xs-perl_1.04-1build5_riscv64.deb ... Unpacking libemail-address-xs-perl (1.04-1build5) ... Selecting previously unselected package libipc-system-simple-perl. Preparing to unpack .../110-libipc-system-simple-perl_1.30-1_all.deb ... Unpacking libipc-system-simple-perl (1.30-1) ... Selecting previously unselected package libfile-basedir-perl. Preparing to unpack .../111-libfile-basedir-perl_0.09-1_all.deb ... Unpacking libfile-basedir-perl (0.09-1) ... Selecting previously unselected package libnumber-compare-perl. Preparing to unpack .../112-libnumber-compare-perl_0.03-2_all.deb ... Unpacking libnumber-compare-perl (0.03-2) ... Selecting previously unselected package libtext-glob-perl. Preparing to unpack .../113-libtext-glob-perl_0.11-2_all.deb ... Unpacking libtext-glob-perl (0.11-2) ... Selecting previously unselected package libfile-find-rule-perl. Preparing to unpack .../114-libfile-find-rule-perl_0.34-1_all.deb ... Unpacking libfile-find-rule-perl (0.34-1) ... Selecting previously unselected package libio-string-perl. Preparing to unpack .../115-libio-string-perl_1.08-3.1_all.deb ... Unpacking libio-string-perl (1.08-3.1) ... Selecting previously unselected package libfont-ttf-perl. Preparing to unpack .../116-libfont-ttf-perl_1.06-1.1_all.deb ... Unpacking libfont-ttf-perl (1.06-1.1) ... Selecting previously unselected package libhtml-html5-entities-perl. Preparing to unpack .../117-libhtml-html5-entities-perl_0.004-1.1_all.deb ... Unpacking libhtml-html5-entities-perl (0.004-1.1) ... Selecting previously unselected package libhwloc15:riscv64. Preparing to unpack .../118-libhwloc15_2.6.0-1_riscv64.deb ... Unpacking libhwloc15:riscv64 (2.6.0-1) ... Selecting previously unselected package libicu-dev:riscv64. Preparing to unpack .../119-libicu-dev_67.1-7ubuntu1_riscv64.deb ... Unpacking libicu-dev:riscv64 (67.1-7ubuntu1) ... Selecting previously unselected package libimport-into-perl. Preparing to unpack .../120-libimport-into-perl_1.002005-1_all.deb ... Unpacking libimport-into-perl (1.002005-1) ... Selecting previously unselected package libio-interactive-perl. Preparing to unpack .../121-libio-interactive-perl_1.023-1_all.deb ... Unpacking libio-interactive-perl (1.023-1) ... Selecting previously unselected package libio-prompt-tiny-perl. Preparing to unpack .../122-libio-prompt-tiny-perl_0.003-1_all.deb ... Unpacking libio-prompt-tiny-perl (0.003-1) ... Selecting previously unselected package libjson-maybexs-perl. Preparing to unpack .../123-libjson-maybexs-perl_1.004003-1_all.deb ... Unpacking libjson-maybexs-perl (1.004003-1) ... Selecting previously unselected package liblist-compare-perl. Preparing to unpack .../124-liblist-compare-perl_0.55-1_all.deb ... Unpacking liblist-compare-perl (0.55-1) ... Selecting previously unselected package liblist-someutils-perl. Preparing to unpack .../125-liblist-someutils-perl_0.58-1_all.deb ... Unpacking liblist-someutils-perl (0.58-1) ... Selecting previously unselected package liblist-utilsby-perl. Preparing to unpack .../126-liblist-utilsby-perl_0.11-1_all.deb ... Unpacking liblist-utilsby-perl (0.11-1) ... Selecting previously unselected package libltdl7:riscv64. Preparing to unpack .../127-libltdl7_2.4.6-15build1_riscv64.deb ... Unpacking libltdl7:riscv64 (2.4.6-15build1) ... Selecting previously unselected package libltdl-dev:riscv64. Preparing to unpack .../128-libltdl-dev_2.4.6-15build1_riscv64.deb ... Unpacking libltdl-dev:riscv64 (2.4.6-15build1) ... Selecting previously unselected package liblzo2-2:riscv64. Preparing to unpack .../129-liblzo2-2_2.10-2build2_riscv64.deb ... Unpacking liblzo2-2:riscv64 (2.10-2build2) ... Selecting previously unselected package libmarkdown2:riscv64. Preparing to unpack .../130-libmarkdown2_2.2.6-1ubuntu2_riscv64.deb ... Unpacking libmarkdown2:riscv64 (2.2.6-1ubuntu2) ... Selecting previously unselected package librole-tiny-perl. Preparing to unpack .../131-librole-tiny-perl_2.002004-1_all.deb ... Unpacking librole-tiny-perl (2.002004-1) ... Selecting previously unselected package libsub-quote-perl. Preparing to unpack .../132-libsub-quote-perl_2.006006-1_all.deb ... Unpacking libsub-quote-perl (2.006006-1) ... Selecting previously unselected package libmoo-perl. Preparing to unpack .../133-libmoo-perl_2.005004-2_all.deb ... Unpacking libmoo-perl (2.005004-2) ... Selecting previously unselected package libstrictures-perl. Preparing to unpack .../134-libstrictures-perl_2.000006-1_all.deb ... Unpacking libstrictures-perl (2.000006-1) ... Selecting previously unselected package libmoox-aliases-perl. Preparing to unpack .../135-libmoox-aliases-perl_0.001006-1.1_all.deb ... Unpacking libmoox-aliases-perl (0.001006-1.1) ... Selecting previously unselected package libmouse-perl. Preparing to unpack .../136-libmouse-perl_2.5.10-1build3_riscv64.deb ... Unpacking libmouse-perl (2.5.10-1build3) ... Selecting previously unselected package libpackage-stash-perl. Preparing to unpack .../137-libpackage-stash-perl_0.39-1_all.deb ... Unpacking libpackage-stash-perl (0.39-1) ... Selecting previously unselected package libsub-identify-perl. Preparing to unpack .../138-libsub-identify-perl_0.14-1build4_riscv64.deb ... Unpacking libsub-identify-perl (0.14-1build4) ... Selecting previously unselected package libsub-name-perl. Preparing to unpack .../139-libsub-name-perl_0.26-1build2_riscv64.deb ... Unpacking libsub-name-perl (0.26-1build2) ... Selecting previously unselected package libnamespace-clean-perl. Preparing to unpack .../140-libnamespace-clean-perl_0.27-1_all.deb ... Unpacking libnamespace-clean-perl (0.27-1) ... Selecting previously unselected package libncurses-dev:riscv64. Preparing to unpack .../141-libncurses-dev_6.3-1_riscv64.deb ... Unpacking libncurses-dev:riscv64 (6.3-1) ... Selecting previously unselected package libpath-tiny-perl. Preparing to unpack .../142-libpath-tiny-perl_0.120-1_all.deb ... Unpacking libpath-tiny-perl (0.120-1) ... Selecting previously unselected package libperlio-gzip-perl. Preparing to unpack .../143-libperlio-gzip-perl_0.19-1build7_riscv64.deb ... Unpacking libperlio-gzip-perl (0.19-1build7) ... Selecting previously unselected package libperlio-utf8-strict-perl. Preparing to unpack .../144-libperlio-utf8-strict-perl_0.008-1build2_riscv64.deb ... Unpacking libperlio-utf8-strict-perl (0.008-1build2) ... Selecting previously unselected package libproc-processtable-perl:riscv64. Preparing to unpack .../145-libproc-processtable-perl_0.634-1_riscv64.deb ... Unpacking libproc-processtable-perl:riscv64 (0.634-1) ... Selecting previously unselected package libsereal-decoder-perl. Preparing to unpack .../146-libsereal-decoder-perl_4.018+ds-1build2_riscv64.deb ... Unpacking libsereal-decoder-perl (4.018+ds-1build2) ... Selecting previously unselected package libsereal-encoder-perl. Preparing to unpack .../147-libsereal-encoder-perl_4.018+ds-1build2_riscv64.deb ... Unpacking libsereal-encoder-perl (4.018+ds-1build2) ... Selecting previously unselected package libsort-versions-perl. Preparing to unpack .../148-libsort-versions-perl_1.62-1_all.deb ... Unpacking libsort-versions-perl (1.62-1) ... Selecting previously unselected package libterm-readkey-perl. Preparing to unpack .../149-libterm-readkey-perl_2.38-1build3_riscv64.deb ... Unpacking libterm-readkey-perl (2.38-1build3) ... Selecting previously unselected package libtext-levenshteinxs-perl. Preparing to unpack .../150-libtext-levenshteinxs-perl_0.03-4build9_riscv64.deb ... Unpacking libtext-levenshteinxs-perl (0.03-4build9) ... Selecting previously unselected package libtext-markdown-discount-perl:riscv64. Preparing to unpack .../151-libtext-markdown-discount-perl_0.13-1_riscv64.deb ... Unpacking libtext-markdown-discount-perl:riscv64 (0.13-1) ... Selecting previously unselected package libtext-xslate-perl:riscv64. Preparing to unpack .../152-libtext-xslate-perl_3.5.9-1_riscv64.deb ... Unpacking libtext-xslate-perl:riscv64 (3.5.9-1) ... Selecting previously unselected package libtime-duration-perl. Preparing to unpack .../153-libtime-duration-perl_1.21-1_all.deb ... Unpacking libtime-duration-perl (1.21-1) ... Selecting previously unselected package libtime-moment-perl. Preparing to unpack .../154-libtime-moment-perl_0.44-1build5_riscv64.deb ... Unpacking libtime-moment-perl (0.44-1build5) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../155-libtimedate-perl_2.3300-2_all.deb ... Unpacking libtimedate-perl (2.3300-2) ... Selecting previously unselected package libtinfo-dev:riscv64. Preparing to unpack .../156-libtinfo-dev_6.3-1_riscv64.deb ... Unpacking libtinfo-dev:riscv64 (6.3-1) ... Selecting previously unselected package libtype-tiny-perl. Preparing to unpack .../157-libtype-tiny-perl_1.012004-1_all.deb ... Unpacking libtype-tiny-perl (1.012004-1) ... Selecting previously unselected package libunicode-utf8-perl. Preparing to unpack .../158-libunicode-utf8-perl_0.62-1build3_riscv64.deb ... Unpacking libunicode-utf8-perl (0.62-1build3) ... Selecting previously unselected package liburi-perl. Preparing to unpack .../159-liburi-perl_5.10-1_all.deb ... Unpacking liburi-perl (5.10-1) ... Selecting previously unselected package libxml-namespacesupport-perl. Preparing to unpack .../160-libxml-namespacesupport-perl_1.12-1.1_all.deb ... Unpacking libxml-namespacesupport-perl (1.12-1.1) ... Selecting previously unselected package libxml-sax-base-perl. Preparing to unpack .../161-libxml-sax-base-perl_1.09-1.1_all.deb ... Unpacking libxml-sax-base-perl (1.09-1.1) ... Selecting previously unselected package libxml-sax-perl. Preparing to unpack .../162-libxml-sax-perl_1.02+dfsg-3_all.deb ... Unpacking libxml-sax-perl (1.02+dfsg-3) ... Selecting previously unselected package libxml-libxml-perl. Preparing to unpack .../163-libxml-libxml-perl_2.0134+dfsg-2build2_riscv64.deb ... Unpacking libxml-libxml-perl (2.0134+dfsg-2build2) ... Selecting previously unselected package libxml2-dev:riscv64. Preparing to unpack .../164-libxml2-dev_2.9.12+dfsg-5_riscv64.deb ... Unpacking libxml2-dev:riscv64 (2.9.12+dfsg-5) ... Selecting previously unselected package libyaml-libyaml-perl. Preparing to unpack .../165-libyaml-libyaml-perl_0.83+ds-1_riscv64.deb ... Unpacking libyaml-libyaml-perl (0.83+ds-1) ... Selecting previously unselected package libdevel-size-perl. Preparing to unpack .../166-libdevel-size-perl_0.83-1build3_riscv64.deb ... Unpacking libdevel-size-perl (0.83-1build3) ... Selecting previously unselected package libipc-run3-perl. Preparing to unpack .../167-libipc-run3-perl_0.048-2_all.deb ... Unpacking libipc-run3-perl (0.048-2) ... Selecting previously unselected package lzip. Preparing to unpack .../168-lzip_1.22-4_riscv64.deb ... Unpacking lzip (1.22-4) ... Selecting previously unselected package lzop. Preparing to unpack .../169-lzop_1.04-2build1_riscv64.deb ... Unpacking lzop (1.04-2build1) ... Selecting previously unselected package patchutils. Preparing to unpack .../170-patchutils_0.4.2-1build1_riscv64.deb ... Unpacking patchutils (0.4.2-1build1) ... Selecting previously unselected package t1utils. Preparing to unpack .../171-t1utils_1.41-4build1_riscv64.deb ... Unpacking t1utils (1.41-4build1) ... Selecting previously unselected package unzip. Preparing to unpack .../172-unzip_6.0-26ubuntu2_riscv64.deb ... Unpacking unzip (6.0-26ubuntu2) ... Selecting previously unselected package lintian. Preparing to unpack .../173-lintian_2.111.0ubuntu2_all.deb ... Unpacking lintian (2.111.0ubuntu2) ... Selecting previously unselected package llvm-11-runtime. Preparing to unpack .../174-llvm-11-runtime_1%3a11.1.0-4_riscv64.deb ... Unpacking llvm-11-runtime (1:11.1.0-4) ... Selecting previously unselected package libpfm4:riscv64. Preparing to unpack .../175-libpfm4_4.11.1+git32-gd0b85fb-1_riscv64.deb ... Unpacking libpfm4:riscv64 (4.11.1+git32-gd0b85fb-1) ... Selecting previously unselected package llvm-11. Preparing to unpack .../176-llvm-11_1%3a11.1.0-4_riscv64.deb ... Unpacking llvm-11 (1:11.1.0-4) ... Selecting previously unselected package libffi-dev:riscv64. Preparing to unpack .../177-libffi-dev_3.4.2-1ubuntu5_riscv64.deb ... Unpacking libffi-dev:riscv64 (3.4.2-1ubuntu5) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../178-python3-pygments_2.7.1+dfsg-2.1_all.deb ... Unpacking python3-pygments (2.7.1+dfsg-2.1) ... Selecting previously unselected package llvm-11-tools. Preparing to unpack .../179-llvm-11-tools_1%3a11.1.0-4_riscv64.deb ... Unpacking llvm-11-tools (1:11.1.0-4) ... Selecting previously unselected package libz3-4:riscv64. Preparing to unpack .../180-libz3-4_4.8.12-1_riscv64.deb ... Unpacking libz3-4:riscv64 (4.8.12-1) ... Selecting previously unselected package libz3-dev:riscv64. Preparing to unpack .../181-libz3-dev_4.8.12-1_riscv64.deb ... Unpacking libz3-dev:riscv64 (4.8.12-1) ... Selecting previously unselected package llvm-11-dev. Preparing to unpack .../182-llvm-11-dev_1%3a11.1.0-4_riscv64.deb ... Unpacking llvm-11-dev (1:11.1.0-4) ... Selecting previously unselected package pkg-config. Preparing to unpack .../183-pkg-config_0.29.2-1ubuntu2_riscv64.deb ... Unpacking pkg-config (0.29.2-1ubuntu2) ... Selecting previously unselected package libnuma-dev:riscv64. Preparing to unpack .../184-libnuma-dev_2.0.14-3ubuntu1_riscv64.deb ... Unpacking libnuma-dev:riscv64 (2.0.14-3ubuntu1) ... Selecting previously unselected package libhwloc-dev:riscv64. Preparing to unpack .../185-libhwloc-dev_2.6.0-1_riscv64.deb ... Unpacking libhwloc-dev:riscv64 (2.6.0-1) ... Selecting previously unselected package opencl-c-headers. Preparing to unpack .../186-opencl-c-headers_3.0~2021.06.30-2_all.deb ... Unpacking opencl-c-headers (3.0~2021.06.30-2) ... Selecting previously unselected package ocl-icd-dev:riscv64. Preparing to unpack .../187-ocl-icd-dev_2.2.14-3_riscv64.deb ... Unpacking ocl-icd-dev:riscv64 (2.2.14-3) ... Selecting previously unselected package opencl-clhpp-headers. Preparing to unpack .../188-opencl-clhpp-headers_3.0~2.0.15-1ubuntu1_all.deb ... Unpacking opencl-clhpp-headers (3.0~2.0.15-1ubuntu1) ... Selecting previously unselected package ocl-icd-opencl-dev:riscv64. Preparing to unpack .../189-ocl-icd-opencl-dev_2.2.14-3_riscv64.deb ... Unpacking ocl-icd-opencl-dev:riscv64 (2.2.14-3) ... Selecting previously unselected package pkg-kde-tools. Preparing to unpack .../190-pkg-kde-tools_0.15.32ubuntu4_riscv64.deb ... Unpacking pkg-kde-tools (0.15.32ubuntu4) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../191-sbuild-build-depends-main-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libapt-pkg-perl (0.1.40build1) ... Setting up media-types (4.0.0) ... Setting up libpipeline1:riscv64 (1.5.4-1) ... Setting up libncurses-dev:riscv64 (6.3-1) ... Setting up libpsl5:riscv64 (0.21.0-1.2build1) ... Setting up libunicode-utf8-perl (0.62-1build3) ... Setting up libmouse-perl (2.5.10-1build3) ... Setting up bsdextrautils (2.37.2-4ubuntu1) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libdata-messagepack-perl (1.01-2) ... Setting up libicu67:riscv64 (67.1-7ubuntu1) ... Setting up libdynaloader-functions-perl (0.003-1.1) ... Setting up libtext-glob-perl (0.11-2) ... Setting up libclass-method-modifiers-perl (2.13-1) ... Setting up liblist-compare-perl (0.55-1) ... Setting up libmagic-mgc (1:5.41-2) ... Setting up libclone-perl (0.45-1build2) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libyaml-0-2:riscv64 (0.2.2-1build1) ... Setting up libsub-identify-perl (0.14-1build4) ... Setting up libglib2.0-0:riscv64 (2.70.1-1) ... No schema files found: doing nothing. Setting up libcpanel-json-xs-perl:riscv64 (4.27-1) ... Setting up libdevel-size-perl (0.83-1build3) ... Setting up unzip (6.0-26ubuntu2) ... Setting up libdebhelper-perl (13.5.2ubuntu1) ... Setting up libbrotli1:riscv64 (1.0.9-2build4) ... Setting up libyaml-libyaml-perl (0.83+ds-1) ... Setting up libio-interactive-perl (1.023-1) ... Setting up libtry-tiny-perl (0.31-1) ... Setting up libnghttp2-14:riscv64 (1.43.0-1build2) ... Setting up libmagic1:riscv64 (1:5.41-2) ... Setting up libxml-namespacesupport-perl (1.12-1.1) ... Setting up gettext-base (0.21-4ubuntu3) ... Setting up liblzo2-2:riscv64 (2.10-2build2) ... Setting up libtime-moment-perl (0.44-1build5) ... Setting up file (1:5.41-2) ... Setting up libconfig-tiny-perl (2.27-1) ... Setting up libsereal-encoder-perl (4.018+ds-1build2) ... Setting up libffi-dev:riscv64 (3.4.2-1ubuntu5) ... Setting up liblist-utilsby-perl (0.11-1) ... Setting up libsub-install-perl (0.928-1.1) ... Setting up libnumber-compare-perl (0.03-2) ... Setting up libsasl2-modules-db:riscv64 (2.1.27+dfsg2-2build1) ... Setting up patchutils (0.4.2-1build1) ... Setting up libjson-maybexs-perl (1.004003-1) ... Setting up libxml-sax-base-perl (1.09-1.1) ... Setting up libio-string-perl (1.08-3.1) ... Setting up autotools-dev (20180224.1+nmu1) ... Setting up libz3-4:riscv64 (4.8.12-1) ... Setting up libclass-data-inheritable-perl (0.08-3) ... Setting up libuv1:riscv64 (1.40.0-2ubuntu1) ... Setting up libpfm4:riscv64 (4.11.1+git32-gd0b85fb-1) ... Setting up emacsen-common (3.0.4) ... Setting up libfile-find-rule-perl (0.34-1) ... Setting up librtmp1:riscv64 (2.4+20151223.gitfa8646d.1-2build3) ... Setting up libipc-system-simple-perl (1.30-1) ... Setting up libnet-domain-tld-perl (1.75-1.1) ... Setting up dh-elpa-helper (2.0.8ubuntu1) ... Setting up libperlio-utf8-strict-perl (0.008-1build2) ... Setting up libio-prompt-tiny-perl (0.003-1) ... Setting up lzip (1.22-4) ... Setting up libsigsegv2:riscv64 (2.13-1ubuntu2) ... Setting up t1utils (1.41-4build1) ... Setting up diffstat (1.64-1build1) ... Setting up libhwloc15:riscv64 (2.6.0-1) ... Setting up libvariable-magic-perl (0.62-1build4) ... Setting up autopoint (0.21-4ubuntu3) ... Setting up libb-hooks-op-check-perl (0.22-1build4) ... Setting up icu-devtools (67.1-7ubuntu1) ... Setting up pkg-config (0.29.2-1ubuntu2) ... Setting up liblist-moreutils-xs-perl (0.430-2build1) ... Setting up ucf (3.0043) ... Setting up libgc1:riscv64 (1:8.0.4-3build1) ... Setting up libltdl7:riscv64 (2.4.6-15build1) ... Setting up opencl-c-headers (3.0~2021.06.30-2) ... Setting up libparams-util-perl (1.102-1build2) ... Setting up libsasl2-2:riscv64 (2.1.27+dfsg2-2build1) ... Setting up libssh-4:riscv64 (0.9.6-1) ... Setting up libtime-duration-perl (1.21-1) ... Setting up libtext-xslate-perl:riscv64 (3.5.9-1) ... Setting up libsub-exporter-progressive-perl (0.001013-1) ... Setting up libcapture-tiny-perl (0.48-1) ... Setting up libjsoncpp24:riscv64 (1.9.4-5) ... Setting up libtimedate-perl (2.3300-2) ... Setting up libsub-name-perl (0.26-1build2) ... Setting up libnuma1:riscv64 (2.0.14-3ubuntu1) ... Setting up libdata-validate-domain-perl (0.10-1.1) ... Setting up libmd0:riscv64 (1.0.4-1) ... Setting up libproc-processtable-perl:riscv64 (0.634-1) ... Setting up ocl-icd-libopencl1:riscv64 (2.2.14-3) ... Setting up librhash0:riscv64 (1.4.2-1) ... Setting up libpath-tiny-perl (0.120-1) ... Setting up libuchardet0:riscv64 (0.0.7-1build1) ... Setting up lzop (1.04-2build1) ... Setting up libmpdec3:riscv64 (2.5.1-2build1) ... Setting up librole-tiny-perl (2.002004-1) ... Setting up libipc-run3-perl (0.048-2) ... Setting up libsub-override-perl (0.09-2) ... Setting up libaliased-perl (0.34-1.1) ... Setting up libstrictures-perl (2.000006-1) ... Setting up libsub-quote-perl (2.006006-1) ... Setting up libdevel-stacktrace-perl (2.0400-1) ... Setting up libclass-xsaccessor-perl (1.19-3build8) ... Setting up cmake-data (3.21.4-1ubuntu1) ... Setting up libsort-versions-perl (1.62-1) ... Setting up libexporter-tiny-perl (1.002002-1) ... Setting up libterm-readkey-perl (2.38-1build3) ... Setting up libfont-ttf-perl (1.06-1.1) ... Setting up libbsd0:riscv64 (0.11.3-1ubuntu3) ... Setting up libtext-levenshteinxs-perl (0.03-4build9) ... Setting up libperlio-gzip-perl (0.19-1build7) ... Setting up libelf1:riscv64 (0.186-1) ... Setting up libicu-dev:riscv64 (67.1-7ubuntu1) ... Setting up libxml2:riscv64 (2.9.12+dfsg-5) ... Setting up libhtml-html5-entities-perl (0.004-1.1) ... Setting up libsereal-decoder-perl (4.018+ds-1build2) ... Setting up libmarkdown2:riscv64 (2.2.6-1ubuntu2) ... Setting up liburi-perl (5.10-1) ... Setting up libpython3.9-stdlib:riscv64 (3.9.9-1build1) ... Setting up libpython3-stdlib:riscv64 (3.9.7-4) ... Setting up libemail-address-xs-perl (1.04-1build5) ... Setting up libfile-stripnondeterminism-perl (1.12.1-1) ... Setting up libtinfo-dev:riscv64 (6.3-1) ... Setting up libz3-dev:riscv64 (4.8.12-1) ... Setting up libdw1:riscv64 (0.186-1) ... Setting up libfile-basedir-perl (0.09-1) ... Setting up gettext (0.21-4ubuntu3) ... Setting up libtool (2.4.6-15build1) ... Setting up libarchive13:riscv64 (3.4.3-2build1) ... Setting up liblist-moreutils-perl (0.430-2) ... Setting up libedit2:riscv64 (3.1-20210910-1) ... Setting up clinfo (3.0.21.02.21-1) ... Setting up libtype-tiny-perl (1.012004-1) ... Setting up libtext-markdown-discount-perl:riscv64 (0.13-1) ... Setting up m4 (1.4.18-5ubuntu1) ... Setting up libobjc4:riscv64 (11.2.0-12ubuntu1) ... Setting up libexception-class-perl (1.45-1) ... Setting up libdevel-callchecker-perl (0.008-1ubuntu3) ... Setting up libxml-sax-perl (1.02+dfsg-3) ... update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up libldap-2.5-0:riscv64 (2.5.6+dfsg-1~exp1ubuntu1) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up libnuma-dev:riscv64 (2.0.14-3ubuntu1) ... Setting up libxml2-dev:riscv64 (2.9.12+dfsg-5) ... Setting up libllvm11:riscv64 (1:11.1.0-4) ... Setting up opencl-clhpp-headers (3.0~2.0.15-1ubuntu1) ... Setting up libclang1-11 (1:11.1.0-4) ... Setting up libdata-optlist-perl (0.112-1) ... Setting up ocl-icd-dev:riscv64 (2.2.14-3) ... Setting up ocl-icd-opencl-dev:riscv64 (2.2.14-3) ... Setting up autoconf (2.71-2) ... Setting up libxml-libxml-perl (2.0134+dfsg-2build2) ... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX::Parser with priority 50... update-perl-sax-parsers: Registering Perl SAX parser XML::LibXML::SAX with priority 50... update-perl-sax-parsers: Updating overall Perl SAX parser modules info file... Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version Setting up llvm-11-linker-tools (1:11.1.0-4) ... Setting up dh-strip-nondeterminism (1.12.1-1) ... Setting up dwz (0.14-1build1) ... Setting up groff-base (1.22.4-7) ... Setting up libclang-common-11-dev (1:11.1.0-4) ... Setting up debugedit (1:5.0-3) ... Setting up libcurl4:riscv64 (7.74.0-1.3ubuntu2) ... Setting up python3.9 (3.9.9-1build1) ... Setting up libsub-exporter-perl (0.988-1) ... Setting up automake (1:1.16.5-1.1) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libiterator-perl (0.03+ds1-1.1) ... Setting up llvm-11-runtime (1:11.1.0-4) ... Setting up libiterator-util-perl (0.02+ds1-1.1) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libparams-classify-perl (0.015-1build4) ... Setting up libobjc-11-dev:riscv64 (11.2.0-12ubuntu1) ... Setting up llvm-11 (1:11.1.0-4) ... Setting up python3 (3.9.7-4) ... Setting up man-db (2.9.4-2build1) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up libclang-cpp11 (1:11.1.0-4) ... Setting up dh-autoreconf (20) ... Setting up libltdl-dev:riscv64 (2.4.6-15build1) ... Setting up libmodule-runtime-perl (0.016-1) ... Setting up libclang-11-dev (1:11.1.0-4) ... Setting up libconst-fast-perl (0.014-1.1) ... Setting up cmake (3.21.4-1ubuntu1) ... Setting up libhwloc-dev:riscv64 (2.6.0-1) ... Setting up libdata-dpath-perl (0.58-1) ... Setting up clang-11 (1:11.1.0-4) ... Setting up libclang-cpp11-dev (1:11.1.0-4) ... Setting up python3-pkg-resources (59.2.0-1) ... Setting up libmodule-implementation-perl (0.09-1.1) ... Setting up libpackage-stash-perl (0.39-1) ... Setting up libimport-into-perl (1.002005-1) ... Setting up libmoo-perl (2.005004-2) ... Setting up liblist-someutils-perl (0.58-1) ... Setting up python3-yaml (5.4.1-1) ... Setting up debhelper (13.5.2ubuntu1) ... Setting up python3-pygments (2.7.1+dfsg-2.1) ... Setting up libmoox-aliases-perl (0.001006-1.1) ... Setting up libb-hooks-endofscope-perl (0.25-1) ... Setting up llvm-11-tools (1:11.1.0-4) ... Setting up libnamespace-clean-perl (0.27-1) ... Setting up llvm-11-dev (1:11.1.0-4) ... Setting up lintian (2.111.0ubuntu2) ... Setting up pkg-kde-tools (0.15.32ubuntu4) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.34-0ubuntu3) ... +------------------------------------------------------------------------------+ | Check architectures | +------------------------------------------------------------------------------+ Arch check ok (riscv64 included in any all) +------------------------------------------------------------------------------+ | Build environment | +------------------------------------------------------------------------------+ Kernel: Linux 5.11.0-1022-generic #23~20.04.1-Ubuntu SMP Thu Oct 21 10:16:27 UTC 2021 riscv64 (riscv64) Toolchain package versions: binutils_2.37-10ubuntu1 dpkg-dev_1.20.9ubuntu2 g++-11_11.2.0-12ubuntu1 gcc-11_11.2.0-12ubuntu1 libc6-dev_2.34-0ubuntu3 libstdc++-11-dev_11.2.0-12ubuntu1 libstdc++6_11.2.0-12ubuntu1 linux-libc-dev_5.15.0-13.13 Package versions: adduser_3.118ubuntu5 advancecomp_2.1-2.1ubuntu1 apt_2.3.13 autoconf_2.71-2 automake_1:1.16.5-1.1 autopoint_0.21-4ubuntu3 autotools-dev_20180224.1+nmu1 base-files_12ubuntu2 base-passwd_3.5.52 bash_5.1-5ubuntu1 binutils_2.37-10ubuntu1 binutils-common_2.37-10ubuntu1 binutils-riscv64-linux-gnu_2.37-10ubuntu1 bsdextrautils_2.37.2-4ubuntu1 bsdutils_1:2.37.2-4ubuntu1 build-essential_12.9ubuntu2 bzip2_1.0.8-4ubuntu4 ca-certificates_20211016 clang-11_1:11.1.0-4 clinfo_3.0.21.02.21-1 cmake_3.21.4-1ubuntu1 cmake-data_3.21.4-1ubuntu1 coreutils_8.32-4ubuntu3 cpp_4:11.2.0-1ubuntu1 cpp-11_11.2.0-12ubuntu1 dash_0.5.11+git20210903+057cd650a4ed-3 debconf_1.5.79 debhelper_13.5.2ubuntu1 debianutils_5.5-1ubuntu1 debugedit_1:5.0-3 dh-autoreconf_20 dh-elpa-helper_2.0.8ubuntu1 dh-strip-nondeterminism_1.12.1-1 diffstat_1.64-1build1 diffutils_1:3.8-0ubuntu1 dpkg_1.20.9ubuntu2 dpkg-dev_1.20.9ubuntu2 dwz_0.14-1build1 e2fsprogs_1.46.4-1ubuntu1 emacsen-common_3.0.4 fakeroot_1.25.3-1.1ubuntu3 file_1:5.41-2 findutils_4.8.0-1ubuntu2 g++_4:11.2.0-1ubuntu1 g++-11_11.2.0-12ubuntu1 gcc_4:11.2.0-1ubuntu1 gcc-11_11.2.0-12ubuntu1 gcc-11-base_11.2.0-12ubuntu1 gettext_0.21-4ubuntu3 gettext-base_0.21-4ubuntu3 gpg_2.2.27-2ubuntu1 gpg-agent_2.2.27-2ubuntu1 gpgconf_2.2.27-2ubuntu1 gpgv_2.2.27-2ubuntu1 grep_3.7-1 groff-base_1.22.4-7 gzip_1.10-4ubuntu2 hostname_3.23ubuntu1 icu-devtools_67.1-7ubuntu1 init_1.60build1 init-system-helpers_1.60build1 intltool-debian_0.35.0+20060710.5 libacl1_2.2.53-10ubuntu2 libaliased-perl_0.34-1.1 libapparmor1_3.0.3-0ubuntu3 libapt-pkg-perl_0.1.40build1 libapt-pkg6.0_2.3.13 libarchive-zip-perl_1.68-1 libarchive13_3.4.3-2build1 libargon2-1_0~20171227-0.2build22 libasan6_11.2.0-12ubuntu1 libassuan0_2.5.5-1 libatomic1_11.2.0-12ubuntu1 libattr1_1:2.5.1-1 libaudit-common_1:3.0-2ubuntu3 libaudit1_1:3.0-2ubuntu3 libb-hooks-endofscope-perl_0.25-1 libb-hooks-op-check-perl_0.22-1build4 libbinutils_2.37-10ubuntu1 libblkid1_2.37.2-4ubuntu1 libbrotli1_1.0.9-2build4 libbsd0_0.11.3-1ubuntu3 libbz2-1.0_1.0.8-4ubuntu4 libc-bin_2.34-0ubuntu3 libc-dev-bin_2.34-0ubuntu3 libc6_2.34-0ubuntu3 libc6-dev_2.34-0ubuntu3 libcap-ng0_0.7.9-2.2build2 libcap2_1:2.44-1build2 libcapture-tiny-perl_0.48-1 libcc1-0_11.2.0-12ubuntu1 libclang-11-dev_1:11.1.0-4 libclang-common-11-dev_1:11.1.0-4 libclang-cpp11_1:11.1.0-4 libclang-cpp11-dev_1:11.1.0-4 libclang1-11_1:11.1.0-4 libclass-data-inheritable-perl_0.08-3 libclass-method-modifiers-perl_2.13-1 libclass-xsaccessor-perl_1.19-3build8 libclone-perl_0.45-1build2 libcom-err2_1.46.4-1ubuntu1 libconfig-tiny-perl_2.27-1 libconst-fast-perl_0.014-1.1 libcpanel-json-xs-perl_4.27-1 libcrypt-dev_1:4.4.26-1 libcrypt1_1:4.4.26-1 libcryptsetup12_2:2.4.2-1ubuntu1 libctf-nobfd0_2.37-10ubuntu1 libctf0_2.37-10ubuntu1 libcurl4_7.74.0-1.3ubuntu2 libdata-dpath-perl_0.58-1 libdata-messagepack-perl_1.01-2 libdata-optlist-perl_0.112-1 libdata-validate-domain-perl_0.10-1.1 libdb5.3_5.3.28+dfsg1-0.8ubuntu2 libdebconfclient0_0.256ubuntu4 libdebhelper-perl_13.5.2ubuntu1 libdevel-callchecker-perl_0.008-1ubuntu3 libdevel-size-perl_0.83-1build3 libdevel-stacktrace-perl_2.0400-1 libdevmapper1.02.1_2:1.02.175-2.1ubuntu3 libdpkg-perl_1.20.9ubuntu2 libdw1_0.186-1 libdynaloader-functions-perl_0.003-1.1 libedit2_3.1-20210910-1 libelf1_0.186-1 libemail-address-xs-perl_1.04-1build5 libexception-class-perl_1.45-1 libexpat1_2.4.1-3 libexporter-tiny-perl_1.002002-1 libext2fs2_1.46.4-1ubuntu1 libfakeroot_1.25.3-1.1ubuntu3 libffi-dev_3.4.2-1ubuntu5 libffi8_3.4.2-1ubuntu5 libfile-basedir-perl_0.09-1 libfile-find-rule-perl_0.34-1 libfile-stripnondeterminism-perl_1.12.1-1 libfont-ttf-perl_1.06-1.1 libgc1_1:8.0.4-3build1 libgcc-11-dev_11.2.0-12ubuntu1 libgcc-s1_11.2.0-12ubuntu1 libgcrypt20_1.9.4-3ubuntu2 libgdbm-compat4_1.22-1 libgdbm6_1.22-1 libglib2.0-0_2.70.1-1 libgmp10_2:6.2.1+dfsg-1ubuntu3 libgnutls30_3.7.2-2ubuntu1 libgomp1_11.2.0-12ubuntu1 libgpg-error0_1.42-3 libgssapi-krb5-2_1.19.2-0ubuntu1 libhogweed6_3.7.3-1build1 libhtml-html5-entities-perl_0.004-1.1 libhwloc-dev_2.6.0-1 libhwloc15_2.6.0-1 libicu-dev_67.1-7ubuntu1 libicu67_67.1-7ubuntu1 libidn2-0_2.3.2-2 libimport-into-perl_1.002005-1 libio-interactive-perl_1.023-1 libio-prompt-tiny-perl_0.003-1 libio-string-perl_1.08-3.1 libip4tc2_1.8.7-1ubuntu4 libipc-run3-perl_0.048-2 libipc-system-simple-perl_1.30-1 libisl23_0.24-2 libiterator-perl_0.03+ds1-1.1 libiterator-util-perl_0.02+ds1-1.1 libjson-c5_0.15-2build3 libjson-maybexs-perl_1.004003-1 libjsoncpp24_1.9.4-5 libk5crypto3_1.19.2-0ubuntu1 libkeyutils1_1.6.1-2ubuntu2 libkmod2_28-1ubuntu5 libkrb5-3_1.19.2-0ubuntu1 libkrb5support0_1.19.2-0ubuntu1 libldap-2.5-0_2.5.6+dfsg-1~exp1ubuntu1 liblist-compare-perl_0.55-1 liblist-moreutils-perl_0.430-2 liblist-moreutils-xs-perl_0.430-2build1 liblist-someutils-perl_0.58-1 liblist-utilsby-perl_0.11-1 libllvm11_1:11.1.0-4 liblockfile-bin_1.17-1build1 liblockfile1_1.17-1build1 libltdl-dev_2.4.6-15build1 libltdl7_2.4.6-15build1 liblz4-1_1.9.3-2build1 liblzma5_5.2.5-2build1 liblzo2-2_2.10-2build2 libmagic-mgc_1:5.41-2 libmagic1_1:5.41-2 libmarkdown2_2.2.6-1ubuntu2 libmd0_1.0.4-1 libmodule-implementation-perl_0.09-1.1 libmodule-runtime-perl_0.016-1 libmoo-perl_2.005004-2 libmoox-aliases-perl_0.001006-1.1 libmount1_2.37.2-4ubuntu1 libmouse-perl_2.5.10-1build3 libmpc3_1.2.1-1 libmpdec3_2.5.1-2build1 libmpfr6_4.1.0-3build2 libnamespace-clean-perl_0.27-1 libncurses-dev_6.3-1 libncurses6_6.3-1 libncursesw6_6.3-1 libnet-domain-tld-perl_1.75-1.1 libnettle8_3.7.3-1build1 libnghttp2-14_1.43.0-1build2 libnpth0_1.6-3build1 libnsl-dev_1.3.0-2build1 libnsl2_1.3.0-2build1 libnuma-dev_2.0.14-3ubuntu1 libnuma1_2.0.14-3ubuntu1 libnumber-compare-perl_0.03-2 libobjc-11-dev_11.2.0-12ubuntu1 libobjc4_11.2.0-12ubuntu1 libp11-kit0_0.24.0-5 libpackage-stash-perl_0.39-1 libpam-modules_1.4.0-10ubuntu1 libpam-modules-bin_1.4.0-10ubuntu1 libpam-runtime_1.4.0-10ubuntu1 libpam0g_1.4.0-10ubuntu1 libparams-classify-perl_0.015-1build4 libparams-util-perl_1.102-1build2 libpath-tiny-perl_0.120-1 libpcre2-8-0_10.39-3 libpcre3_2:8.39-13build4 libperl5.32_5.32.1-3ubuntu3 libperlio-gzip-perl_0.19-1build7 libperlio-utf8-strict-perl_0.008-1build2 libpfm4_4.11.1+git32-gd0b85fb-1 libpipeline1_1.5.4-1 libpng16-16_1.6.37-3build4 libproc-processtable-perl_0.634-1 libprocps8_2:3.3.17-5ubuntu3 libpsl5_0.21.0-1.2build1 libpython3-stdlib_3.9.7-4 libpython3.9-minimal_3.9.9-1build1 libpython3.9-stdlib_3.9.9-1build1 libreadline8_8.1-2build1 librhash0_1.4.2-1 librole-tiny-perl_2.002004-1 librtmp1_2.4+20151223.gitfa8646d.1-2build3 libsasl2-2_2.1.27+dfsg2-2build1 libsasl2-modules-db_2.1.27+dfsg2-2build1 libseccomp2_2.5.2-2ubuntu2 libselinux1_3.3-1 libsemanage-common_3.3-1 libsemanage2_3.3-1 libsepol1_3.1-1ubuntu2 libsepol2_3.3-1 libsereal-decoder-perl_4.018+ds-1build2 libsereal-encoder-perl_4.018+ds-1build2 libsigsegv2_2.13-1ubuntu2 libsmartcols1_2.37.2-4ubuntu1 libsort-versions-perl_1.62-1 libsqlite3-0_3.36.0-2 libss2_1.46.4-1ubuntu1 libssh-4_0.9.6-1 libssl1.1_1.1.1l-1ubuntu1 libssl3_3.0.0-1ubuntu1 libstdc++-11-dev_11.2.0-12ubuntu1 libstdc++6_11.2.0-12ubuntu1 libstrictures-perl_2.000006-1 libsub-exporter-perl_0.988-1 libsub-exporter-progressive-perl_0.001013-1 libsub-identify-perl_0.14-1build4 libsub-install-perl_0.928-1.1 libsub-name-perl_0.26-1build2 libsub-override-perl_0.09-2 libsub-quote-perl_2.006006-1 libsystemd0_249.5-2ubuntu1 libtasn1-6_4.18.0-4 libterm-readkey-perl_2.38-1build3 libtext-glob-perl_0.11-2 libtext-levenshteinxs-perl_0.03-4build9 libtext-markdown-discount-perl_0.13-1 libtext-xslate-perl_3.5.9-1 libtime-duration-perl_1.21-1 libtime-moment-perl_0.44-1build5 libtimedate-perl_2.3300-2 libtinfo-dev_6.3-1 libtinfo6_6.3-1 libtirpc-common_1.3.2-2 libtirpc-dev_1.3.2-2 libtirpc3_1.3.2-2 libtool_2.4.6-15build1 libtry-tiny-perl_0.31-1 libtype-tiny-perl_1.012004-1 libuchardet0_0.0.7-1build1 libudev1_249.5-2ubuntu1 libunicode-utf8-perl_0.62-1build3 libunistring2_0.9.10-6 liburi-perl_5.10-1 libuuid1_2.37.2-4ubuntu1 libuv1_1.40.0-2ubuntu1 libvariable-magic-perl_0.62-1build4 libxml-libxml-perl_2.0134+dfsg-2build2 libxml-namespacesupport-perl_1.12-1.1 libxml-sax-base-perl_1.09-1.1 libxml-sax-perl_1.02+dfsg-3 libxml2_2.9.12+dfsg-5 libxml2-dev_2.9.12+dfsg-5 libxxhash0_0.8.0-2build1 libyaml-0-2_0.2.2-1build1 libyaml-libyaml-perl_0.83+ds-1 libz3-4_4.8.12-1 libz3-dev_4.8.12-1 libzstd1_1.4.8+dfsg-3 lintian_2.111.0ubuntu2 linux-libc-dev_5.15.0-13.13 llvm-11_1:11.1.0-4 llvm-11-dev_1:11.1.0-4 llvm-11-linker-tools_1:11.1.0-4 llvm-11-runtime_1:11.1.0-4 llvm-11-tools_1:11.1.0-4 lockfile-progs_0.1.19 login_1:4.8.1-2ubuntu1 logsave_1.46.4-1ubuntu1 lsb-base_11.1.0ubuntu3 lto-disabled-list_17 lzip_1.22-4 lzop_1.04-2build1 m4_1.4.18-5ubuntu1 make_4.3-4ubuntu2 man-db_2.9.4-2build1 mawk_1.3.4.20200120-2build1 media-types_4.0.0 mount_2.37.2-4ubuntu1 ncurses-base_6.3-1 ncurses-bin_6.3-1 ocl-icd-dev_2.2.14-3 ocl-icd-libopencl1_2.2.14-3 ocl-icd-opencl-dev_2.2.14-3 opencl-c-headers_3.0~2021.06.30-2 opencl-clhpp-headers_3.0~2.0.15-1ubuntu1 openssl_3.0.0-1ubuntu1 optipng_0.7.7-2 passwd_1:4.8.1-2ubuntu1 patch_2.7.6-7build1 patchutils_0.4.2-1build1 perl_5.32.1-3ubuntu3 perl-base_5.32.1-3ubuntu3 perl-modules-5.32_5.32.1-3ubuntu3 pinentry-curses_1.1.1-1build1 pkg-config_0.29.2-1ubuntu2 pkg-kde-tools_0.15.32ubuntu4 pkgbinarymangler_149 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3 procps_2:3.3.17-5ubuntu3 python3_3.9.7-4 python3-minimal_3.9.7-4 python3-pkg-resources_59.2.0-1 python3-pygments_2.7.1+dfsg-2.1 python3-yaml_5.4.1-1 python3.9_3.9.9-1build1 python3.9-minimal_3.9.9-1build1 readline-common_8.1-2build1 rpcsvc-proto_1.4.2-0ubuntu5 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.8-1 sensible-utils_0.0.17 systemd_249.5-2ubuntu1 systemd-sysv_249.5-2ubuntu1 systemd-timesyncd_249.5-2ubuntu1 sysvinit-utils_2.96-7ubuntu2 t1utils_1.41-4build1 tar_1.34+dfsg-1build2 tzdata_2021e-1ubuntu1 ubuntu-keyring_2021.03.26 ucf_3.0043 unzip_6.0-26ubuntu2 usrmerge_25ubuntu2 util-linux_2.37.2-4ubuntu1 xz-utils_5.2.5-2build1 zlib1g_1:1.2.11.dfsg-2ubuntu7 +------------------------------------------------------------------------------+ | Build | +------------------------------------------------------------------------------+ Unpack source ------------- -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 3.0 (quilt) Source: pocl Binary: pocl-opencl-icd, libpocl2-common, libpocl2, libpocl-dev, pocl-doc Architecture: any all Version: 1.8-2 Maintainer: Debian OpenCL Maintainers Uploaders: Vincent Danjean , Andreas Beckmann , Homepage: http://portablecl.org Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/opencl-team/pocl Vcs-Git: https://salsa.debian.org/opencl-team/pocl.git Build-Depends: debhelper-compat (= 13), gcc (>= 4:10), pkg-config, libhwloc-dev, ocl-icd-dev (>= 2.2.3), ocl-icd-libopencl1 (>= 2.2.3), ocl-icd-opencl-dev, clang-11, libclang-11-dev, libclang-cpp11-dev, llvm-11-dev, pkg-kde-tools, cmake, clinfo Build-Depends-Indep: dh-sequence-sphinxdoc, python3-sphinx Package-List: libpocl-dev deb libdevel optional arch=any libpocl2 deb libs optional arch=any libpocl2-common deb utils optional arch=all pocl-doc deb doc optional arch=all pocl-opencl-icd deb libs optional arch=any Checksums-Sha1: 0f61ea33fa733d711d226067dd79c950067fe513 1614545 pocl_1.8.orig.tar.gz 83393bd179d0deab7f5d59fe5ce0687994d0e8ce 28556 pocl_1.8-2.debian.tar.xz Checksums-Sha256: 0f63377ae1826e16e90038fc8e7f65029be4ff6f9b059f6907174b5c0d1f8ab2 1614545 pocl_1.8.orig.tar.gz 5ea5a08ed65d227bc4f8db283fbe71fbd12faa9dafa269392f25bb2907b0fd75 28556 pocl_1.8-2.debian.tar.xz Files: ed1db7a7279036fe7bf1de3ec71f80fd 1614545 pocl_1.8.orig.tar.gz 32141037d2f80ab76fbe67b8cc1bfa2e 28556 pocl_1.8-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE6/MKMKjZxjvaRMaUX7M/k1np7QgFAmGbzX0QHGFuYmVAZGVi aWFuLm9yZwAKCRBfsz+TWentCB1+D/9W7PoDzQxUHeo21c7m0jCEnka44shozu2C V4pjH96Ml6END8XwScyzqA8F4MF89tNLRfeFVUiyz6DwwUVPX2Qzjx0VShTyPG8U OKiO5T9Txr1oocNlxNwzzEX5s3NnYOvHoMhU+xsRzxHWzrxQ+iqTyGsbBTecGQCx G7b47GsHytpGxqmUOtKXSPviHD2X3oD1y+1X6CTy6CUicKOb7JzymjiWeKuxoSGK PuSJoo9bI1f1G8rWLJOTrlRRunI5uzuspp9o7p0gFM6rVKylb0/6VeZWFd8CbLKO +boFynHn14YUfcaIZ8e6HIMetckKLv01rKbpuvreET5Zl5EqLcGNnVfhGo06reW+ 6hqWcga4kEXZwnX2TjOj/OYEHahE8JvJAfTj4GiOB6YTzMx4FL4hncxD1bj3E0HX M8KI6Zcr09a97mLRxcxR0Nc/W4PWUCQsqPEUGAAnOnidizVuPkOASJ+jHXORg7Yt 50rUPGBb4lYr3nl3oGSMarLjKSVqF/3TC7reg30ojjMufYNVzgWNw9sImgMBLYoQ 8P569mYDq/a8nLerPjdJqKR/n+PFovQ+zTcY54O8fQJ/kaWPEZFRK+Eu+StfaCrF OxpuRzRx09eOj23ffhVAqrxkYbssVGI+43h8ogR2/shEFzpNM/CBTiDGrrDdjEpW CNc80v6QDw== =vjBh -----END PGP SIGNATURE----- gpgv: Signature made Mon Nov 22 17:03:57 2021 UTC gpgv: using RSA key EBF30A30A8D9C63BDA44C6945FB33F9359E9ED08 gpgv: issuer "anbe@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./pocl_1.8-2.dsc dpkg-source: info: extracting pocl in /<> dpkg-source: info: unpacking pocl_1.8.orig.tar.gz dpkg-source: info: unpacking pocl_1.8-2.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 0001-Tweaks.patch dpkg-source: info: applying 1001-stop-building-libllvmopencl.so-which-is-no-longer-us.patch dpkg-source: info: applying 1014-add-POCL_EXPORT-to-additional-symbols-needed-by-the-.patch dpkg-source: info: applying 1015-add-POCL_EXPORT-to-additional-symbols-needed-if-hard.patch dpkg-source: info: applying 1016-kernel.c-show-.cl-compile-errors.patch dpkg-source: info: applying 1017-run_test-show-diff-if-test-output-does-not-match-the.patch dpkg-source: info: applying 1018-add-printf-tests-for-all-unsigned-fp-vector-types-an.patch dpkg-source: info: applying 2002-link-against-single-shared-libclang-cpp-when-buildin.patch dpkg-source: info: applying skip-subdevice-tests-on-single-core-cpus.patch dpkg-source: info: applying test_printf.patch dpkg-source: info: applying test_structs_as_args.patch dpkg-source: info: applying generic-cpu.patch dpkg-source: info: applying distro.patch dpkg-source: info: applying verbose.patch dpkg-source: info: applying 2001-add-testcase-for-Debian-bug-975931.patch dpkg-source: info: applying 2003-restore-setting-unroll-threshold-on-LLVM-9.patch dpkg-source: info: applying timeout.patch dpkg-source: info: applying use-system-CL-headers.patch dpkg-source: info: applying cl_ext_pocl.patch dpkg-source: info: applying test_printf_uchar2.patch Check disk space ---------------- Sufficient free space for build User Environment ---------------- APT_CONFIG=/var/lib/sbuild/apt.conf DEB_BUILD_OPTIONS=parallel=8 HOME=/sbuild-nonexistent LANG=C.UTF-8 LC_ALL=C.UTF-8 LOGNAME=buildd PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-22579410 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-22579410 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-22579410 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage: info: source package pocl dpkg-buildpackage: info: source version 1.8-2 dpkg-buildpackage: info: source distribution experimental dpkg-source --before-build . dpkg-buildpackage: info: host architecture riscv64 debian/rules clean dh clean --with pkgkde_symbolshelper --buildsystem=cmake dh_auto_clean -O--buildsystem=cmake debian/rules execute_after_dh_auto_clean make[1]: Entering directory '/<>' test ! -d include/_CL || mv -v include/_CL include/CL test ! -d include/_OpenCL || mv -v include/_OpenCL include/OpenCL make[1]: Leaving directory '/<>' dh_autoreconf_clean -O--buildsystem=cmake dh_clean -O--buildsystem=cmake debian/rules binary-arch dh binary-arch --with pkgkde_symbolshelper --buildsystem=cmake dh_update_autotools_config -a -O--buildsystem=cmake dh_autoreconf -a -O--buildsystem=cmake debian/rules execute_before_dh_auto_configure make[1]: Entering directory '/<>' test ! -d include/CL || mv -v include/CL include/_CL renamed 'include/CL' -> 'include/_CL' test ! -d include/OpenCL || mv -v include/OpenCL include/_OpenCL renamed 'include/OpenCL' -> 'include/_OpenCL' make[1]: Leaving directory '/<>' debian/rules override_dh_auto_configure make[1]: Entering directory '/<>' Using LLC_HOST_CPU=GENERIC /usr/lib/llvm-11/bin/llc -version LLVM (http://llvm.org/): LLVM version 11.1.0 Optimized build. Default target: riscv64-unknown-linux-gnu Host CPU: (unknown) Registered Targets: aarch64 - AArch64 (little endian) aarch64_32 - AArch64 (little endian ILP32) aarch64_be - AArch64 (big endian) amdgcn - AMD GCN GPUs arm - ARM arm64 - ARM64 (little endian) arm64_32 - ARM64 (little endian ILP32) armeb - ARM (big endian) avr - Atmel AVR Microcontroller bpf - BPF (host endian) bpfeb - BPF (big endian) bpfel - BPF (little endian) hexagon - Hexagon lanai - Lanai mips - MIPS (32-bit big endian) mips64 - MIPS (64-bit big endian) mips64el - MIPS (64-bit little endian) mipsel - MIPS (32-bit little endian) msp430 - MSP430 [experimental] nvptx - NVIDIA PTX 32-bit nvptx64 - NVIDIA PTX 64-bit ppc32 - PowerPC 32 ppc64 - PowerPC 64 ppc64le - PowerPC 64 LE r600 - AMD GPUs HD2XXX-HD6XXX riscv32 - 32-bit RISC-V riscv64 - 64-bit RISC-V sparc - Sparc sparcel - Sparc LE sparcv9 - Sparc V9 systemz - SystemZ thumb - Thumb thumbeb - Thumb (big endian) wasm32 - WebAssembly 32-bit wasm64 - WebAssembly 64-bit x86 - 32-bit X86: Pentium-Pro and above x86-64 - 64-bit X86: EM64T and AMD64 xcore - XCore /usr/lib/llvm-11/bin/llc -mattr=help /usr/lib/llvm-11/bin/llc: error: : error: unable to get target for 'unknown', see --version and --triple. make[1]: [debian/rules:76: override_dh_auto_configure] Error 1 (ignored) dh_auto_configure -- -DENABLE_ICD=yes -DWITH_LLVM_CONFIG=/usr/bin/llvm-config-11 -DLLC_HOST_CPU=GENERIC -DPOCL_ICD_ABSOLUTE_PATH=OFF -DHARDENING_ENABLE=ON -DVISIBILITY_HIDDEN=ON -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=OFF cd obj-riscv64-linux-gnu && cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/riscv64-linux-gnu -DENABLE_ICD=yes -DWITH_LLVM_CONFIG=/usr/bin/llvm-config-11 -DLLC_HOST_CPU=GENERIC -DPOCL_ICD_ABSOLUTE_PATH=OFF -DHARDENING_ENABLE=ON -DVISIBILITY_HIDDEN=ON -DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=OFF .. -- The C compiler identification is GNU 11.2.0 -- The CXX compiler identification is GNU 11.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES -- Performing Test HAVE_WARN_INCOMPATIBLE_POINTER_TYPES - Success -- No git and/or not a prerelease -> not adding git commit to version. -- Host CPU cores: 8 -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.2") -- Checking for module 'hwloc' -- Found hwloc, version 2.6.0 -- Found Hwloc: hwloc -- Found hwloc 2.6.0 in :hwloc -- Hwloc_VERSION 2.6.0 -- Hwloc_LIBRARIES hwloc -- Hwloc_INCLUDE_DIRS CMake Warning at CMakeLists.txt:440 (message): Unable to detect cacheline size - assuming 64byte cacheline, override with -DHOST_CPU_CACHELINE_SIZE= (Note: this is merely used for optimization, at worst pocl will be slightly slower) -- CMAKE_SYSTEM_NAME: Linux -- CMAKE_HOST_SYSTEM_PROCESSOR: riscv64 -- CMAKE_LIBRARY_ARCHITECTURE: riscv64-linux-gnu -- Using llvm-config: /usr/bin/llvm-config-11 -- LLVM binaries suffix : -11 -- llvm-config's LLVM_PREFIX is: /usr/lib/llvm-11 -- llvm-config's LLVM_VERSION_FULL is: 11.1.0 -- LLVM_VERSION: 11.1 -- llvm-config's LLVM_CFLAGS is: -I/usr/lib/llvm-11/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CXXFLAGS is: -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_CPPFLAGS is: -I/usr/lib/llvm-11/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- llvm-config's LLVM_LDFLAGS is: -L/usr/lib/llvm-11/lib -- llvm-config's LLVM_BINDIR is: /usr/lib/llvm-11/bin -- llvm-config's LLVM_LIBDIR is: /usr/lib/llvm-11/lib -- llvm-config's LLVM_INCLUDEDIR is: /usr/lib/llvm-11/include -- llvm-config's LLVM_SRC_ROOT is: /usr/lib/llvm-11/build/ -- llvm-config's LLVM_OBJ_ROOT is: /usr/lib/llvm-11/build/ -- llvm-config's LLVM_ALL_TARGETS is: AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore -- llvm-config's LLVM_HOST_TARGET is: riscv64-unknown-linux-gnu -- llvm-config's LLVM_BUILD_MODE is: RelWithDebInfo -- llvm-config's LLVM_ASSERTS_BUILD is: OFF -- llvm-config's LLVM_SYSLIBS is: -- llvm-config's LLVM_HAS_RTTI is: YES -- llvm-config's LLVM_LIBS is: -lLLVM-11 -- llvm-config's LLVM_SYSLIBS is: -- Found clang: /usr/lib/llvm-11/bin/clang-11 -- Found clang++: /usr/bin/clang++-11 -- Found opt: /usr/bin/opt-11 -- Found llc: /usr/bin/llc-11 -- Found llvm-as: /usr/bin/llvm-as-11 -- Found llvm-link: /usr/bin/llvm-link-11 -- Found lli: /usr/bin/lli-11 -- udivmodti4 compiles without extra flags -- Checking if clang++ works (required by vecmathlib) -- Checking if LLVM is a DEBUG build -- DEBUG build -- Find out LLC target triple (for host riscv64-unknown-linux-gnu) -- Find out LLC host CPU with /usr/bin/llc-11 -- Autodetected CPU (unknown) overriden by user to GENERIC -- Checking clang -march vs. -mcpu flag -- Using -None= -- LLVM link test OK -- Checking fp16 support -- FP16 is disabled: 1 -- Looking for fork -- Looking for fork - found -- Looking for fsync -- Looking for fsync - found -- Looking for sleep -- Looking for sleep - found -- Looking for getrlimit -- Looking for getrlimit - found -- Looking for utime -- Looking for utime - found -- Looking for ANNOTATE_HAPPENS_BEFORE -- Looking for ANNOTATE_HAPPENS_BEFORE - not found -- Looking for futimens -- Looking for futimens - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for clock_gettime -- Looking for clock_gettime - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for mkdtemp -- Looking for mkdtemp - found -- Looking for mkstemps -- Looking for mkstemps - found -- Looking for vfork -- Looking for vfork - found -- Looking for mkostemps -- Looking for mkostemps - found -- Looking for dladdr -- Looking for dladdr - found -- Private Datadir Relative path: ../../share/pocl -- Compiler supports IPO: YES -- Enable Link-Time Optimization (IPO) while building pocl runtime : 1 -- libdl found -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Checking for module 'lttng-ust>=2.7' -- No package 'lttng-ust' found -- Checking for module 'ocl-icd>=1.3' -- Found ocl-icd, version 2.2.14 -- Using an ICD loader (cached): 1 -- Run tests with ICD: 1 -- OpenCL.h found, NOT installing our headers -- Failed to find tcecc or tce-config, disabling TCE -- TCE support : 0 -- Building the following device drivers: basic pthreads -- GENERIC SLEEF: 128bit vectors NOT available. -- GENERIC SLEEF: 256bit vectors NOT available. -- GENERIC SLEEF: 512bit vectors NOT available. -- GENERIC SLEEF bc list: /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleefsp.c.bc;/<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleefdp.c.bc;/<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleef_glue_auto.c.bc -- GENERIC SLEEF bc: /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sleef.bc -- Host Kernel BC for "GENERIC": /<>/obj-riscv64-linux-gnu/lib/kernel/host/kernel-riscv64-unknown-linux-gnu-GENERIC.bc -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fPIC -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fPIC - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Wall -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Wall - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Wextra -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Wextra - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Wconversion -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Wconversion - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Wformat -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Wformat - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Wformat-security -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Wformat-security - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Werror_eq_format-security -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-Werror_eq_format-security - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fno-strict-aliasing -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fno-strict-aliasing - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fno-common -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fno-common - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-runtime-abi_eq_full -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-runtime-abi_eq_full - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-ffp-exception-behavior_eq_strict -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-ffp-exception-behavior_eq_strict - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fstack-clash-protection -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fstack-clash-protection - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-mcet -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-mcet - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-cast-strict -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-cast-strict - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-derived-cast -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-derived-cast - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-unrelated-cast -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-unrelated-cast - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-nvcall -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-nvcall - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-vcall -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-vcall - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-icall -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-icall - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-mfcall -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_cfi-mfcall - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-mretpoline -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-mretpoline - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-mspeculative-load-hardening -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-mspeculative-load-hardening - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-lvi-load-hardening -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-lvi-load-hardening - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-lvi-cfi -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-lvi-cfi - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_address -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fsanitize_eq_address - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-branch -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-branch - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-branch_eq_thunk-extern -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-branch_eq_thunk-extern - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-branch_eq_thunk-inline -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-branch_eq_thunk-inline - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-return -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-return - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-branch-register -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-branch-register - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-branch-loop -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcf-protection_eq_none -mindirect-branch-loop - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-x86-speculative-load-hardening -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-x86-speculative-load-hardening - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-mno-indirect-branch-register -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-mno-indirect-branch-register - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-mmitigate-rop -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-mmitigate-rop - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcheck-pointer-bounds -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fcheck-pointer-bounds - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-treat-zero-size-reloc-as-infinite -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-treat-zero-size-reloc-as-infinite - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-first-field-has-own-bounds -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-first-field-has-own-bounds - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-narrow-bounds -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-narrow-bounds - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-narrow-to-innermost-array -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-narrow-to-innermost-array - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-optimize -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-optimize - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-use-fast-string-functions -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-use-fast-string-functions - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-use-nochk-string-functions -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-use-nochk-string-functions - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-use-static-const-bounds -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fchkp-use-static-const-bounds - Failed -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fstack-protector -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fstack-protector - Success -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fstack-protector-strong -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fstack-protector-strong - Success -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-O1 -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-O1 - Success -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_--sort-common -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_--sort-common - Success -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_--as-needed -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_--as-needed - Success -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-flto -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-flto - Success -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_relro -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_relro - Success -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_now -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_now - Success -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_ibtplt -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_ibtplt - Success -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_ibt -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_ibt - Success -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_shstk -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_shstk - Success -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_notext -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-z_comma_notext - Success -- CPACK_DEBIAN_ICD_PACKAGE_DEPENDS -- CPACK_DEBIAN_ICD_PACKAGE_NAME -- CPACK_DEBIAN_ICD_PACKAGE_PROVIDES -- CPACK_DEBIAN_ICD_PACKAGE_RECOMMENDS -- CPACK_DEBIAN_LIB_PACKAGE_BREAKS -- CPACK_DEBIAN_LIB_PACKAGE_DEPENDS -- CPACK_DEBIAN_LIB_PACKAGE_NAME -- CPACK_DEBIAN_LIB_PACKAGE_RECOMMENDS -- CPACK_DEBIAN_LIB_PACKAGE_REPLACES -- OPENCL_LIBS: Threads::Threads;OpenCL -- OPENCL_CFLAGS: -- POCLU LINK OPTS: poclu;Threads::Threads;OpenCL;-lm -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fPIE -- Performing Test SUPPORTS_HARDENING_COMPILE_FLAGS_-fPIE - Success -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-pie -- Performing Test SUPPORTS_HARDENING_LINK_FLAGS_-Wl_comma_-pie - Success -- CPACK_DEBIAN_ICD_PACKAGE_DEPENDS -- CPACK_DEBIAN_ICD_PACKAGE_NAME -- CPACK_DEBIAN_ICD_PACKAGE_PROVIDES -- CPACK_DEBIAN_ICD_PACKAGE_RECOMMENDS -- CPACK_DEBIAN_LIB_PACKAGE_BREAKS -- CPACK_DEBIAN_LIB_PACKAGE_DEPENDS -- CPACK_DEBIAN_LIB_PACKAGE_NAME -- CPACK_DEBIAN_LIB_PACKAGE_RECOMMENDS -- CPACK_DEBIAN_LIB_PACKAGE_REPLACES -- CPACK_DEBIAN_POCLCC_PACKAGE_DEPENDS -- CPACK_DEBIAN_POCLCC_PACKAGE_NAME -- -- *********************** SUMMARY *************************** -- -- ******* Directories: -- -- CMAKE_INSTALL_PREFIX: /usr -- POCL_INSTALL_CMAKE_CONFIG_DIR: /usr/lib/riscv64-linux-gnu/pocl -- POCL_INSTALL_ICD_VENDORDIR: /etc/OpenCL/vendors -- POCL_INSTALL_OPENCL_HEADER_DIR: /usr/include/CL -- POCL_INSTALL_PKGCONFIG_DIR: /usr/lib/riscv64-linux-gnu/pkgconfig -- POCL_INSTALL_PRIVATE_DATADIR: /usr/share/pocl -- POCL_INSTALL_PRIVATE_HEADER_DIR: /usr/share/pocl/include -- POCL_INSTALL_PRIVATE_LIBDIR: /usr/lib/riscv64-linux-gnu/pocl -- POCL_INSTALL_PUBLIC_BINDIR: /usr/bin -- POCL_INSTALL_PUBLIC_HEADER_DIR: /usr/include -- POCL_INSTALL_PUBLIC_LIBDIR: /usr/lib/riscv64-linux-gnu -- -- -- ******* LLVM Programs: -- -- LLVM_CONFIG: /usr/bin/llvm-config-11 -- LLVM_OPT: /usr/bin/opt-11 -- LLVM_LLC: /usr/bin/llc-11 -- LLVM_AS: /usr/bin/llvm-as-11 -- LLVM_LINK: /usr/bin/llvm-link-11 -- LLVM_LLI: /usr/bin/lli-11 -- WITH_LLVM_CONFIG (User preferred llvm-config): /usr/bin/llvm-config-11 -- -- ******* Various Flags: -- -- CL_DISABLE_HALF: 1 -- HAVE_CLOCK_GETTIME: 1 -- HAVE_GLEW: -- HAVE_LTTNG_UST: 0 -- HOST_AS_FLAGS: -- HOST_CLANG_FLAGS: --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -- HOST_LD_FLAGS: -shared -- HOST_LLC_FLAGS: -relocation-model=pic -mtriple=riscv64-unknown-linux-gnu -- -- LIB_API_VERSION: 2 -- LIB_BUILD_VERSION: 2.8.0 -- ICD_LD_FLAGS: -Wl,-Bsymbolic -- EXTRA_KERNEL_FLAGS: -- EXTRA_KERNEL_CXX_FLAGS: -- EXTRA_KERNEL_CL_FLAGS: -- EXTRA_KERNEL_C_FLAGS: -- final KERNEL_CXX_FLAGS: -xc++ -std=c++11 -fno-stack-protector -fPIC -- final KERNEL_CL_FLAGS: -xcl -fno-stack-protector -fPIC -- final KERNEL_C_FLAGS: -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -- -- CLANG_HAS_64B_MATH: ON -- CLANG_HAS_128B_MATH: ON -- CLANG_NEEDS_RTLIB: OFF -- CLANG_MARCH_FLAG: -None= -- CLANG_TARGET_OPTION: --target= -- LLVM_VERSION: 11.1 -- LLVM_LIB_IS_SHARED: -- LLVM_HAS_RTTI: YES -- LLVM_LIB_MODE: --link-shared -- LLVM_ASSERTS_BUILD: OFF -- LLVM_BUILD_MODE: RelWithDebInfo -- LLVM_CFLAGS: -I/usr/lib/llvm-11/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_CXXFLAGS: -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_CPPFLAGS: -I/usr/lib/llvm-11/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -- LLVM_LDFLAGS: -L/usr/lib/llvm-11/lib -- LLVM_LIBDIR: /usr/lib/llvm-11/lib -- LLVM_INCLUDEDIR: /usr/lib/llvm-11/include -- LLVM_SRC_ROOT: /usr/lib/llvm-11/build/ -- LLVM_OBJ_ROOT: /usr/lib/llvm-11/build/ -- LLVM_INCLUDE_DIRS: -- LLVM_ALL_TARGETS: AArch64 AMDGPU ARM AVR BPF Hexagon Lanai Mips MSP430 NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore -- LLVM_HOST_TARGET: riscv64-unknown-linux-gnu -- LLC_TRIPLE: riscv64-unknown-linux-gnu -- LLC_HOST_CPU: GENERIC -- -- MAX_EXTENDED_ALIGNMENT: 128 -- OCL_KERNEL_TARGET: riscv64-unknown-linux-gnu -- OCL_KERNEL_TARGET_CPU: GENERIC -- HOST_DEVICE_ADDRESS_BITS: 64 -- -- ----------- -------------------------------- -------- -- llvm libs libpocl will be linked to (POCL_LLVM_LIBS): -- /usr/lib/llvm-11/lib/libLLVM-11.so -- ----------- -------------------------------- -------- -- clang libs libpocl will be linked to (CLANG_LIBFILES): -- /usr/lib/llvm-11/lib/libclang-cpp.so -- ----------- -------------------------------- -------- -- system libs libpocl will be linked to (LLVM_SYSLIBS): -- -- ----------- -------------------------------- -------- -- ******* Enabled features: -- -- DEVELOPER_MODE: OFF -- ENABLE_CONFORMANCE: ON -- ENABLE_IPO: YES -- ENABLE_ICD: yes -- ENABLE_TCE: 0 -- ENABLE_TCEMC: 0 -- ENABLE_HSA: OFF -- ENABLE_CUDA: OFF -- ENABLE_ASAN (address sanitizer): OFF -- ENABLE_LSAN (leak sanitizer): OFF -- ENABLE_TSAN (thread sanitizer): OFF -- ENABLE_UBSAN (UB sanitizer): OFF -- ENABLE_POCL_FLOAT_CONVERSION: OFF -- ENABLE_RELOCATION: ON -- ENABLE_SLEEF: ON -- ENABLE_SPIR: OFF -- ENABLE_SPIRV: OFF -- ENABLE_POCL_BUILDING: ON -- INSTALL_OPENCL_HEADERS (Install our headers): 0 -- OCL_DRIVERS (Drivers built): basic pthreads -- OCL_TARGETS (Targets built): host -- ENABLE_LLVM: ON -- POCL_ICD_ABSOLUTE_PATH: OFF -- POCL_ASSERTS_BUILD: 1 -- TESTS_USE_ICD: 1 -- Available testsuites: AMD;AMDSDK2.9;AMDSDK3.0;ASL;arrayfire;clBLAS;CLBlast;clFFT;conformance;CloverLeaf;Halide;IntelSVM;opencl-book-samples;OpenCV;Parboil;piglit;PyOpenCL;Rodinia;shoc;VexCL;ViennaCL;Glow -- Enabled testsuites: -- Disabled testsuites: AMD;AMDSDK2.9;AMDSDK3.0;ASL;arrayfire;clBLAS;CLBlast;clFFT;conformance;CloverLeaf;Halide;IntelSVM;opencl-book-samples;OpenCV;Parboil;piglit;PyOpenCL;Rodinia;shoc;VexCL;ViennaCL;Glow -- Testsuites are built from git master: OFF -- Kernel caching: ON -- Kernel library CPU variants: native -- Kernel library distro build: 0 -- Use pocl custom memory allocator: OFF -- L1d cacheline size: 64 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY -- Build files have been written to: /<>/obj-riscv64-linux-gnu make[1]: Leaving directory '/<>' dh_auto_build -a -O--buildsystem=cmake cd obj-riscv64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 make[1]: Entering directory '/<>/obj-riscv64-linux-gnu' /usr/bin/cmake -S/<> -B/<>/obj-riscv64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /<>/obj-riscv64-linux-gnu/CMakeFiles /<>/obj-riscv64-linux-gnu//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/<>/obj-riscv64-linux-gnu' make -f lib/kernel/host/CMakeFiles/sleef_config_GENERIC.dir/build.make lib/kernel/host/CMakeFiles/sleef_config_GENERIC.dir/depend make -f lib/llvmopencl/CMakeFiles/llvmpasses.dir/build.make lib/llvmopencl/CMakeFiles/llvmpasses.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/kernel/host /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/kernel/host /<>/obj-riscv64-linux-gnu/lib/kernel/host/CMakeFiles/sleef_config_GENERIC.dir/DependInfo.cmake --color= make -f lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/build.make lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/llvmopencl /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/llvmopencl /<>/obj-riscv64-linux-gnu/lib/llvmopencl/CMakeFiles/llvmpasses.dir/DependInfo.cmake --color= make -f lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build.make lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices/topology /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL/devices/topology /<>/obj-riscv64-linux-gnu/lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/DependInfo.cmake --color= make -f lib/CL/CMakeFiles/lib_cl_llvm.dir/build.make lib/CL/CMakeFiles/lib_cl_llvm.dir/depend make -f lib/CL/devices/CMakeFiles/pocl-devices.dir/build.make lib/CL/devices/CMakeFiles/pocl-devices.dir/depend make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL /<>/obj-riscv64-linux-gnu/lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/DependInfo.cmake --color= cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL /<>/obj-riscv64-linux-gnu/lib/CL/CMakeFiles/lib_cl_llvm.dir/DependInfo.cmake --color= make -f lib/kernel/host/CMakeFiles/sleef_config_GENERIC.dir/build.make lib/kernel/host/CMakeFiles/sleef_config_GENERIC.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/llvmopencl/CMakeFiles/llvmpasses.dir/build.make lib/llvmopencl/CMakeFiles/llvmpasses.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL/devices /<>/obj-riscv64-linux-gnu/lib/CL/devices/CMakeFiles/pocl-devices.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/build.make lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/build make -f lib/poclu/CMakeFiles/poclu.dir/build.make lib/poclu/CMakeFiles/poclu.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/CMakeFiles/lib_cl_llvm.dir/build.make lib/CL/CMakeFiles/lib_cl_llvm.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build.make lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/poclu /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/poclu /<>/obj-riscv64-linux-gnu/lib/poclu/CMakeFiles/poclu.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/devices/CMakeFiles/pocl-devices.dir/build.make lib/CL/devices/CMakeFiles/pocl-devices.dir/build [ 1%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/AllocasToEntry.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/AllocasToEntry.cc.o -MF CMakeFiles/llvmpasses.dir/AllocasToEntry.cc.o.d -o CMakeFiles/llvmpasses.dir/AllocasToEntry.cc.o -c /<>/lib/llvmopencl/AllocasToEntry.cc [ 2%] Generating ../../../sleef_config_temp_GENERIC.h.witness cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/bin/cmake -E copy_if_different /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h.new /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 2%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/AutomaticLocals.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/AutomaticLocals.cc.o -MF CMakeFiles/llvmpasses.dir/AutomaticLocals.cc.o.d -o CMakeFiles/llvmpasses.dir/AutomaticLocals.cc.o -c /<>/lib/llvmopencl/AutomaticLocals.cc make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 2%] Building C object lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/pocl_topology.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices/topology && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/pocl_topology.c.o -MF CMakeFiles/pocl-devices-topology.dir/pocl_topology.c.o.d -o CMakeFiles/pocl-devices-topology.dir/pocl_topology.c.o -c /<>/lib/CL/devices/topology/pocl_topology.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/poclu/CMakeFiles/poclu.dir/build.make lib/poclu/CMakeFiles/poclu.dir/build [ 2%] Building CXX object lib/CL/CMakeFiles/lib_cl_llvm.dir/pocl_llvm_build.cc.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"/<>/lib/CL/../llvmopencl" -MD -MT lib/CL/CMakeFiles/lib_cl_llvm.dir/pocl_llvm_build.cc.o -MF CMakeFiles/lib_cl_llvm.dir/pocl_llvm_build.cc.o.d -o CMakeFiles/lib_cl_llvm.dir/pocl_llvm_build.cc.o -c /<>/lib/CL/pocl_llvm_build.cc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/bin/cmake -E touch /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h.witness make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 2%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateContextFromType.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateContextFromType.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateContextFromType.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateContextFromType.c.o -c /<>/lib/CL/clCreateContextFromType.c [ 2%] Building C object lib/CL/devices/CMakeFiles/pocl-devices.dir/devices.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/CMakeFiles/pocl-devices.dir/devices.c.o -MF CMakeFiles/pocl-devices.dir/devices.c.o.d -o CMakeFiles/pocl-devices.dir/devices.c.o -c /<>/lib/CL/devices/devices.c [ 2%] Building C object lib/poclu/CMakeFiles/poclu.dir/bswap.c.o cd /<>/obj-riscv64-linux-gnu/lib/poclu && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/poclu/CMakeFiles/poclu.dir/bswap.c.o -MF CMakeFiles/poclu.dir/bswap.c.o.d -o CMakeFiles/poclu.dir/bswap.c.o -c /<>/lib/poclu/bswap.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 2%] Built target sleef_config_GENERIC make -f bin/CMakeFiles/poclcc.dir/build.make bin/CMakeFiles/poclcc.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/bin /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/bin /<>/obj-riscv64-linux-gnu/bin/CMakeFiles/poclcc.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f bin/CMakeFiles/poclcc.dir/build.make bin/CMakeFiles/poclcc.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 2%] Building C object bin/CMakeFiles/poclcc.dir/poclcc.c.o cd /<>/obj-riscv64-linux-gnu/bin && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DDISABLE_OPENCL_20 -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -fPIE -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT bin/CMakeFiles/poclcc.dir/poclcc.c.o -MF CMakeFiles/poclcc.dir/poclcc.c.o.d -o CMakeFiles/poclcc.dir/poclcc.c.o -c /<>/bin/poclcc.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/topology/pocl_topology.c:29: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/devices/../pocl_icd.h:26, from /<>/lib/CL/devices/../pocl_cl.h:56, from /<>/lib/CL/devices/devices.h:28, from /<>/lib/CL/clCreateContextFromType.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/common.h:28, from /<>/lib/CL/devices/devices.c:45: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/bin/poclcc.c: In function ‘process_help’: /<>/bin/poclcc.c:112:18: warning: unused parameter ‘arg’ [-Wunused-parameter] 112 | process_help(int arg, char **argv, int argc) | ~~~~^~~ /<>/bin/poclcc.c:112:30: warning: unused parameter ‘argv’ [-Wunused-parameter] 112 | process_help(int arg, char **argv, int argc) | ~~~~~~~^~~~ /<>/bin/poclcc.c:112:40: warning: unused parameter ‘argc’ [-Wunused-parameter] 112 | process_help(int arg, char **argv, int argc) | ~~~~^~~~ /<>/bin/poclcc.c: In function ‘process_device_id’: /<>/bin/poclcc.c:169:22: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 169 | opencl_device_id = atoi(argv[arg]); | ^~~~ /<>/bin/poclcc.c: In function ‘process_list_devices’: /<>/bin/poclcc.c:174:26: warning: unused parameter ‘arg’ [-Wunused-parameter] 174 | process_list_devices(int arg, char **argv, int argc) | ~~~~^~~ /<>/lib/CL/devices/devices.c: In function ‘pocl_device_get_env_count’: /<>/lib/CL/devices/devices.c:247:10: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] 247 | return dev_count; | ^~~~~~~~~ /<>/bin/poclcc.c:174:38: warning: unused parameter ‘argv’ [-Wunused-parameter] 174 | process_list_devices(int arg, char **argv, int argc) | ~~~~~~~^~~~ /<>/bin/poclcc.c:174:48: warning: unused parameter ‘argc’ [-Wunused-parameter] 174 | process_list_devices(int arg, char **argv, int argc) | ~~~~^~~~ /<>/lib/CL/devices/devices.c: In function ‘str_toupper’: /<>/lib/CL/devices/devices.c:314:14: warning: conversion from ‘int’ to ‘char’ may change value [-Wconversion] 314 | out[i] = toupper(in[i]); | ^~~~~~~ /<>/lib/CL/devices/topology/pocl_topology.c: In function ‘pocl_topology_detect_device_info’: /<>/lib/CL/devices/topology/pocl_topology.c:170:31: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 170 | unsigned shared_depth = cache->depth; | ^~~~~ /<>/lib/CL/devices/topology/pocl_topology.c:173:55: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] 173 | = hwloc_get_nbobjs_by_depth (pocl_topology, nonshared_depth); | ^~~~~~~~~~~~~~~ /<>/lib/CL/devices/topology/pocl_topology.c:176:58: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] 176 | cache = hwloc_get_obj_by_depth (pocl_topology, nonshared_depth, 0); | ^~~~~~~~~~~~~~~ /<>/lib/CL/devices/topology/pocl_topology.c:192:43: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘cl_uint’ {aka ‘unsigned int’} may change value [-Wconversion] 192 | device->global_mem_cacheline_size = cacheline_size; | ^~~~~~~~~~~~~~ /<>/lib/CL/devices/devices.c: In function ‘pocl_init_devices’: /<>/lib/CL/devices/devices.c:468:12: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 468 | sleep (delay); | ^~~~~ /<>/lib/CL/devices/devices.c:576:25: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] 576 | dev->dev_id = dev_index; | ^~~~~~~~~ /<>/lib/CL/devices/devices.c:581:32: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] 581 | dev->global_mem_id = dev_index; | ^~~~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 2%] Building C object lib/poclu/CMakeFiles/poclu.dir/misc.c.o cd /<>/obj-riscv64-linux-gnu/lib/poclu && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/poclu/CMakeFiles/poclu.dir/misc.c.o -MF CMakeFiles/poclu.dir/misc.c.o.d -o CMakeFiles/poclu.dir/misc.c.o -c /<>/lib/poclu/misc.c [ 2%] Built target pocl-devices-topology [ 2%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseContext.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseContext.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clReleaseContext.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseContext.c.o -c /<>/lib/CL/clReleaseContext.c [ 2%] Building C object bin/CMakeFiles/poclcc.dir/__/lib/poclu/misc.c.o cd /<>/obj-riscv64-linux-gnu/bin && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DDISABLE_OPENCL_20 -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -fPIE -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT bin/CMakeFiles/poclcc.dir/__/lib/poclu/misc.c.o -MF CMakeFiles/poclcc.dir/__/lib/poclu/misc.c.o.d -o CMakeFiles/poclcc.dir/__/lib/poclu/misc.c.o -c /<>/lib/poclu/misc.c [ 3%] Building C object lib/CL/devices/CMakeFiles/pocl-devices.dir/bufalloc.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/CMakeFiles/pocl-devices.dir/bufalloc.c.o -MF CMakeFiles/pocl-devices.dir/bufalloc.c.o.d -o CMakeFiles/pocl-devices.dir/bufalloc.c.o -c /<>/lib/CL/devices/bufalloc.c /<>/lib/poclu/misc.c: In function ‘poclu_read_binfile’: /<>/lib/poclu/misc.c:154:10: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion] 154 | *len = ftell (file); | ^~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/devices/../pocl_icd.h:26, from /<>/lib/CL/devices/../pocl_cl.h:56, from /<>/lib/CL/devices/devices.h:28, from /<>/lib/CL/clReleaseContext.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/poclu/misc.c:163:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 163 | fread (src, *len, 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/lib/poclu/misc.c: In function ‘poclu_read_binfile’: /<>/lib/poclu/misc.c:154:10: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion] 154 | *len = ftell (file); | ^~~~~ /<>/lib/poclu/misc.c:163:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 163 | fread (src, *len, 1, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/llvmopencl/../CL/pocl_icd.h:26, from /<>/lib/llvmopencl/../CL/pocl_cl.h:56, from /<>/lib/llvmopencl/AutomaticLocals.cc:27: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/bufalloc.h:41, from /<>/lib/CL/devices/bufalloc.c:70: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/devices/bufalloc.c: In function ‘chunk_slack’: /<>/lib/CL/devices/bufalloc.c:101:66: warning: conversion to ‘memory_address_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 101 | (chunk->start_address + chunk->parent_region->alignment - 1) & | ^ /<>/lib/CL/devices/bufalloc.c: In function ‘append_new_chunk’: /<>/lib/CL/devices/bufalloc.c:154:65: warning: conversion to ‘memory_address_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 154 | (region->last_chunk->start_address + region->alignment - 1) & | ^ [ 3%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainContext.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainContext.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clRetainContext.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainContext.c.o -c /<>/lib/CL/clRetainContext.c [ 3%] Building C object lib/CL/devices/CMakeFiles/pocl-devices.dir/common.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/CMakeFiles/pocl-devices.dir/common.c.o -MF CMakeFiles/pocl-devices.dir/common.c.o.d -o CMakeFiles/pocl-devices.dir/common.c.o -c /<>/lib/CL/devices/common.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clRetainContext.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/poclu/misc.c: In function ‘poclu_load_program_multidev’: /<>/lib/poclu/misc.c:430:6: warning: ‘program’ may be used uninitialized in this function [-Wmaybe-uninitialized] 430 | *p = program; | ~~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:105, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:44, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/Analysis/CFG.h:140:1: warning: multi-line comment [-Wcomment] 140 | /// / \ | ^ [ 3%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetContextInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetContextInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetContextInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetContextInfo.c.o -c /<>/lib/CL/clGetContextInfo.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/common.h:28, from /<>/lib/CL/devices/common.c:43: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 3%] Building C object lib/poclu/CMakeFiles/poclu.dir/cl_half.c.o cd /<>/obj-riscv64-linux-gnu/lib/poclu && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/poclu/CMakeFiles/poclu.dir/cl_half.c.o -MF CMakeFiles/poclu.dir/cl_half.c.o.d -o CMakeFiles/poclu.dir/cl_half.c.o -c /<>/lib/poclu/cl_half.c /<>/lib/CL/devices/common.c: In function ‘llvm_codegen’: /<>/lib/CL/devices/common.c:149:33: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] 149 | llvm_module, program, device_i, kernel, command, specialize); | ^~~~~~~~ /<>/lib/CL/devices/common.c: In function ‘pocl_fill_dev_image_t’: /<>/lib/CL/devices/common.c:279:16: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘cl_int’ {aka ‘int’} may change value [-Wconversion] 279 | di->_width = mem->image_width; | ^~~ /<>/lib/CL/devices/common.c:280:17: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘cl_int’ {aka ‘int’} may change value [-Wconversion] 280 | di->_height = mem->image_height; | ^~~ /<>/lib/CL/devices/common.c:281:16: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘cl_int’ {aka ‘int’} may change value [-Wconversion] 281 | di->_depth = mem->image_depth; | ^~~ /<>/lib/CL/devices/common.c:282:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘cl_int’ {aka ‘int’} may change value [-Wconversion] 282 | di->_row_pitch = mem->image_row_pitch; | ^~~ /<>/lib/CL/devices/common.c:283:22: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘cl_int’ {aka ‘int’} may change value [-Wconversion] 283 | di->_slice_pitch = mem->image_slice_pitch; | ^~~ /<>/lib/CL/devices/common.c:284:16: warning: conversion to ‘cl_int’ {aka ‘int’} from ‘cl_channel_order’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion] 284 | di->_order = mem->image_channel_order; | ^~~ /<>/lib/CL/devices/common.c:285:27: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘cl_int’ {aka ‘int’} may change value [-Wconversion] 285 | di->_image_array_size = mem->image_array_size; | ^~~ /<>/lib/CL/devices/common.c:286:20: warning: conversion to ‘cl_int’ {aka ‘int’} from ‘cl_channel_type’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion] 286 | di->_data_type = mem->image_channel_data_type; | ^~~ [ 4%] Linking C executable poclcc cd /<>/obj-riscv64-linux-gnu/bin && /usr/bin/cmake -E cmake_link_script CMakeFiles/poclcc.dir/link.txt --verbose=1 make -f tests/runtime/CMakeFiles/test_dlopen.dir/build.make tests/runtime/CMakeFiles/test_dlopen.dir/depend /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic -Wl,-pie -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-flto -Wl,-z,relro -Wl,-z,now -Wl,-z,ibtplt -Wl,-z,ibt -Wl,-z,shstk -Wl,-z,notext CMakeFiles/poclcc.dir/poclcc.c.o CMakeFiles/poclcc.dir/__/lib/poclu/misc.c.o -o poclcc -lOpenCL -latomic /<>/lib/CL/devices/common.c: In function ‘pocl_init_default_device_infos’: /<>/lib/CL/devices/common.c:1352:66: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 1352 | = dev->max_work_item_sizes[2] = dev->max_work_group_size = max_wg; | ^~~~~~ make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_dlopen.dir/DependInfo.cmake --color= /usr/bin/ld: warning: -z ibtplt ignored /usr/bin/ld: warning: -z ibt ignored /usr/bin/ld: warning: -z shstk ignored In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clGetContextInfo.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_dlopen.dir/build.make tests/runtime/CMakeFiles/test_dlopen.dir/build /<>/lib/CL/clGetContextInfo.c: In function ‘POclGetContextInfo’: /<>/lib/CL/clGetContextInfo.c:43:26: warning: conversion to ‘cl_uint’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 43 | cl_uint refcount = context->pocl_refcount; | ^~~~~~~ make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' /<>/lib/poclu/cl_half.c: In function ‘poclu_float_to_cl_half_fast’: /<>/lib/poclu/cl_half.c:47:10: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 47 | half |=(u.i & 0x07800000) >> 13; | ^ /<>/lib/poclu/cl_half.c:48:10: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 48 | half |=(u.i & 0x40000000) >> 16; | ^ /<>/lib/poclu/cl_half.c:49:15: warning: conversion to ‘unsigned int’ from ‘int32_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion] 49 | half |=(u.i & 0x80000000) >> 16; | ^ /<>/lib/poclu/cl_half.c:49:10: warning: conversion from ‘unsigned int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 49 | half |=(u.i & 0x80000000) >> 16; | ^ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' /<>/lib/poclu/cl_half.c: In function ‘poclu_float_to_cl_half’: /<>/lib/poclu/cl_half.c:60:18: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 60 | cl_half half = (u.i >> 16) & 0x8000; // sign | ^ /<>/lib/poclu/cl_half.c:69:37: warning: conversion to ‘unsigned int’ from ‘int32_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion] 69 | half |= exponent == 255 && (u.i & 0x007fffffu); // If value was NaN make this into NaN | ^ /<>/lib/poclu/cl_half.c:69:13: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 69 | half |= exponent == 255 && (u.i & 0x007fffffu); // If value was NaN make this into NaN | ^~~~~~~~ /<>/lib/poclu/cl_half.c:77:13: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 77 | half |= (fraction >> (0x0072 - exponent)) + ((fraction >> (0x0071 - exponent)) & 1); | ^ /<>/lib/poclu/cl_half.c:81:11: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 81 | half |= ((exponent - 0x0070) << 10) | (fraction >> 1); | ^ /<>/lib/poclu/cl_half.c: In function ‘poclu_float_to_cl_half_ceil’: /<>/lib/poclu/cl_half.c:91:18: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 91 | cl_half half = (u.i >> 16) & 0x8000; // sign | ^ /<>/lib/poclu/cl_half.c:102:37: warning: conversion to ‘unsigned int’ from ‘int32_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion] 102 | half |= exponent == 255 && (u.i & 0x007fffffu); // If value was NaN make this into NaN | ^ /<>/lib/poclu/cl_half.c:102:13: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 102 | half |= exponent == 255 && (u.i & 0x007fffffu); // If value was NaN make this into NaN | ^~~~~~~~ /<>/lib/poclu/cl_half.c:116:11: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 116 | half |= ((exponent - 0x0070) << 10) | fraction; | ^ /<>/lib/poclu/cl_half.c: In function ‘poclu_float_to_cl_half_floor’: /<>/lib/poclu/cl_half.c:128:18: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 128 | cl_half half = (u.i >> 16) & 0x8000; // sign | ^ /<>/lib/poclu/cl_half.c:139:37: warning: conversion to ‘unsigned int’ from ‘int32_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion] 139 | half |= exponent == 255 && (u.i & 0x007fffffu); // If value was NaN make this into NaN | ^ /<>/lib/poclu/cl_half.c:139:13: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 139 | half |= exponent == 255 && (u.i & 0x007fffffu); // If value was NaN make this into NaN | ^~~~~~~~ /<>/lib/poclu/cl_half.c:152:11: warning: conversion from ‘int’ to ‘cl_half’ {aka ‘short unsigned int’} may change value [-Wconversion] 152 | half |= ((exponent - 0x0070) << 10) | fraction; | ^ /<>/lib/poclu/cl_half.c: In function ‘poclu_cl_half_to_float’: /<>/lib/poclu/cl_half.c:185:13: warning: conversion from ‘int’ to ‘float’ may change value [-Wconversion] 185 | float v = (exp == 0) ? mant : mant | 0x0400; // 1.x if not denormal | ^ /<>/lib/poclu/cl_half.c:187:15: warning: conversion from ‘double’ to ‘float’ may change value [-Wfloat-conversion] 187 | float mul = exp2((float)exp - 15); | ^~~~ [ 5%] Building C object tests/runtime/CMakeFiles/test_dlopen.dir/test_dlopen.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_dlopen.dir/test_dlopen.c.o -MF CMakeFiles/test_dlopen.dir/test_dlopen.c.o.d -o CMakeFiles/test_dlopen.dir/test_dlopen.c.o -c /<>/tests/runtime/test_dlopen.c [ 5%] Built target poclcc [ 6%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueue.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueue.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueue.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueue.c.o -c /<>/lib/CL/clCreateCommandQueue.c make -f lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/build.make lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/kernel/host /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/kernel/host /<>/obj-riscv64-linux-gnu/lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/build.make lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 6%] Linking C executable test_dlopen cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_dlopen.dir/link.txt --verbose=1 [ 6%] Linking C static library libpoclu.a /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_dlopen.dir/test_dlopen.c.o -o test_dlopen /usr/lib/riscv64-linux-gnu/libdl.a -latomic In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCreateCommandQueue.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 6%] Building SLEEF to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleef_glue_auto.c.bc cd /<>/obj-riscv64-linux-gnu/lib/poclu && /usr/bin/cmake -P CMakeFiles/poclu.dir/cmake_clean_target.cmake cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -DPOCL_DEVICE_ADDRESS_BITS=64 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h -I /<>/lib/kernel/sleef/arch -I /<>/lib/kernel/sleef/libm -I /<>/lib/kernel/sleef/include -O1 -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleef_glue_auto.c.bc -c /<>/lib/kernel/sleef/libm/sleef_glue_auto.c cd /<>/obj-riscv64-linux-gnu/lib/poclu && /usr/bin/cmake -E cmake_link_script CMakeFiles/poclu.dir/link.txt --verbose=1 /usr/bin/ar qc libpoclu.a CMakeFiles/poclu.dir/bswap.c.o CMakeFiles/poclu.dir/misc.c.o CMakeFiles/poclu.dir/cl_half.c.o make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' /usr/bin/ranlib libpoclu.a make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 6%] Built target test_dlopen [ 6%] Building SLEEF to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleefsp.c.bc [ 6%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueueWithProperties.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueueWithProperties.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueueWithProperties.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueueWithProperties.c.o -c /<>/lib/CL/clCreateCommandQueueWithProperties.c cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -DPOCL_DEVICE_ADDRESS_BITS=64 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -DDORENAME -DPURE_C -I/<>/lib/kernel/sleef/include -I /<>/lib/kernel/sleef/arch -I /<>/lib/kernel/sleef/libm -I /<>/lib/kernel/sleef/include -O1 -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleefsp.c.bc -c /<>/lib/kernel/sleef/libm/sleefsp.c [ 6%] Built target poclu [ 6%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseCommandQueue.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseCommandQueue.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clReleaseCommandQueue.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseCommandQueue.c.o -c /<>/lib/CL/clReleaseCommandQueue.c [ 6%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainCommandQueue.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainCommandQueue.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clRetainCommandQueue.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainCommandQueue.c.o -c /<>/lib/CL/clRetainCommandQueue.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clCreateCommandQueueWithProperties.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clRetainCommandQueue.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/AllocasToEntry.cc:31: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clReleaseCommandQueue.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 6%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetCommandQueueInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetCommandQueueInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetCommandQueueInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetCommandQueueInfo.c.o -c /<>/lib/CL/clGetCommandQueueInfo.c [ 7%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateBuffer.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateBuffer.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateBuffer.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateBuffer.c.o -c /<>/lib/CL/clCreateBuffer.c [ 7%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/BarrierTailReplication.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/BarrierTailReplication.cc.o -MF CMakeFiles/llvmpasses.dir/BarrierTailReplication.cc.o.d -o CMakeFiles/llvmpasses.dir/BarrierTailReplication.cc.o -c /<>/lib/llvmopencl/BarrierTailReplication.cc In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/common.h:28, from /<>/lib/CL/clCreateBuffer.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clGetCommandQueueInfo.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 7%] Building C object lib/CL/devices/CMakeFiles/pocl-devices.dir/pocl_local_size.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/CMakeFiles/pocl-devices.dir/pocl_local_size.c.o -MF CMakeFiles/pocl-devices.dir/pocl_local_size.c.o.d -o CMakeFiles/pocl-devices.dir/pocl_local_size.c.o -c /<>/lib/CL/devices/pocl_local_size.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/pocl_local_size.h:27, from /<>/lib/CL/devices/pocl_local_size.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 7%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/BreakConstantGEPs.cpp.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/BreakConstantGEPs.cpp.o -MF CMakeFiles/llvmpasses.dir/BreakConstantGEPs.cpp.o.d -o CMakeFiles/llvmpasses.dir/BreakConstantGEPs.cpp.o -c /<>/lib/llvmopencl/BreakConstantGEPs.cpp In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:19, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/AutomaticLocals.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ /<>/lib/CL/devices/pocl_local_size.c: In function ‘gcd’: /<>/lib/CL/devices/pocl_local_size.c:34:11: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 34 | c = a; | ^ /<>/lib/CL/devices/pocl_local_size.c:36:11: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 36 | b = c; | ^ [ 8%] Building SLEEF to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleefdp.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -DPOCL_DEVICE_ADDRESS_BITS=64 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -DDORENAME -DPURE_C -I/<>/lib/kernel/sleef/include -I /<>/lib/kernel/sleef/arch -I /<>/lib/kernel/sleef/libm -I /<>/lib/kernel/sleef/include -O1 -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleefdp.c.bc -c /<>/lib/kernel/sleef/libm/sleefdp.c In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/AutomaticLocals.cc:30: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 8%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubBuffer.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubBuffer.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubBuffer.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubBuffer.c.o -c /<>/lib/CL/clCreateSubBuffer.c In file included from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:17, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/clang/Basic/DiagnosticIDs.h: In static member function ‘static clang::DiagnosticMapping clang::DiagnosticMapping::Make(clang::diag::Severity, bool, bool)’: /usr/lib/llvm-11/include/clang/Basic/DiagnosticIDs.h:110:23: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 110 | Result.Severity = (unsigned)Severity; | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/DiagnosticIDs.h: In member function ‘void clang::DiagnosticMapping::setSeverity(clang::diag::Severity)’: /usr/lib/llvm-11/include/clang/Basic/DiagnosticIDs.h:120:55: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 120 | void setSeverity(diag::Severity Value) { Severity = (unsigned)Value; } | ^~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:18, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/clang/Basic/DiagnosticOptions.def: In member function ‘void clang::DiagnosticOptions::setFormat(clang::DiagnosticOptions::TextDiagnosticFormat)’: /usr/lib/llvm-11/include/clang/Basic/DiagnosticOptions.h:118:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 118 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/DiagnosticOptions.def:65:1: note: in expansion of macro ‘ENUM_DIAGOPT’ 65 | ENUM_DIAGOPT(Format, TextDiagnosticFormat, 2, Clang) /// Format for diagnostics: | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/DiagnosticOptions.def: In member function ‘void clang::DiagnosticOptions::setShowOverloads(clang::OverloadsShown)’: /usr/lib/llvm-11/include/clang/Basic/DiagnosticOptions.h:118:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:1’ may change value [-Wconversion] 118 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/DiagnosticOptions.def:69:1: note: in expansion of macro ‘ENUM_DIAGOPT’ 69 | ENUM_DIAGOPT(ShowOverloads, OverloadsShown, 1, | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/DiagnosticOptions.def: In member function ‘void clang::DiagnosticOptions::setVerifyIgnoreUnexpected(clang::DiagnosticLevelMask)’: /usr/lib/llvm-11/include/clang/Basic/DiagnosticOptions.h:118:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 118 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/DiagnosticOptions.def:74:1: note: in expansion of macro ‘ENUM_DIAGOPT’ 74 | ENUM_DIAGOPT(VerifyIgnoreUnexpected, DiagnosticLevelMask, 4, | ^~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/devices/../pocl_icd.h:26, from /<>/lib/CL/devices/../pocl_cl.h:56, from /<>/lib/CL/devices/devices.h:28, from /<>/lib/CL/clCreateSubBuffer.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 8%] Building C object lib/CL/devices/CMakeFiles/pocl-devices.dir/common_driver.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/CMakeFiles/pocl-devices.dir/common_driver.c.o -MF CMakeFiles/pocl-devices.dir/common_driver.c.o.d -o CMakeFiles/pocl-devices.dir/common_driver.c.o -c /<>/lib/CL/devices/common_driver.c In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:22, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:30, from /<>/lib/llvmopencl/AllocasToEntry.cc:31: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ [ 8%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillImage.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillImage.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillImage.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillImage.c.o -c /<>/lib/CL/clEnqueueFillImage.c In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:30, from /<>/lib/llvmopencl/AllocasToEntry.cc:31: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/common_driver.c:8: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_read’: /<>/lib/CL/devices/common_driver.c:40:25: warning: unused parameter ‘data’ [-Wunused-parameter] 40 | pocl_driver_read (void *data, void *__restrict__ host_ptr, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c:41:59: warning: unused parameter ‘src_buf’ [-Wunused-parameter] 41 | pocl_mem_identifier *src_mem_id, cl_mem src_buf, | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_write’: /<>/lib/CL/devices/common_driver.c:52:26: warning: unused parameter ‘data’ [-Wunused-parameter] 52 | pocl_driver_write (void *data, const void *__restrict__ host_ptr, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c:53:60: warning: unused parameter ‘dst_buf’ [-Wunused-parameter] 53 | pocl_mem_identifier *dst_mem_id, cl_mem dst_buf, | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_copy’: /<>/lib/CL/devices/common_driver.c:64:25: warning: unused parameter ‘data’ [-Wunused-parameter] 64 | pocl_driver_copy (void *data, pocl_mem_identifier *dst_mem_id, cl_mem dst_buf, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c:64:71: warning: unused parameter ‘dst_buf’ [-Wunused-parameter] 64 | pocl_driver_copy (void *data, pocl_mem_identifier *dst_mem_id, cl_mem dst_buf, | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c:65:59: warning: unused parameter ‘src_buf’ [-Wunused-parameter] 65 | pocl_mem_identifier *src_mem_id, cl_mem src_buf, | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_copy_with_size’: /<>/lib/CL/devices/common_driver.c:77:35: warning: unused parameter ‘data’ [-Wunused-parameter] 77 | pocl_driver_copy_with_size (void *data, pocl_mem_identifier *dst_mem_id, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c:78:36: warning: unused parameter ‘dst_buf’ [-Wunused-parameter] 78 | cl_mem dst_buf, pocl_mem_identifier *src_mem_id, | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c:79:36: warning: unused parameter ‘src_buf’ [-Wunused-parameter] 79 | cl_mem src_buf, | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c:81:36: warning: unused parameter ‘content_size_buf’ [-Wunused-parameter] 81 | cl_mem content_size_buf, size_t dst_offset, | ~~~~~~~^~~~~~~~~~~~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_copy_rect’: /<>/lib/CL/devices/common_driver.c:104:30: warning: unused parameter ‘data’ [-Wunused-parameter] 104 | pocl_driver_copy_rect (void *data, pocl_mem_identifier *dst_mem_id, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c:105:31: warning: unused parameter ‘dst_buf’ [-Wunused-parameter] 105 | cl_mem dst_buf, pocl_mem_identifier *src_mem_id, | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c:106:31: warning: unused parameter ‘src_buf’ [-Wunused-parameter] 106 | cl_mem src_buf, | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_write_rect’: /<>/lib/CL/devices/common_driver.c:162:31: warning: unused parameter ‘data’ [-Wunused-parameter] 162 | pocl_driver_write_rect (void *data, const void *__restrict__ const host_ptr, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c:163:65: warning: unused parameter ‘dst_buf’ [-Wunused-parameter] 163 | pocl_mem_identifier *dst_mem_id, cl_mem dst_buf, | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_read_rect’: /<>/lib/CL/devices/common_driver.c:221:30: warning: unused parameter ‘data’ [-Wunused-parameter] 221 | pocl_driver_read_rect (void *data, void *__restrict__ const host_ptr, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c:222:64: warning: unused parameter ‘src_buf’ [-Wunused-parameter] 222 | pocl_mem_identifier *src_mem_id, cl_mem src_buf, | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_memfill’: /<>/lib/CL/devices/common_driver.c:278:28: warning: unused parameter ‘data’ [-Wunused-parameter] 278 | pocl_driver_memfill (void *data, pocl_mem_identifier *dst_mem_id, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c:279:29: warning: unused parameter ‘dst_buf’ [-Wunused-parameter] 279 | cl_mem dst_buf, size_t size, size_t offset, | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_map_mem’: /<>/lib/CL/devices/common_driver.c:359:28: warning: unused parameter ‘data’ [-Wunused-parameter] 359 | pocl_driver_map_mem (void *data, pocl_mem_identifier *src_mem_id, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c:360:29: warning: unused parameter ‘src_buf’ [-Wunused-parameter] 360 | cl_mem src_buf, mem_mapping_t *map) | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_unmap_mem’: /<>/lib/CL/devices/common_driver.c:379:30: warning: unused parameter ‘data’ [-Wunused-parameter] 379 | pocl_driver_unmap_mem (void *data, pocl_mem_identifier *dst_mem_id, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c:380:31: warning: unused parameter ‘dst_buf’ [-Wunused-parameter] 380 | cl_mem dst_buf, mem_mapping_t *map) | ~~~~~~~^~~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_get_mapping_ptr’: /<>/lib/CL/devices/common_driver.c:400:22: warning: unused variable ‘src_device_ptr’ [-Wunused-variable] 400 | char *__restrict__ src_device_ptr = (char *)mem_id->mem_ptr; | ^~~~~~~~~~~~~~ /<>/lib/CL/devices/common_driver.c:397:36: warning: unused parameter ‘data’ [-Wunused-parameter] 397 | pocl_driver_get_mapping_ptr (void *data, pocl_mem_identifier *mem_id, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_free_mapping_ptr’: /<>/lib/CL/devices/common_driver.c:421:22: warning: unused variable ‘src_device_ptr’ [-Wunused-variable] 421 | char *__restrict__ src_device_ptr = (char *)mem_id->mem_ptr; | ^~~~~~~~~~~~~~ /<>/lib/CL/devices/common_driver.c:418:37: warning: unused parameter ‘data’ [-Wunused-parameter] 418 | pocl_driver_free_mapping_ptr (void *data, pocl_mem_identifier *mem_id, | ~~~~~~^~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_llvm_link_and_convert_spir’: /<>/lib/CL/devices/common_driver.c:451:7: warning: unused variable ‘error’ [-Wunused-variable] 451 | int error; | ^~~~~ /<>/lib/CL/devices/common_driver.c:448:38: warning: unused parameter ‘link_program’ [-Wunused-parameter] 448 | int link_program, int spir_build) | ~~~~^~~~~~~~~~~~ /<>/lib/CL/devices/common_driver.c:448:56: warning: unused parameter ‘spir_build’ [-Wunused-parameter] 448 | int link_program, int spir_build) | ~~~~^~~~~~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_free_program’: /<>/lib/CL/devices/common_driver.c:604:40: warning: unused parameter ‘device’ [-Wunused-parameter] 604 | pocl_driver_free_program (cl_device_id device, cl_program program, | ~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/devices/common_driver.c: In function ‘pocl_driver_setup_metadata’: /<>/lib/CL/devices/common_driver.c:614:42: warning: unused parameter ‘device’ [-Wunused-parameter] 614 | pocl_driver_setup_metadata (cl_device_id device, cl_program program, | ~~~~~~~~~~~~~^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/AllocasToEntry.cc:31: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/AllocasToEntry.cc:31: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clEnqueueFillImage.c:27: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h: In member function ‘void clang::DiagnosticBuilder::FlushCounts()’: /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:1091:28: warning: conversion from ‘unsigned int’ to ‘signed char’ may change value [-Wconversion] 1091 | DiagObj->NumDiagArgs = NumArgs; | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/AutomaticLocals.cc:31: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/AllocasToEntry.cc:31: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /<>/lib/CL/clEnqueueFillImage.c: In function ‘POclEnqueueFillImage’: /<>/lib/CL/clEnqueueFillImage.c:74:31: warning: conversion to ‘int’ from ‘cl_channel_order’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion] 74 | image->image_channel_order, image->image_elem_size, | ~~~~~^~~~~~~~~~~~~~~~~~~~~ /<>/lib/CL/clEnqueueFillImage.c:74:59: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 74 | image->image_channel_order, image->image_elem_size, | ~~~~~^~~~~~~~~~~~~~~~~ /<>/lib/CL/clEnqueueFillImage.c:75:31: warning: conversion to ‘int’ from ‘cl_channel_type’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion] 75 | image->image_channel_data_type); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/AutomaticLocals.cc:31: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h: In member function ‘unsigned int clang::Diagnostic::getNumRanges() const’: /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:1432:36: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1432 | return DiagObj->DiagRanges.size(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 8%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/abs.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/abs.cl.bc -c /<>/lib/kernel/abs.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h: In member function ‘unsigned int clang::Diagnostic::getNumFixItHints() const’: /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:1447:40: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1447 | return DiagObj->DiagFixItHints.size(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h: In member function ‘unsigned int clang::StoredDiagnostic::range_size() const’: /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:1507:51: warning: conversion from ‘std::vector >::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1507 | unsigned range_size() const { return Ranges.size(); } | ~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h: In member function ‘unsigned int clang::StoredDiagnostic::fixit_size() const’: /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:1517:51: warning: conversion from ‘std::vector >::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1517 | unsigned fixit_size() const { return FixIts.size(); } | ~~~~~~~~~~~^~ In file included from /<>/lib/llvmopencl/AllocasToEntry.cc:31: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Option/Option.h:15, from /usr/lib/llvm-11/include/llvm/Option/Arg.h:19, from /usr/lib/llvm-11/include/llvm/Option/ArgList.h:19, from /usr/lib/llvm-11/include/clang/Driver/Types.h:14, from /usr/lib/llvm-11/include/clang/Driver/Action.h:13, from /usr/lib/llvm-11/include/clang/Driver/Compilation.h:13, from /<>/lib/CL/pocl_llvm_build.cc:33: /usr/lib/llvm-11/include/llvm/Option/OptTable.h: In member function ‘unsigned int llvm::opt::OptTable::getNumOptions() const’: /usr/lib/llvm-11/include/llvm/Option/OptTable.h:89:59: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 89 | unsigned getNumOptions() const { return OptionInfos.size(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Option/ArgList.h:19, from /usr/lib/llvm-11/include/clang/Driver/Types.h:14, from /usr/lib/llvm-11/include/clang/Driver/Action.h:13, from /usr/lib/llvm-11/include/clang/Driver/Compilation.h:13, from /<>/lib/CL/pocl_llvm_build.cc:33: /usr/lib/llvm-11/include/llvm/Option/Arg.h: In member function ‘unsigned int llvm::opt::Arg::getNumValues() const’: /usr/lib/llvm-11/include/llvm/Option/Arg.h:111:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 111 | unsigned getNumValues() const { return Values.size(); } | ~~~~~~~~~~~^~ [ 8%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillBuffer.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillBuffer.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillBuffer.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillBuffer.c.o -c /<>/lib/CL/clEnqueueFillBuffer.c In file included from /usr/lib/llvm-11/include/clang/Driver/Types.h:14, from /usr/lib/llvm-11/include/clang/Driver/Action.h:13, from /usr/lib/llvm-11/include/clang/Driver/Compilation.h:13, from /<>/lib/CL/pocl_llvm_build.cc:33: /usr/lib/llvm-11/include/llvm/Option/ArgList.h: In member function ‘unsigned int llvm::opt::ArgList::size() const’: /usr/lib/llvm-11/include/llvm/Option/ArgList.h:185:43: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 185 | unsigned size() const { return Args.size(); } | ~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clEnqueueFillBuffer.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/AllocasToEntry.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /<>/lib/CL/pocl_cl.h:60, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clEnqueueFillBuffer.c:24: /<>/lib/CL/clEnqueueFillBuffer.c: In function ‘POclEnqueueFillBuffer’: /<>/lib/CL/clEnqueueFillBuffer.c:69:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 69 | POCL_RETURN_ERROR_ON((__builtin_popcount(pattern_size) > 1), CL_INVALID_VALUE, | ^~~~~~~~~~~~ /<>/lib/CL/pocl_debug.h:273:11: note: in definition of macro ‘POCL_RETURN_ERROR_ON’ 273 | if (cond) \ | ^~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/AllocasToEntry.cc:32: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ [ 8%] Building C object lib/CL/devices/CMakeFiles/pocl-devices.dir/cpuinfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/CMakeFiles/pocl-devices.dir/cpuinfo.c.o -MF CMakeFiles/pocl-devices.dir/cpuinfo.c.o.d -o CMakeFiles/pocl-devices.dir/cpuinfo.c.o -c /<>/lib/CL/devices/cpuinfo.c In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/AutomaticLocals.cc:31: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ [ 8%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBuffer.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBuffer.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBuffer.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBuffer.c.o -c /<>/lib/CL/clEnqueueReadBuffer.c In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/AutomaticLocals.cc:31: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/cpuinfo.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/devices/cpuinfo.c: In function ‘pocl_cpuinfo_detect_max_clock_frequency’: /<>/lib/CL/devices/cpuinfo.c:127:22: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 127 | int num_read = fread (contents, 1, MAX_CPUINFO_SIZE - 1, f); | ^~~~~ /<>/lib/CL/devices/cpuinfo.c: In function ‘pocl_cpuinfo_detect_compute_unit_count’: /<>/lib/CL/devices/cpuinfo.c:176:22: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 176 | int num_read = fread (contents, 1, MAX_CPUINFO_SIZE - 1, f); | ^~~~~ /<>/lib/CL/devices/cpuinfo.c: In function ‘pocl_cpuinfo_get_cpu_name_and_vendor’: /<>/lib/CL/devices/cpuinfo.c:316:18: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 316 | int num_read = fread (contents, 1, MAX_CPUINFO_SIZE - 1, f); | ^~~~~ /<>/lib/CL/devices/cpuinfo.c:353:49: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion] 353 | char *_vendor = (char *)malloc (end - start + 1); | ~~~~~~~~~~~~^~~ /<>/lib/CL/devices/cpuinfo.c:356:31: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion] 356 | memcpy(_vendor, start, end-start); | ~~~^~~~~~ /<>/lib/CL/devices/cpuinfo.c:403:41: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 403 | int len = strlen (device->short_name) + (end-start) + 2; | ^ /<>/lib/CL/devices/cpuinfo.c:403:13: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion] 403 | int len = strlen (device->short_name) + (end-start) + 2; | ^~~~~~ /<>/lib/CL/devices/cpuinfo.c:404:35: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 404 | char *new_name = (char*)malloc (len); | ^~~ /<>/lib/CL/devices/cpuinfo.c:405:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 405 | snprintf (new_name, len, "%s-%s", device->short_name, start); | ^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueReadBuffer.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:30: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/clang/Basic/ObjCRuntime.h:21, from /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:19, from /usr/lib/llvm-11/include/clang/Driver/ToolChain.h:14, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:17, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/llvm/Support/VersionTuple.h: In constructor ‘llvm::VersionTuple::VersionTuple(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/VersionTuple.h:49:29: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 49 | : Major(Major), Minor(Minor), HasMinor(true), Subminor(0), | ^~~~~ /usr/lib/llvm-11/include/llvm/Support/VersionTuple.h: In constructor ‘llvm::VersionTuple::VersionTuple(unsigned int, unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/VersionTuple.h:53:29: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 53 | : Major(Major), Minor(Minor), HasMinor(true), Subminor(Subminor), | ^~~~~ /usr/lib/llvm-11/include/llvm/Support/VersionTuple.h:53:62: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 53 | : Major(Major), Minor(Minor), HasMinor(true), Subminor(Subminor), | ^~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/VersionTuple.h: In constructor ‘llvm::VersionTuple::VersionTuple(unsigned int, unsigned int, unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/VersionTuple.h:58:29: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 58 | : Major(Major), Minor(Minor), HasMinor(true), Subminor(Subminor), | ^~~~~ /usr/lib/llvm-11/include/llvm/Support/VersionTuple.h:58:62: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 58 | : Major(Major), Minor(Minor), HasMinor(true), Subminor(Subminor), | ^~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/VersionTuple.h:59:34: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 59 | HasSubminor(true), Build(Build), HasBuild(true) {} | ^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/AllocasToEntry.cc:32: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /<>/lib/llvmopencl/AutomaticLocals.cc:31: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ [ 9%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/abs_diff.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/abs_diff.cl.bc -c /<>/lib/kernel/abs_diff.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/AllocasToEntry.cc:32: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ [ 10%] Building C object lib/CL/devices/CMakeFiles/pocl-devices.dir/signal_handlers.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/CMakeFiles/pocl-devices.dir/signal_handlers.c.o -MF CMakeFiles/pocl-devices.dir/signal_handlers.c.o.d -o CMakeFiles/pocl-devices.dir/signal_handlers.c.o -c /<>/lib/CL/devices/signal_handlers.c /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/AllocasToEntry.cc:32: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ [ 10%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBufferRect.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBufferRect.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBufferRect.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBufferRect.c.o -c /<>/lib/CL/clEnqueueReadBufferRect.c In file included from /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:21, from /usr/lib/llvm-11/include/clang/Driver/ToolChain.h:14, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:17, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/clang/Basic/Visibility.h: In member function ‘void clang::LinkageInfo::setVisibility(clang::Visibility, bool)’: /usr/lib/llvm-11/include/clang/Basic/Visibility.h:57:60: warning: conversion from ‘uint8_t’ {aka ‘unsigned char’} to ‘unsigned char:2’ may change value [-Wconversion] 57 | void setVisibility(Visibility V, bool E) { visibility_ = V; explicit_ = E; } | ^ /usr/lib/llvm-11/include/clang/Basic/Visibility.h: In constructor ‘clang::LinkageInfo::LinkageInfo(clang::Linkage, clang::Visibility, bool)’: /usr/lib/llvm-11/include/clang/Basic/Visibility.h:62:16: warning: conversion from ‘uint8_t’ {aka ‘unsigned char’} to ‘unsigned char:3’ may change value [-Wconversion] 62 | : linkage_(L), visibility_(V), explicit_(E) { | ^ /usr/lib/llvm-11/include/clang/Basic/Visibility.h:62:20: warning: conversion from ‘uint8_t’ {aka ‘unsigned char’} to ‘unsigned char:2’ may change value [-Wconversion] 62 | : linkage_(L), visibility_(V), explicit_(E) { | ^~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/Visibility.h: In member function ‘void clang::LinkageInfo::setLinkage(clang::Linkage)’: /usr/lib/llvm-11/include/clang/Basic/Visibility.h:87:43: warning: conversion from ‘uint8_t’ {aka ‘unsigned char’} to ‘unsigned char:3’ may change value [-Wconversion] 87 | void setLinkage(Linkage L) { linkage_ = L; } | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/AllocasToEntry.cc:32: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/clang/Driver/ToolChain.h:14, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:17, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setLaxVectorConversions(clang::LangOptions::LaxVectorConversionKind)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:123:1: note: in expansion of macro ‘ENUM_LANGOPT’ 123 | ENUM_LANGOPT(LaxVectorConversions, LaxVectorConversionKind, 2, | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setCompilingModule(clang::LangOptions::CompilingModuleKind)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:58:6: note: in expansion of macro ‘ENUM_LANGOPT’ 58 | ENUM_LANGOPT(Name, Type, Bits, Default, Description) | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:63:6: note: in expansion of macro ‘COMPATIBLE_ENUM_LANGOPT’ 63 | COMPATIBLE_ENUM_LANGOPT(Name, Type, Bits, Default, Description) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:163:1: note: in expansion of macro ‘BENIGN_ENUM_LANGOPT’ 163 | BENIGN_ENUM_LANGOPT(CompilingModule, CompilingModuleKind, 2, CMK_None, | ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setMSPointerToMemberRepresentationMethod(clang::LangOptions::PragmaMSPointersToMembersKind)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:209:1: note: in expansion of macro ‘ENUM_LANGOPT’ 209 | ENUM_LANGOPT(MSPointerToMemberRepresentationMethod, PragmaMSPointersToMembersKind, 2, PPTMK_BestCase, "member-pointer representation method") | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setDefaultCallingConv(clang::LangOptions::DefaultCallingConvention)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:210:1: note: in expansion of macro ‘ENUM_LANGOPT’ 210 | ENUM_LANGOPT(DefaultCallingConv, DefaultCallingConvention, 3, DCC_None, "default calling convention") | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setDefaultFPContractMode(clang::LangOptions::FPModeKind)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:58:6: note: in expansion of macro ‘ENUM_LANGOPT’ 58 | ENUM_LANGOPT(Name, Type, Bits, Default, Description) | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:63:6: note: in expansion of macro ‘COMPATIBLE_ENUM_LANGOPT’ 63 | COMPATIBLE_ENUM_LANGOPT(Name, Type, Bits, Default, Description) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:274:1: note: in expansion of macro ‘BENIGN_ENUM_LANGOPT’ 274 | BENIGN_ENUM_LANGOPT(DefaultFPContractMode, FPModeKind, 2, FPM_Off, "FP contraction type") | ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setFPRoundingMode(clang::LangOptions::RoundingMode)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:58:6: note: in expansion of macro ‘ENUM_LANGOPT’ 58 | ENUM_LANGOPT(Name, Type, Bits, Default, Description) | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:63:6: note: in expansion of macro ‘COMPATIBLE_ENUM_LANGOPT’ 63 | COMPATIBLE_ENUM_LANGOPT(Name, Type, Bits, Default, Description) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:276:1: note: in expansion of macro ‘BENIGN_ENUM_LANGOPT’ 276 | BENIGN_ENUM_LANGOPT(FPRoundingMode, RoundingMode, 3, RoundingMode::NearestTiesToEven, "FP Rounding Mode type") | ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setFPExceptionMode(clang::LangOptions::FPExceptionModeKind)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:58:6: note: in expansion of macro ‘ENUM_LANGOPT’ 58 | ENUM_LANGOPT(Name, Type, Bits, Default, Description) | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:63:6: note: in expansion of macro ‘COMPATIBLE_ENUM_LANGOPT’ 63 | COMPATIBLE_ENUM_LANGOPT(Name, Type, Bits, Default, Description) | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:277:1: note: in expansion of macro ‘BENIGN_ENUM_LANGOPT’ 277 | BENIGN_ENUM_LANGOPT(FPExceptionMode, FPExceptionModeKind, 2, FPE_Ignore, "FP Exception Behavior Mode type") | ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setAddressSpaceMapMangling(clang::LangOptions::AddrSpaceMapMangling)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:289:1: note: in expansion of macro ‘ENUM_LANGOPT’ 289 | ENUM_LANGOPT(AddressSpaceMapMangling , AddrSpaceMapMangling, 2, ASMM_Target, "OpenCL address space map mangling mode") | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setGC(clang::LangOptions::GCMode)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:299:1: note: in expansion of macro ‘ENUM_LANGOPT’ 299 | ENUM_LANGOPT(GC, GCMode, 2, NonGC, "Objective-C Garbage Collection mode") | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setValueVisibilityMode(clang::LangOptions::Visibility)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:300:1: note: in expansion of macro ‘ENUM_LANGOPT’ 300 | ENUM_LANGOPT(ValueVisibilityMode, Visibility, 3, DefaultVisibility, | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setTypeVisibilityMode(clang::LangOptions::Visibility)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:302:1: note: in expansion of macro ‘ENUM_LANGOPT’ 302 | ENUM_LANGOPT(TypeVisibilityMode, Visibility, 3, DefaultVisibility, | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setStackProtector(clang::LangOptions::StackProtectorMode)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:308:1: note: in expansion of macro ‘ENUM_LANGOPT’ 308 | ENUM_LANGOPT(StackProtector, StackProtectorMode, 2, SSPOff, | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setTrivialAutoVarInit(clang::LangOptions::TrivialAutoVarInitKind)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:310:1: note: in expansion of macro ‘ENUM_LANGOPT’ 310 | ENUM_LANGOPT(TrivialAutoVarInit, TrivialAutoVarInitKind, 2, TrivialAutoVarInitKind::Uninitialized, | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setSignedOverflowBehavior(clang::LangOptions::SignedOverflowBehaviorTy)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:314:1: note: in expansion of macro ‘ENUM_LANGOPT’ 314 | ENUM_LANGOPT(SignedOverflowBehavior, SignedOverflowBehaviorTy, 2, SOB_Undefined, | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setVtorDispMode(clang::LangOptions::MSVtorDispMode)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:332:1: note: in expansion of macro ‘ENUM_LANGOPT’ 332 | ENUM_LANGOPT(VtorDispMode, MSVtorDispMode, 2, MSVtorDispMode::ForVBaseOverride, | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setClangABICompat(clang::LangOptions::ClangABI)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:358:1: note: in expansion of macro ‘ENUM_LANGOPT’ 358 | ENUM_LANGOPT(ClangABICompat, ClangABI, 4, ClangABI::Latest, | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setSignReturnAddressScope(clang::LangOptions::SignReturnAddressScopeKind)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:374:1: note: in expansion of macro ‘ENUM_LANGOPT’ 374 | ENUM_LANGOPT(SignReturnAddressScope, SignReturnAddressScopeKind, 2, SignReturnAddressScopeKind::None, | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def: In member function ‘void clang::LangOptions::setSignReturnAddressKey(clang::LangOptions::SignReturnAddressKeyKind)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:306:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:1’ may change value [-Wconversion] 306 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/LangOptions.def:376:1: note: in expansion of macro ‘ENUM_LANGOPT’ 376 | ENUM_LANGOPT(SignReturnAddressKey, SignReturnAddressKeyKind, 1, SignReturnAddressKeyKind::AKey, | ^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Driver/ToolChain.h:14, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:17, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h: In constructor ‘clang::FPOptions::FPOptions(unsigned int)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:398:53: warning: conversion from ‘unsigned int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 398 | explicit FPOptions(unsigned I) { getFromOpaqueInt(I); } | ^ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptions::setFPContractMode(clang::LangOptions::FPModeKind)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:450:35: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 450 | Value = (Value & ~NAME##Mask) | (storage_type(value) << NAME##Shift); \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:16:1: note: in expansion of macro ‘OPTION’ 16 | OPTION(FPContractMode, LangOptions::FPModeKind, 2, First) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptions::setRoundingMode(clang::FPOptions::RoundingMode)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:450:35: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 450 | Value = (Value & ~NAME##Mask) | (storage_type(value) << NAME##Shift); \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:17:1: note: in expansion of macro ‘OPTION’ 17 | OPTION(RoundingMode, RoundingMode, 3, FPContractMode) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptions::setFPExceptionMode(clang::LangOptions::FPExceptionModeKind)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:450:35: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 450 | Value = (Value & ~NAME##Mask) | (storage_type(value) << NAME##Shift); \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:18:1: note: in expansion of macro ‘OPTION’ 18 | OPTION(FPExceptionMode, LangOptions::FPExceptionModeKind, 2, RoundingMode) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptions::setAllowFEnvAccess(bool)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:450:35: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 450 | Value = (Value & ~NAME##Mask) | (storage_type(value) << NAME##Shift); \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:19:1: note: in expansion of macro ‘OPTION’ 19 | OPTION(AllowFEnvAccess, bool, 1, FPExceptionMode) | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Argument.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:25, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptions::setAllowFPReassociate(bool)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:450:35: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 450 | Value = (Value & ~NAME##Mask) | (storage_type(value) << NAME##Shift); \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:20:1: note: in expansion of macro ‘OPTION’ 20 | OPTION(AllowFPReassociate, bool, 1, AllowFEnvAccess) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptions::setNoHonorNaNs(bool)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:450:35: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 450 | Value = (Value & ~NAME##Mask) | (storage_type(value) << NAME##Shift); \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:21:1: note: in expansion of macro ‘OPTION’ 21 | OPTION(NoHonorNaNs, bool, 1, AllowFPReassociate) | ^~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueReadBufferRect.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptions::setNoHonorInfs(bool)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:450:35: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 450 | Value = (Value & ~NAME##Mask) | (storage_type(value) << NAME##Shift); \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:22:1: note: in expansion of macro ‘OPTION’ 22 | OPTION(NoHonorInfs, bool, 1, NoHonorNaNs) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptions::setNoSignedZero(bool)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:450:35: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 450 | Value = (Value & ~NAME##Mask) | (storage_type(value) << NAME##Shift); \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:23:1: note: in expansion of macro ‘OPTION’ 23 | OPTION(NoSignedZero, bool, 1, NoHonorInfs) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptions::setAllowReciprocal(bool)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:450:35: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 450 | Value = (Value & ~NAME##Mask) | (storage_type(value) << NAME##Shift); \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:24:1: note: in expansion of macro ‘OPTION’ 24 | OPTION(AllowReciprocal, bool, 1, NoSignedZero) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptions::setAllowApproxFunc(bool)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:450:35: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 450 | Value = (Value & ~NAME##Mask) | (storage_type(value) << NAME##Shift); \ | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:25:1: note: in expansion of macro ‘OPTION’ 25 | OPTION(AllowApproxFunc, bool, 1, AllowReciprocal) | ^~~~~~ In file included from /usr/lib/llvm-11/include/clang/Driver/ToolChain.h:14, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:17, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h: In member function ‘void clang::FPOptionsOverride::getFromOpaqueInt(unsigned int)’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:503:32: warning: conversion from ‘unsigned int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 503 | Options.getFromOpaqueInt(I >> 16); | ~~^~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptionsOverride::clearFPContractModeOverride()’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:530:18: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 530 | OverrideMask &= ~FPOptions::NAME##Mask; \ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:16:1: note: in expansion of macro ‘OPTION’ 16 | OPTION(FPContractMode, LangOptions::FPModeKind, 2, First) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptionsOverride::clearRoundingModeOverride()’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:530:18: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 530 | OverrideMask &= ~FPOptions::NAME##Mask; \ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:17:1: note: in expansion of macro ‘OPTION’ 17 | OPTION(RoundingMode, RoundingMode, 3, FPContractMode) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptionsOverride::clearFPExceptionModeOverride()’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:530:18: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 530 | OverrideMask &= ~FPOptions::NAME##Mask; \ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:18:1: note: in expansion of macro ‘OPTION’ 18 | OPTION(FPExceptionMode, LangOptions::FPExceptionModeKind, 2, RoundingMode) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptionsOverride::clearAllowFEnvAccessOverride()’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:530:18: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 530 | OverrideMask &= ~FPOptions::NAME##Mask; \ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:19:1: note: in expansion of macro ‘OPTION’ 19 | OPTION(AllowFEnvAccess, bool, 1, FPExceptionMode) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptionsOverride::clearAllowFPReassociateOverride()’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:530:18: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 530 | OverrideMask &= ~FPOptions::NAME##Mask; \ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:20:1: note: in expansion of macro ‘OPTION’ 20 | OPTION(AllowFPReassociate, bool, 1, AllowFEnvAccess) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptionsOverride::clearNoHonorNaNsOverride()’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:530:18: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 530 | OverrideMask &= ~FPOptions::NAME##Mask; \ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:21:1: note: in expansion of macro ‘OPTION’ 21 | OPTION(NoHonorNaNs, bool, 1, AllowFPReassociate) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptionsOverride::clearNoHonorInfsOverride()’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:530:18: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 530 | OverrideMask &= ~FPOptions::NAME##Mask; \ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:22:1: note: in expansion of macro ‘OPTION’ 22 | OPTION(NoHonorInfs, bool, 1, NoHonorNaNs) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptionsOverride::clearNoSignedZeroOverride()’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:530:18: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 530 | OverrideMask &= ~FPOptions::NAME##Mask; \ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:23:1: note: in expansion of macro ‘OPTION’ 23 | OPTION(NoSignedZero, bool, 1, NoHonorInfs) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptionsOverride::clearAllowReciprocalOverride()’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:530:18: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 530 | OverrideMask &= ~FPOptions::NAME##Mask; \ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:24:1: note: in expansion of macro ‘OPTION’ 24 | OPTION(AllowReciprocal, bool, 1, NoSignedZero) | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def: In member function ‘void clang::FPOptionsOverride::clearAllowApproxFuncOverride()’: /usr/lib/llvm-11/include/clang/Basic/LangOptions.h:530:18: warning: conversion from ‘int’ to ‘clang::FPOptions::storage_type’ {aka ‘short unsigned int’} may change value [-Wconversion] 530 | OverrideMask &= ~FPOptions::NAME##Mask; \ /usr/lib/llvm-11/include/clang/Basic/FPOptions.def:25:1: note: in expansion of macro ‘OPTION’ 25 | OPTION(AllowApproxFunc, bool, 1, AllowReciprocal) | ^~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/AllocasToEntry.cc:32: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Driver/ToolChain.h:17, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:17, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/clang/Driver/Multilib.h: In member function ‘unsigned int clang::driver::MultilibSet::size() const’: /usr/lib/llvm-11/include/clang/Driver/Multilib.h:169:48: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 169 | unsigned size() const { return Multilibs.size(); } | ~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/clang/Driver/ToolChain.h:19, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:17, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/include/pocl_cache.h:27, from /<>/lib/CL/devices/signal_handlers.c:19: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /<>/lib/llvmopencl/AllocasToEntry.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /<>/lib/CL/devices/signal_handlers.c: In function ‘format_int’: /<>/lib/CL/devices/signal_handlers.c:47:22: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 47 | unsigned dig = num % 10; | ^~~ /<>/lib/CL/devices/signal_handlers.c:49:46: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 49 | out[FORMATTED_ULONG_MAX_LEN - 1 - i] = 48 + dig; | ^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ [ 11%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapBuffer.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapBuffer.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapBuffer.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapBuffer.c.o -c /<>/lib/CL/clEnqueueMapBuffer.c In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 11%] Built target pocl-devices make -f tests/kernel/CMakeFiles/test_shuffle.dir/build.make tests/kernel/CMakeFiles/test_shuffle.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/kernel /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/kernel /<>/obj-riscv64-linux-gnu/tests/kernel/CMakeFiles/test_shuffle.dir/DependInfo.cmake --color= In file included from /usr/lib/llvm-11/include/llvm/Support/Allocator.h:22, from /usr/lib/llvm-11/include/llvm/Support/StringSaver.h:15, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:24, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/kernel/CMakeFiles/test_shuffle.dir/build.make tests/kernel/CMakeFiles/test_shuffle.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ [ 11%] Building CXX object tests/kernel/CMakeFiles/test_shuffle.dir/test_shuffle.cc.o cd /<>/obj-riscv64-linux-gnu/tests/kernel && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/kernel\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -MD -MT tests/kernel/CMakeFiles/test_shuffle.dir/test_shuffle.cc.o -MF CMakeFiles/test_shuffle.dir/test_shuffle.cc.o.d -o CMakeFiles/test_shuffle.dir/test_shuffle.cc.o -c /<>/tests/kernel/test_shuffle.cc /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:30: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueMapBuffer.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:30: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ [ 11%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/add_sat.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/add_sat.cl.bc -c /<>/lib/kernel/add_sat.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:30: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:30: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/clang/AST/Type.h:22, from /usr/lib/llvm-11/include/clang/AST/CanonicalType.h:17, from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:19, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/TemplateName.h: In constructor ‘clang::UncommonTemplateNameStorage::UncommonTemplateNameStorage(clang::UncommonTemplateNameStorage::Kind, unsigned int)’: /usr/lib/llvm-11/include/clang/AST/TemplateName.h:71:17: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 71 | Bits.Kind = kind; | ^~~~ /usr/lib/llvm-11/include/clang/AST/TemplateName.h:72:17: warning: conversion from ‘unsigned int’ to ‘unsigned int:30’ may change value [-Wconversion] 72 | Bits.Size = size; | ^~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:30: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/AllocasToEntry.h:30, from /<>/lib/llvmopencl/AllocasToEntry.cc:34: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:30: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ [ 11%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueUnmapMemObject.c.o In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueUnmapMemObject.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueUnmapMemObject.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueUnmapMemObject.c.o -c /<>/lib/CL/clEnqueueUnmapMemObject.c /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ In file included from /usr/lib/llvm-11/include/clang/AST/CanonicalType.h:17, from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:19, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/Type.h: In constructor ‘clang::Type::Type(clang::Type::TypeClass, clang::QualType, clang::TypeDependence)’: /usr/lib/llvm-11/include/clang/AST/Type.h:1856:19: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 1856 | TypeBits.TC = tc; | ^~ /usr/lib/llvm-11/include/clang/AST/Type.h:1857:27: warning: conversion from ‘unsigned int’ to ‘unsigned char:5’ may change value [-Wconversion] 1857 | TypeBits.Dependence = static_cast(Dependence); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Type.h: In member function ‘void clang::Type::setDependence(clang::TypeDependence)’: /usr/lib/llvm-11/include/clang/AST/Type.h:1868:27: warning: conversion from ‘unsigned int’ to ‘unsigned char:5’ may change value [-Wconversion] 1868 | TypeBits.Dependence = static_cast(D); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/AST/CanonicalType.h:17, from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:19, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/Type.h: In constructor ‘clang::BuiltinType::BuiltinType(clang::BuiltinType::Kind)’: /usr/lib/llvm-11/include/clang/AST/Type.h:2529:28: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 2529 | BuiltinTypeBits.Kind = K; | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueUnmapMemObject.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/clang/AST/Type.h: In member function ‘clang::FunctionType::ExtParameterInfo clang::FunctionType::ExtParameterInfo::withABI(clang::ParameterABI) const’: /usr/lib/llvm-11/include/clang/AST/Type.h:3589:42: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 3589 | copy.Data = (copy.Data & ~ABIMask) | unsigned(kind); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Type.h: In member function ‘clang::FunctionType::ExtParameterInfo clang::FunctionType::ExtParameterInfo::withIsConsumed(bool) const’: /usr/lib/llvm-11/include/clang/AST/Type.h:3601:19: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 3601 | copy.Data &= ~IsConsumed; | ~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Type.h: In member function ‘clang::FunctionType::ExtParameterInfo clang::FunctionType::ExtParameterInfo::withIsNoEscape(bool) const’: /usr/lib/llvm-11/include/clang/AST/Type.h:3618:19: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 3618 | Copy.Data &= ~IsNoEscape; | ~~~~~~~~~~^~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Type.h: In constructor ‘clang::FunctionType::ExtInfo::ExtInfo(bool, bool, unsigned int, clang::CallingConv, bool, bool, bool, bool)’: /usr/lib/llvm-11/include/clang/AST/Type.h:3694:46: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 3690 | Bits = ((unsigned)cc) | (noReturn ? NoReturnMask : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3691 | (producesResult ? ProducesResultMask : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3692 | (noCallerSavedRegs ? NoCallerSavedRegsMask : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3693 | (hasRegParm ? ((regParm + 1) << RegParmOffset) : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3694 | (NoCfCheck ? NoCfCheckMask : 0) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 3695 | (cmseNSCall ? CmseNSCallMask : 0); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Type.h: In constructor ‘clang::FunctionType::FunctionType(clang::Type::TypeClass, clang::QualType, clang::QualType, clang::TypeDependence, clang::FunctionType::ExtInfo)’: /usr/lib/llvm-11/include/clang/AST/Type.h:3802:37: warning: conversion from ‘unsigned int’ to ‘short unsigned int:13’ may change value [-Wconversion] 3802 | FunctionTypeBits.ExtInfo = Info.Bits; | ~~~~~^~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:45, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/AST/Type.h: In constructor ‘clang::AttributedType::AttributedType(clang::QualType, clang::attr::Kind, clang::QualType, clang::QualType)’: /usr/lib/llvm-11/include/clang/AST/Type.h:4686:35: warning: conversion from ‘unsigned int’ to ‘short unsigned int:13’ may change value [-Wconversion] 4686 | AttributedTypeBits.AttrKind = attrKind; | ^~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Type.h: In constructor ‘clang::TemplateTypeParmType::TemplateTypeParmType(unsigned int, unsigned int, bool)’: /usr/lib/llvm-11/include/clang/AST/Type.h:4796:25: warning: conversion from ‘unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 4796 | CanTTPTInfo.Depth = D; | ^ /usr/lib/llvm-11/include/clang/AST/Type.h:4797:25: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 4797 | CanTTPTInfo.Index = I; | ^ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ /usr/lib/llvm-11/include/clang/AST/Type.h: In constructor ‘clang::TypeWithKeyword::TypeWithKeyword(clang::ElaboratedTypeKeyword, clang::Type::TypeClass, clang::QualType, clang::TypeDependence)’: /usr/lib/llvm-11/include/clang/AST/Type.h:5345:35: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 5345 | TypeWithKeywordBits.Keyword = Keyword; | ^~~~~~~ /usr/lib/llvm-11/include/clang/AST/Type.h: In member function ‘void clang::ObjCTypeParamType::setNumProtocolsImpl(unsigned int)’: /usr/lib/llvm-11/include/clang/AST/Type.h:5741:20: warning: conversion from ‘unsigned int’ to ‘unsigned char:6’ may change value [-Wconversion] 5741 | NumProtocols = N; | ^ /usr/lib/llvm-11/include/clang/AST/Type.h: In member function ‘void clang::ObjCObjectType::setNumProtocolsImpl(unsigned int)’: /usr/lib/llvm-11/include/clang/AST/Type.h:5828:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:6’ may change value [-Wconversion] 5828 | ObjCObjectTypeBits.NumProtocols = N; | ^ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/AllocasToEntry.h:31, from /<>/lib/llvmopencl/AllocasToEntry.cc:34: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarkerWithWaitList.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarkerWithWaitList.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarkerWithWaitList.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarkerWithWaitList.c.o -c /<>/lib/CL/clEnqueueMarkerWithWaitList.c In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/AllocasToEntry.h:31, from /<>/lib/llvmopencl/AllocasToEntry.cc:34: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueMarkerWithWaitList.c:23: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ [ 11%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrierWithWaitList.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrierWithWaitList.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrierWithWaitList.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrierWithWaitList.c.o -c /<>/lib/CL/clEnqueueBarrierWithWaitList.c In file included from /usr/lib/llvm-11/include/clang/AST/APValue.h:16, from /usr/lib/llvm-11/include/clang/AST/Decl.h:16, from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:22, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Basic/FixedPoint.h: In constructor ‘clang::FixedPointSemantics::FixedPointSemantics(unsigned int, unsigned int, bool, bool, bool)’: /usr/lib/llvm-11/include/clang/Basic/FixedPoint.h:37:15: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 37 | : Width(Width), Scale(Scale), IsSigned(IsSigned), | ^~~~~ /usr/lib/llvm-11/include/clang/Basic/FixedPoint.h:37:29: warning: conversion from ‘unsigned int’ to ‘short unsigned int:13’ may change value [-Wconversion] 37 | : Width(Width), Scale(Scale), IsSigned(IsSigned), | ^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ In file included from /usr/lib/llvm-11/include/clang/AST/Decl.h:16, from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:22, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/APValue.h: In static member function ‘static clang::DynamicAllocLValue clang::DynamicAllocLValue::getFromOpaqueValue(void*)’: /usr/lib/llvm-11/include/clang/AST/APValue.h:74:50: warning: conversion from ‘uintptr_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 74 | V.Index = reinterpret_cast(Value) >> NumLowBitsAvailable; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueBarrierWithWaitList.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ [ 11%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/all.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/all.cl.bc -c /<>/lib/kernel/all.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /<>/lib/CL/clEnqueueBarrierWithWaitList.c: In function ‘POclEnqueueBarrierWithWaitList’: /<>/lib/CL/clEnqueueBarrierWithWaitList.c:54:40: warning: conversion to ‘int’ from ‘cl_uint’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion] 54 | cmd->command.barrier.has_wait_list = num_events_in_wait_list; | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/AST/DeclarationName.h:18, from /usr/lib/llvm-11/include/clang/AST/DeclBase.h:18, from /usr/lib/llvm-11/include/clang/AST/Decl.h:19, from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:22, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h: In member function ‘unsigned int clang::IdentifierInfo::getLength() const’: /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h:157:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 157 | unsigned getLength() const { return Entry->getKeyLength(); } | ~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h: In member function ‘void clang::IdentifierInfo::revertIdentifierToTokenID(clang::tok::TokenKind)’: /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h:208:15: warning: conversion from ‘unsigned int’ to ‘short unsigned int:9’ may change value [-Wconversion] 208 | TokenID = TK; | ^~ /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h: In member function ‘void clang::IdentifierInfo::setObjCKeywordID(clang::tok::ObjCKeywordKind)’: /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h:226:70: warning: conversion from ‘unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 226 | void setObjCKeywordID(tok::ObjCKeywordKind ID) { ObjCOrBuiltinID = ID; } | ^~ /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h: In member function ‘void clang::IdentifierInfo::setBuiltinID(unsigned int)’: /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h:238:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 238 | ObjCOrBuiltinID = ID + tok::NUM_OBJC_KEYWORDS; | ~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h: In member function ‘void clang::IdentifierInfo::setObjCOrBuiltinID(unsigned int)’: /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h:244:60: warning: conversion from ‘unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 244 | void setObjCOrBuiltinID(unsigned ID) { ObjCOrBuiltinID = ID; } | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h: In member function ‘clang::IdentifierInfo& clang::IdentifierTable::get(llvm::StringRef, clang::tok::TokenKind)’: /usr/lib/llvm-11/include/clang/Basic/IdentifierTable.h:554:18: warning: conversion from ‘unsigned int’ to ‘short unsigned int:9’ may change value [-Wconversion] 554 | II.TokenID = TokenCode; | ^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/AllocasToEntry.h:31, from /<>/lib/llvmopencl/AllocasToEntry.cc:34: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ [ 11%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseMemObject.c.o /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseMemObject.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clReleaseMemObject.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseMemObject.c.o -c /<>/lib/CL/clReleaseMemObject.c In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:45, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/clang/AST/Decl.h:19, from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:22, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/DeclBase.h: In constructor ‘clang::Decl::Decl(clang::Decl::Kind, clang::DeclContext*, clang::SourceLocation)’: /usr/lib/llvm-11/include/clang/AST/DeclBase.h:382:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:7’ may change value [-Wconversion] 382 | DeclCtx(DC), Loc(L), DeclKind(DK), InvalidDecl(false), HasAttrs(false), | ^~ /usr/lib/llvm-11/include/clang/AST/DeclBase.h:385:58: warning: conversion from ‘unsigned int’ to ‘short unsigned int:14’ may change value [-Wconversion] 385 | IdentifierNamespace(getIdentifierNamespaceForKind(DK)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/lib/llvm-11/include/clang/AST/DeclBase.h: In constructor ‘clang::Decl::Decl(clang::Decl::Kind, clang::Decl::EmptyShell)’: /usr/lib/llvm-11/include/clang/AST/DeclBase.h:391:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:7’ may change value [-Wconversion] 391 | : DeclKind(DK), InvalidDecl(false), HasAttrs(false), Implicit(false), | ^~ /usr/lib/llvm-11/include/clang/AST/DeclBase.h:394:58: warning: conversion from ‘unsigned int’ to ‘short unsigned int:14’ may change value [-Wconversion] 394 | IdentifierNamespace(getIdentifierNamespaceForKind(DK)), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /usr/lib/llvm-11/include/clang/AST/DeclBase.h: In member function ‘void clang::Decl::setCachedLinkage(clang::Linkage) const’: /usr/lib/llvm-11/include/clang/AST/DeclBase.h:409:30: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 409 | CacheValidAndLinkage = L + 1; | ~~^~~ /usr/lib/llvm-11/include/clang/AST/DeclBase.h: In member function ‘void clang::Decl::setAccess(clang::AccessSpecifier)’: /usr/lib/llvm-11/include/clang/AST/DeclBase.h:474:14: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 474 | Access = AS; | ^~ /usr/lib/llvm-11/include/clang/AST/DeclBase.h: In member function ‘void clang::Decl::setLocalExternDecl()’: /usr/lib/llvm-11/include/clang/AST/DeclBase.h:1076:25: warning: conversion from ‘unsigned int’ to ‘short unsigned int:14’ may change value [-Wconversion] 1076 | IdentifierNamespace &= ~IDNS_Ordinary; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/DeclBase.h: In member function ‘void clang::Decl::setObjectOfFriendDecl(bool)’: /usr/lib/llvm-11/include/clang/AST/DeclBase.h:1115:25: warning: conversion from ‘unsigned int’ to ‘short unsigned int:14’ may change value [-Wconversion] 1115 | IdentifierNamespace &= ~(IDNS_Ordinary | IDNS_Tag | IDNS_Type); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/AllocasToEntry.h:31, from /<>/lib/llvmopencl/AllocasToEntry.cc:34: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/devices/../pocl_icd.h:26, from /<>/lib/CL/devices/../pocl_cl.h:56, from /<>/lib/CL/devices/devices.h:28, from /<>/lib/CL/clReleaseMemObject.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:33: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:22, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/Decl.h: In member function ‘void clang::VarDecl::setTSCSpec(clang::ThreadStorageClassSpecifier)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:1035:27: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 1035 | VarDeclBits.TSCSpec = TSC; | ^~~ /usr/lib/llvm-11/include/clang/AST/Decl.h: In member function ‘void clang::VarDecl::setInitStyle(clang::VarDecl::InitializationStyle)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:1296:29: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 1296 | VarDeclBits.InitStyle = Style; | ^~~~~ /usr/lib/llvm-11/include/clang/AST/Decl.h: In constructor ‘clang::ImplicitParamDecl::ImplicitParamDecl(clang::ASTContext&, clang::DeclContext*, clang::SourceLocation, clang::IdentifierInfo*, clang::QualType, clang::ImplicitParamDecl::ImplicitParamKind)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:1572:44: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 1572 | NonParmVarDeclBits.ImplicitParamKind = ParamKind; | ^~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Decl.h: In constructor ‘clang::ImplicitParamDecl::ImplicitParamDecl(clang::ASTContext&, clang::QualType, clang::ImplicitParamDecl::ImplicitParamKind)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:1580:44: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 1580 | NonParmVarDeclBits.ImplicitParamKind = ParamKind; | ^~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Decl.h: In member function ‘void clang::ParmVarDecl::setScopeInfo(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:1631:45: warning: conversion from ‘unsigned int’ to ‘unsigned char:7’ may change value [-Wconversion] 1631 | ParmVarDeclBits.ScopeDepthOrObjCQuals = scopeDepth; | ^~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Decl.h: In member function ‘void clang::ParmVarDecl::setObjCDeclQualifier(clang::Decl::ObjCDeclQualifier)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:1662:45: warning: conversion from ‘unsigned int’ to ‘unsigned char:7’ may change value [-Wconversion] 1662 | ParmVarDeclBits.ScopeDepthOrObjCQuals = QTVal; | ^~~~~ /usr/lib/llvm-11/include/clang/AST/Decl.h: In member function ‘void clang::ParmVarDecl::setParameterIndex(unsigned int)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:1754:38: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 1754 | ParmVarDeclBits.ParameterIndex = parameterIndex; | ^~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Decl.h: In member function ‘void clang::FunctionDecl::setConstexprKind(clang::ConstexprSpecKind)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:2202:38: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 2202 | FunctionDeclBits.ConstexprKind = CSK; | ^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Decl.h: In member function ‘void clang::FunctionDecl::setStorageClass(clang::StorageClass)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:2505:31: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 2505 | FunctionDeclBits.SClass = SClass; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/AST/Decl.h: In member function ‘void clang::TagDecl::setTagKind(clang::TagDecl::TagKind)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:3422:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 3422 | void setTagKind(TagKind TK) { TagDeclBits.TagDeclKind = TK; } | ^~ [ 12%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainMemObject.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainMemObject.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clRetainMemObject.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainMemObject.c.o -c /<>/lib/CL/clRetainMemObject.c /usr/lib/llvm-11/include/clang/AST/Decl.h: In member function ‘void clang::EnumDecl::setNumPositiveBits(unsigned int)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:3549:36: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 3549 | EnumDeclBits.NumPositiveBits = Num; | ^~~ /usr/lib/llvm-11/include/clang/AST/Decl.h: In member function ‘void clang::EnumDecl::setNumNegativeBits(unsigned int)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:3555:74: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned char’ may change value [-Wconversion] 3555 | void setNumNegativeBits(unsigned Num) { EnumDeclBits.NumNegativeBits = Num; } | ^~~ /usr/lib/llvm-11/include/clang/AST/Decl.h: In member function ‘void clang::RecordDecl::setArgPassingRestrictions(clang::RecordDecl::ArgPassingKind)’: /usr/lib/llvm-11/include/clang/AST/Decl.h:3929:45: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 3929 | RecordDeclBits.ArgPassingRestrictions = Kind; | ^~~~ In file included from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:28, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/RawCommentList.h: In constructor ‘clang::RawComment::RawComment(clang::SourceRange, clang::RawComment::CommentKind, bool, bool)’: /usr/lib/llvm-11/include/clang/AST/RawCommentList.h:166:65: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 166 | Range(SR), RawTextValid(false), BriefTextValid(false), Kind(K), | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /<>/lib/llvmopencl/AllocasToEntry.h:31, from /<>/lib/llvmopencl/AllocasToEntry.cc:34: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clRetainMemObject.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:63, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ [ 12%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetMemObjectInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetMemObjectInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetMemObjectInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetMemObjectInfo.c.o -c /<>/lib/CL/clGetMemObjectInfo.c In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/BreakConstantGEPs.h:24, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:38: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clGetMemObjectInfo.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/AutomaticLocals.cc:37: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /<>/lib/llvmopencl/AllocasToEntry.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /<>/lib/CL/clGetMemObjectInfo.c:24: /<>/lib/CL/clGetMemObjectInfo.c: In function ‘POclGetMemObjectInfo’: /<>/lib/CL/clGetMemObjectInfo.c:55:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘cl_uint’ {aka ‘unsigned int’} may change value [-Wconversion] 55 | POCL_RETURN_GETINFO (cl_uint, memobj->map_count); | ^~~~~~ /<>/lib/CL/pocl_util.h:255:11: note: in definition of macro ‘POCL_RETURN_GETINFO_INNER’ 255 | MEMASSIGN; \ | ^~~~~~~~~ /<>/lib/CL/clGetMemObjectInfo.c:55:5: note: in expansion of macro ‘POCL_RETURN_GETINFO’ 55 | POCL_RETURN_GETINFO (cl_uint, memobj->map_count); | ^~~~~~~~~~~~~~~~~~~ /<>/lib/CL/clGetMemObjectInfo.c:57:35: warning: conversion to ‘cl_uint’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 57 | POCL_RETURN_GETINFO (cl_uint, memobj->pocl_refcount); | ^~~~~~ /<>/lib/CL/pocl_util.h:255:11: note: in definition of macro ‘POCL_RETURN_GETINFO_INNER’ 255 | MEMASSIGN; \ | ^~~~~~~~~ /<>/lib/CL/clGetMemObjectInfo.c:57:5: note: in expansion of macro ‘POCL_RETURN_GETINFO’ 57 | POCL_RETURN_GETINFO (cl_uint, memobj->pocl_refcount); | ^~~~~~~~~~~~~~~~~~~ [ 12%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/any.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/any.cl.bc -c /<>/lib/kernel/any.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/BreakConstantGEPs.h:25, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:38: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 12%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetMemObjectDestructorCallback.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetMemObjectDestructorCallback.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clSetMemObjectDestructorCallback.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clSetMemObjectDestructorCallback.c.o -c /<>/lib/CL/clSetMemObjectDestructorCallback.c In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/AutomaticLocals.cc:41: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clSetMemObjectDestructorCallback.c:1: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /<>/lib/llvmopencl/AutomaticLocals.cc:41: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/AllocasToEntry.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/ASTContext.h: In function ‘void* operator new(size_t, const clang::ASTContext&, size_t)’: /usr/lib/llvm-11/include/clang/AST/ASTContext.h:3093:28: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3093 | return C.Allocate(Bytes, Alignment); | ^~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/ASTContext.h: In function ‘void* operator new [](size_t, const clang::ASTContext&, size_t)’: /usr/lib/llvm-11/include/clang/AST/ASTContext.h:3131:28: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3131 | return C.Allocate(Bytes, Alignment); | ^~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Basic/SourceManager.h:40, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:23, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:39: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:23, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Basic/SourceManager.h: In static member function ‘static clang::SrcMgr::SLocEntry clang::SrcMgr::SLocEntry::get(unsigned int, const clang::SrcMgr::FileInfo&)’: /usr/lib/llvm-11/include/clang/Basic/SourceManager.h:470:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 470 | E.Offset = Offset; | ^~~~~~ /usr/lib/llvm-11/include/clang/Basic/SourceManager.h: In static member function ‘static clang::SrcMgr::SLocEntry clang::SrcMgr::SLocEntry::get(unsigned int, const clang::SrcMgr::ExpansionInfo&)’: /usr/lib/llvm-11/include/clang/Basic/SourceManager.h:479:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 479 | E.Offset = Offset; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ [ 12%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithSource.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithSource.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithSource.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithSource.c.o -c /<>/lib/CL/clCreateProgramWithSource.c In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:39: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/Basic/SourceManager.h: In member function ‘void clang::SourceManager::setNumCreatedFIDsForFileID(clang::FileID, unsigned int, bool) const’: /usr/lib/llvm-11/include/clang/Basic/SourceManager.h:1048:70: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1048 | const_cast(Entry.getFile()).NumCreatedFIDs = NumFIDs; | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCreateProgramWithSource.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:19, from /<>/lib/llvmopencl/AllocasToEntry.cc:32: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 12%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/as_type.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/as_type.cl.bc -c /<>/lib/kernel/as_type.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/Basic/SourceManager.h: In member function ‘unsigned int clang::SourceManager::local_sloc_entry_size() const’: /usr/lib/llvm-11/include/clang/Basic/SourceManager.h:1645:75: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1645 | unsigned local_sloc_entry_size() const { return LocalSLocEntryTable.size(); } | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Basic/SourceManager.h: In member function ‘unsigned int clang::SourceManager::loaded_sloc_entry_size() const’: /usr/lib/llvm-11/include/clang/Basic/SourceManager.h:1654:77: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1654 | unsigned loaded_sloc_entry_size() const { return LoadedSLocEntryTable.size();} | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Lex/HeaderSearchOptions.h:13, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:25, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/ADT/CachedHashString.h: In constructor ‘llvm::CachedHashStringRef::CachedHashStringRef(llvm::StringRef, uint32_t)’: /usr/lib/llvm-11/include/llvm/ADT/CachedHashString.h:39:33: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 39 | : P(S.data()), Size(S.size()), Hash(Hash) { | ~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/CachedHashString.h: In constructor ‘llvm::CachedHashString::CachedHashString(llvm::StringRef, uint32_t)’: /usr/lib/llvm-11/include/llvm/ADT/CachedHashString.h:104:43: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 104 | : P(new char[S.size()]), Size(S.size()), Hash(Hash) { | ~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/AutomaticLocals.cc:46: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/AutomaticLocals.cc:46: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ [ 12%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBinary.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBinary.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBinary.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBinary.c.o -c /<>/lib/CL/clCreateProgramWithBinary.c /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_binary.h:27, from /<>/lib/CL/clCreateProgramWithBinary.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Lex/ModuleLoader.h:18, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:26, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Basic/Module.h: In member function ‘void clang::Module::setParent(clang::Module*)’: /usr/lib/llvm-11/include/clang/Basic/Module.h:486:59: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 486 | Parent->SubModuleIndex[Name] = Parent->SubModules.size(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/AllocasToEntry.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/AllocasToEntry.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:39: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:39: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /<>/lib/llvmopencl/AutomaticLocals.cc: In member function ‘llvm::Function* {anonymous}::AutomaticLocals::processAutomaticLocals(llvm::Function*)’: /<>/lib/llvmopencl/AutomaticLocals.cc:229:55: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 229 | setFuncArgAddressSpaceMD(NewKernel, F->arg_size() + i, | ~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:27, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h: In member function ‘unsigned int clang::PreprocessingRecord::getNumLoadedPreprocessedEntities() const’: /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h:369:45: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 369 | return LoadedPreprocessedEntities.size(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h: In member function ‘clang::PreprocessedEntity* clang::PreprocessingRecord::iterator::operator*() const’: /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h:446:35: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 446 | unsigned Index = isLoaded ? | ~~~~~~~~~^ 447 | Self->LoadedPreprocessedEntities.size() + this->I : this->I; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h: In member function ‘clang::PreprocessingRecord::iterator clang::PreprocessingRecord::end()’: /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h:461:54: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 461 | return iterator(this, PreprocessedEntities.size()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h: In member function ‘clang::PreprocessingRecord::iterator clang::PreprocessingRecord::local_end()’: /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h:471:54: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 471 | return iterator(this, PreprocessedEntities.size()); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h: In member function ‘llvm::iterator_range clang::PreprocessingRecord::getIteratorsForLoadedRange(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h:481:37: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 481 | iterator(this, int(start) - LoadedPreprocessedEntities.size()), | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h:482:35: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 482 | iterator(this, int(end) - LoadedPreprocessedEntities.size())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h: In function ‘void* operator new(size_t, clang::PreprocessingRecord&, unsigned int)’: /usr/lib/llvm-11/include/clang/Lex/PreprocessingRecord.h:566:22: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 566 | return PR.Allocate(bytes, alignment); | ^~~~~ [ 12%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/async_work_group_copy.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/async_work_group_copy.cl.bc -c /<>/lib/kernel/async_work_group_copy.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/clang/Lex/MacroInfo.h:17, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:19, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Lex/Token.h: In member function ‘void clang::Token::setFlag(clang::Token::TokenFlags)’: /usr/lib/llvm-11/include/clang/Lex/Token.h:237:11: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 237 | Flags |= Flag; | ~~~~~~^~~~~~~ /usr/lib/llvm-11/include/clang/Lex/Token.h: In member function ‘void clang::Token::clearFlag(clang::Token::TokenFlags)’: /usr/lib/llvm-11/include/clang/Lex/Token.h:247:11: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 247 | Flags &= ~Flag; | ~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:19, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Lex/MacroInfo.h: In member function ‘void clang::MacroInfo::setParameterList(llvm::ArrayRef, llvm::BumpPtrAllocator&)’: /usr/lib/llvm-11/include/clang/Lex/MacroInfo.h:171:30: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 171 | NumParameters = List.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Lex/MacroInfo.h: In member function ‘int clang::MacroInfo::getParameterNum(const clang::IdentifierInfo*) const’: /usr/lib/llvm-11/include/clang/Lex/MacroInfo.h:192:18: warning: conversion from ‘long int’ to ‘int’ may change value [-Wconversion] 192 | return I - param_begin(); | ~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Lex/MacroInfo.h: In member function ‘unsigned int clang::MacroInfo::getNumTokens() const’: /usr/lib/llvm-11/include/clang/Lex/MacroInfo.h:233:64: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 233 | unsigned getNumTokens() const { return ReplacementTokens.size(); } | ~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Lex/MacroInfo.h: In constructor ‘clang::MacroDirective::MacroDirective(clang::MacroDirective::Kind, clang::SourceLocation)’: /usr/lib/llvm-11/include/clang/Lex/MacroInfo.h:317:26: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 317 | : Loc(Loc), MDKind(K), IsFromPCH(false), IsPublic(true) {} | ^ /usr/lib/llvm-11/include/clang/Lex/MacroInfo.h: In constructor ‘clang::ModuleMacro::ModuleMacro(clang::Module*, clang::IdentifierInfo*, clang::MacroInfo*, llvm::ArrayRef)’: /usr/lib/llvm-11/include/clang/Lex/MacroInfo.h:509:36: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 509 | NumOverrides(Overrides.size()) { | ~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:39: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/clang/AST/ASTUnresolvedSet.h:19, from /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:18, from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:25, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/UnresolvedSet.h: In member function ‘unsigned int clang::UnresolvedSetImpl::size() const’: /usr/lib/llvm-11/include/clang/AST/UnresolvedSet.h:127:46: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned size() const { return decls().size(); } | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:18, from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:25, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/ASTUnresolvedSet.h: In member function ‘unsigned int clang::ASTUnresolvedSet::size() const’: /usr/lib/llvm-11/include/clang/AST/ASTUnresolvedSet.h:77:44: warning: conversion from ‘clang::ASTVector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 77 | unsigned size() const { return Decls.size(); } | ~~~~~~~~~~^~ [ 13%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithIL.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithIL.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithIL.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithIL.c.o -c /<>/lib/CL/clCreateProgramWithIL.c In file included from /usr/lib/llvm-11/include/clang/AST/Expr.h:23, from /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:22, from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:25, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/Stmt.h: In constructor ‘clang::Stmt::Stmt(clang::Stmt::StmtClass)’: /usr/lib/llvm-11/include/clang/AST/Stmt.h:1144:23: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 1144 | StmtBits.sClass = SC; | ^~ /usr/lib/llvm-11/include/clang/AST/Stmt.h: In constructor ‘clang::AttributedStmt::AttributedStmt(clang::SourceLocation, llvm::ArrayRef, clang::Stmt*)’: /usr/lib/llvm-11/include/clang/AST/Stmt.h:1819:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1819 | AttributedStmtBits.NumAttrs = Attrs.size(); | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/AST/Stmt.h:1819:46: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 1819 | AttributedStmtBits.NumAttrs = Attrs.size(); | ^ /usr/lib/llvm-11/include/clang/AST/Stmt.h: In constructor ‘clang::AttributedStmt::AttributedStmt(clang::Stmt::EmptyShell, unsigned int)’: /usr/lib/llvm-11/include/clang/AST/Stmt.h:1826:35: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 1826 | AttributedStmtBits.NumAttrs = NumAttrs; | ^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/BarrierTailReplication.cc:33: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/BarrierTailReplication.cc:33: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/include/pocl_cache.h:27, from /<>/lib/CL/clCreateProgramWithIL.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/BarrierTailReplication.cc:33: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/clang/AST/Expr.h:24, from /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:22, from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:25, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/TemplateBase.h: In constructor ‘clang::TemplateArgument::TemplateArgument(llvm::ArrayRef)’: /usr/lib/llvm-11/include/clang/AST/TemplateBase.h:221:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 221 | this->Args.NumArgs = Args.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/AST/TemplateBase.h: In member function ‘unsigned int clang::TemplateArgumentListInfo::size() const’: /usr/lib/llvm-11/include/clang/AST/TemplateBase.h:578:48: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 578 | unsigned size() const { return Arguments.size(); } | ~~~~~~~~~~~~~~^~ In file included from /<>/lib/llvmopencl/AutomaticLocals.cc:41: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] [ 13%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBuiltInKernels.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBuiltInKernels.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBuiltInKernels.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBuiltInKernels.c.o -c /<>/lib/CL/clCreateProgramWithBuiltInKernels.c In file included from /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:22, from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:25, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/Expr.h: In constructor ‘clang::Expr::Expr(clang::Stmt::StmtClass, clang::QualType, clang::ExprValueKind, clang::ExprObjectKind)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:124:26: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 124 | ExprBits.ValueKind = VK; | ^~ /usr/lib/llvm-11/include/clang/AST/Expr.h:125:27: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 125 | ExprBits.ObjectKind = OK; | ^~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘void clang::Expr::setDependence(clang::ExprDependence)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:136:26: warning: conversion from ‘unsigned int’ to ‘unsigned char:5’ may change value [-Wconversion] 136 | ExprBits.Dependent = static_cast(Deps); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘void clang::Expr::setValueKind(clang::ExprValueKind)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:446:63: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 446 | void setValueKind(ExprValueKind Cat) { ExprBits.ValueKind = Cat; } | ^~~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘void clang::Expr::setObjectKind(clang::ExprObjectKind)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:449:66: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 449 | void setObjectKind(ExprObjectKind Cat) { ExprBits.ObjectKind = Cat; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:25, from /usr/lib/llvm-11/include/llvm/Pass.h:317, from /<>/lib/llvmopencl/AutomaticLocals.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/clang/AST/Expr.h: In constructor ‘clang::CharacterLiteral::CharacterLiteral(unsigned int, clang::CharacterLiteral::CharacterKind, clang::QualType, clang::SourceLocation)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:1570:33: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 1570 | CharacterLiteralBits.Kind = kind; | ^~~~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘void clang::CharacterLiteral::setKind(clang::CharacterLiteral::CharacterKind)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:1588:66: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 1588 | void setKind(CharacterKind kind) { CharacterLiteralBits.Kind = kind; } | ^~~~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘void clang::FloatingLiteral::setRawSemantics(llvm::APFloatBase::Semantics)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:1636:37: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 1636 | FloatingLiteralBits.Semantics = Sem; | ^~~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘void clang::FloatingLiteral::setSemantics(const llvm::fltSemantics&)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:1648:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 1648 | FloatingLiteralBits.Semantics = llvm::APFloatBase::SemanticsToEnum(Sem); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCreateProgramWithBuiltInKernels.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘void clang::UnaryOperator::setOpcode(clang::UnaryOperator::Opcode)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:2176:56: warning: conversion from ‘unsigned int’ to ‘unsigned char:5’ may change value [-Wconversion] 2176 | void setOpcode(Opcode Opc) { UnaryOperatorBits.Opc = Opc; } | ^~~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘unsigned int clang::OffsetOfNode::getArrayExprIndex() const’: /usr/lib/llvm-11/include/clang/AST/Expr.h:2368:17: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 2368 | return Data >> 2; | ~~~~~^~~~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In constructor ‘clang::UnaryExprOrTypeTraitExpr::UnaryExprOrTypeTraitExpr(clang::UnaryExprOrTypeTrait, clang::TypeSourceInfo*, clang::QualType, clang::SourceLocation, clang::SourceLocation)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:2531:41: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 2531 | UnaryExprOrTypeTraitExprBits.Kind = ExprKind; | ^~~~~~~~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘void clang::UnaryExprOrTypeTraitExpr::setKind(clang::UnaryExprOrTypeTrait)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:2553:41: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 2553 | UnaryExprOrTypeTraitExprBits.Kind = K; | ^ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/Expr.h: In constructor ‘clang::CastExpr::CastExpr(clang::Stmt::StmtClass, clang::QualType, clang::ExprValueKind, clang::CastKind, clang::Expr*, unsigned int)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:3387:25: warning: conversion from ‘unsigned int’ to ‘unsigned char:6’ may change value [-Wconversion] 3387 | CastExprBits.Kind = kind; | ^~~~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘void clang::CastExpr::setCastKind(clang::CastKind)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:3407:54: warning: conversion from ‘unsigned int’ to ‘unsigned char:6’ may change value [-Wconversion] 3407 | void setCastKind(CastKind K) { CastExprBits.Kind = K; } | ^ /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘void clang::BinaryOperator::setOpcode(clang::BinaryOperator::Opcode)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:3691:57: warning: conversion from ‘unsigned int’ to ‘unsigned char:6’ may change value [-Wconversion] 3691 | void setOpcode(Opcode Opc) { BinaryOperatorBits.Opc = Opc; } | ^~~ [ 13%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/CanonicalizeBarriers.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/CanonicalizeBarriers.cc.o -MF CMakeFiles/llvmpasses.dir/CanonicalizeBarriers.cc.o.d -o CMakeFiles/llvmpasses.dir/CanonicalizeBarriers.cc.o -c /<>/lib/llvmopencl/CanonicalizeBarriers.cc [ 13%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseProgram.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseProgram.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clReleaseProgram.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseProgram.c.o -c /<>/lib/CL/clReleaseProgram.c /usr/lib/llvm-11/include/clang/AST/Expr.h: In member function ‘unsigned int clang::InitListExpr::getNumInits() const’: /usr/lib/llvm-11/include/clang/AST/Expr.h:4657:55: warning: conversion from ‘clang::ASTVector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4657 | unsigned getNumInits() const { return InitExprs.size(); } | ~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/AST/Expr.h: In constructor ‘clang::DesignatedInitExpr::DesignatedInitExpr(unsigned int)’: /usr/lib/llvm-11/include/clang/AST/Expr.h:4893:38: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 4893 | NumDesignators(0), NumSubExprs(NumSubExprs), Designators(nullptr) { } | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:39: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:39: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clReleaseProgram.c:33: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:29, from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:25, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In member function ‘void clang::BuiltinTypeLoc::setWrittenSignSpec(clang::TypeSpecifierSign)’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:615:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 615 | getWrittenBuiltinSpecs().Sign = written; | ^~~~~~~ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In member function ‘void clang::BuiltinTypeLoc::setWrittenWidthSpec(clang::TypeSpecifierWidth)’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:631:40: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 631 | getWrittenBuiltinSpecs().Width = written; | ^~~~~~~ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In member function ‘void clang::BuiltinTypeLoc::setWrittenTypeSpec(clang::TypeSpecifierType)’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:642:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:6’ may change value [-Wconversion] 642 | getWrittenBuiltinSpecs().Type = written; | ^~~~~~~ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In member function ‘unsigned int clang::ObjCObjectTypeLoc::getNumTypeArgs() const’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:941:59: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 941 | return this->getTypePtr()->getTypeArgsAsWritten().size(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In member function ‘unsigned int clang::ObjCObjectTypeLoc::getExtraLocalDataSize() const’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:1020:10: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1019 | return this->getNumTypeArgs() * sizeof(TypeSourceInfo *) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1020 | + this->getNumProtocols() * sizeof(SourceLocation); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In member function ‘unsigned int clang::FunctionTypeLoc::getExtraLocalDataSize() const’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:1458:53: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1458 | return (getNumParams() * sizeof(ParmVarDecl *)) + ExceptSpecSize; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ [ 13%] Linking CXX executable test_shuffle cd /<>/obj-riscv64-linux-gnu/tests/kernel && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_shuffle.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_shuffle.dir/test_shuffle.cc.o -o test_shuffle ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:25, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h: In constructor ‘clang::CXXBaseSpecifier::CXXBaseSpecifier(clang::SourceRange, bool, bool, clang::AccessSpecifier, clang::TypeSourceInfo*, clang::SourceLocation)’: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:186:14: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 186 | Access(A), InheritConstructors(false), BaseTypeInfo(TInfo) {} | ^ In file included from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:25, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h: In constructor ‘clang::CXXRecordDecl::LambdaDefinitionData::LambdaDefinitionData(clang::CXXRecordDecl*, clang::TypeSourceInfo*, bool, bool, clang::LambdaCaptureDefault)’: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:414:26: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 414 | CaptureDefault(CaptureDefault), NumCaptures(0), | ^~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/PassRegistry.h:19, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/AutomaticLocals.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ [ 13%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainProgram.c.o In file included from /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:25, from /usr/lib/llvm-11/include/llvm/Pass.h:317, from /<>/lib/llvmopencl/AutomaticLocals.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainProgram.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clRetainProgram.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainProgram.c.o -c /<>/lib/CL/clRetainProgram.c In file included from /usr/lib/llvm-11/include/llvm/PassRegistry.h:19, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/AutomaticLocals.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:44, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/clang/AST/DeclCXX.h: In member function ‘void clang::CXXRecordDecl::setLambdaMangling(unsigned int, clang::Decl*, bool)’: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:1762:38: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1762 | getLambdaData().ManglingNumber = ManglingNumber; | ^~~~~~~~~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' /usr/lib/llvm-11/include/clang/AST/DeclCXX.h: In member function ‘void clang::CXXCtorInitializer::setSourceOrder(int)’: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:2376:19: warning: conversion from ‘unsigned int’ to ‘short unsigned int:13’ may change value [-Wconversion] 2376 | SourceOrder = static_cast(Pos); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [ 13%] Built target test_shuffle /usr/lib/llvm-11/include/clang/AST/DeclCXX.h: In member function ‘void clang::CXXConstructorDecl::setNumCtorInitializers(unsigned int)’: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:2554:50: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int:21’ may change value [-Wconversion] 2554 | CXXConstructorDeclBits.NumCtorInitializers = numCtorInitializers; | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clRetainProgram.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 13%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clBuildProgram.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clBuildProgram.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clBuildProgram.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clBuildProgram.c.o -c /<>/lib/CL/clBuildProgram.c /usr/lib/llvm-11/include/clang/AST/DeclCXX.h: In member function ‘void clang::LinkageSpecDecl::setLanguage(clang::LinkageSpecDecl::LanguageIDs)’: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:2841:68: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 2841 | void setLanguage(LanguageIDs L) { LinkageSpecDeclBits.Language = L; } | ^ /usr/lib/llvm-11/include/clang/AST/DeclCXX.h: In member function ‘void clang::UsingShadowDecl::setTargetDecl(clang::NamedDecl*)’: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:3263:38: warning: conversion from ‘unsigned int’ to ‘short unsigned int:14’ may change value [-Wconversion] 3263 | ND->getIdentifierNamespace() & | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 3264 | ~(IDNS_OrdinaryFriend | IDNS_TagFriend | IDNS_LocalExtern); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/DeclCXX.h: In member function ‘unsigned int clang::UsingDecl::shadow_size() const’: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:3511:25: warning: conversion from ‘std::__iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3511 | return std::distance(shadow_begin(), shadow_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/DeclCXX.h: In constructor ‘clang::UsingPackDecl::UsingPackDecl(clang::DeclContext*, clang::NamedDecl*, llvm::ArrayRef)’: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:3565:74: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3565 | InstantiatedFrom(InstantiatedFrom), NumExpansions(UsingDecls.size()) { | ~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/AST/DeclCXX.h: In constructor ‘clang::DecompositionDecl::DecompositionDecl(clang::ASTContext&, clang::DeclContext*, clang::SourceLocation, clang::SourceLocation, clang::QualType, clang::TypeSourceInfo*, clang::StorageClass, llvm::ArrayRef)’: /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:3910:34: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3910 | NumBindings(Bindings.size()) { | ~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/BarrierTailReplication.cc:39: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/clang/Sema/ParsedAttr.h:18, from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:34, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h: In constructor ‘clang::AttributeCommonInfo::AttributeCommonInfo(const clang::IdentifierInfo*, const clang::IdentifierInfo*, clang::SourceRange, clang::SourceLocation, clang::AttributeCommonInfo::Syntax)’: /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:89:31: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 89 | AttrKind(getParsedKind(AttrName, ScopeName, SyntaxUsed)), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:90:20: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 90 | SyntaxUsed(SyntaxUsed), SpellingIndex(SpellingNotCalculated) {} | ^~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h: In constructor ‘clang::AttributeCommonInfo::AttributeCommonInfo(const clang::IdentifierInfo*, const clang::IdentifierInfo*, clang::SourceRange, clang::SourceLocation, clang::AttributeCommonInfo::Kind, clang::AttributeCommonInfo::Syntax)’: /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:96:38: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 96 | ScopeLoc(ScopeLoc), AttrKind(AttrKind), SyntaxUsed(SyntaxUsed), | ^~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:96:60: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 96 | ScopeLoc(ScopeLoc), AttrKind(AttrKind), SyntaxUsed(SyntaxUsed), | ^~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h: In constructor ‘clang::AttributeCommonInfo::AttributeCommonInfo(const clang::IdentifierInfo*, const clang::IdentifierInfo*, clang::SourceRange, clang::SourceLocation, clang::AttributeCommonInfo::Kind, clang::AttributeCommonInfo::Syntax, unsigned int)’: /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:104:38: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 104 | ScopeLoc(ScopeLoc), AttrKind(AttrKind), SyntaxUsed(SyntaxUsed), | ^~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:104:60: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 104 | ScopeLoc(ScopeLoc), AttrKind(AttrKind), SyntaxUsed(SyntaxUsed), | ^~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:105:23: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 105 | SpellingIndex(Spelling) {} | ^~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h: In constructor ‘clang::AttributeCommonInfo::AttributeCommonInfo(const clang::IdentifierInfo*, clang::SourceRange, clang::AttributeCommonInfo::Syntax)’: /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:110:43: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 110 | ScopeLoc(), AttrKind(getParsedKind(AttrName, ScopeName, SyntaxUsed)), | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:111:20: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 111 | SyntaxUsed(SyntaxUsed), SpellingIndex(SpellingNotCalculated) {} | ^~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h: In constructor ‘clang::AttributeCommonInfo::AttributeCommonInfo(clang::SourceRange, clang::AttributeCommonInfo::Kind, clang::AttributeCommonInfo::Syntax)’: /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:115:18: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 115 | AttrKind(K), SyntaxUsed(SyntaxUsed), | ^ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:115:33: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 115 | AttrKind(K), SyntaxUsed(SyntaxUsed), | ^~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h: In constructor ‘clang::AttributeCommonInfo::AttributeCommonInfo(clang::SourceRange, clang::AttributeCommonInfo::Kind, clang::AttributeCommonInfo::Syntax, unsigned int)’: /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:121:18: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 121 | AttrKind(K), SyntaxUsed(SyntaxUsed), SpellingIndex(Spelling) {} | ^ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:121:33: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 121 | AttrKind(K), SyntaxUsed(SyntaxUsed), SpellingIndex(Spelling) {} | ^~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:121:60: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 121 | AttrKind(K), SyntaxUsed(SyntaxUsed), SpellingIndex(Spelling) {} | ^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/BarrierTailReplication.cc:39: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h: In member function ‘void clang::AttributeCommonInfo::setAttributeSpellingListIndex(unsigned int)’: /usr/lib/llvm-11/include/clang/Basic/AttributeCommonInfo.h:173:68: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 173 | void setAttributeSpellingListIndex(unsigned V) { SpellingIndex = V; } | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ In file included from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:34, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Sema/ParsedAttr.h: In constructor ‘clang::ParsedAttrInfo::ParsedAttrInfo(clang::AttributeCommonInfo::Kind)’: /usr/lib/llvm-11/include/clang/Sema/ParsedAttr.h:72:18: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 72 | : AttrKind(AttrKind), NumArgs(0), OptArgs(0), HasCustomParsing(0), | ^~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ [ 13%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_build.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_build.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_build.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_build.c.o -c /<>/lib/CL/pocl_build.c /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ /usr/lib/llvm-11/include/clang/Sema/ParsedAttr.h: In constructor ‘clang::ParsedAttr::ParsedAttr(clang::IdentifierInfo*, clang::SourceRange, clang::IdentifierInfo*, clang::SourceLocation, clang::ArgsUnion*, unsigned int, clang::AttributeCommonInfo::Syntax, clang::SourceLocation)’: /usr/lib/llvm-11/include/clang/Sema/ParsedAttr.h:288:43: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 288 | EllipsisLoc(ellipsisLoc), NumArgs(numArgs), Invalid(false), | ^~~~~~~ /usr/lib/llvm-11/include/clang/Sema/ParsedAttr.h: In member function ‘void clang::ParsedAttr::setProcessingCache(unsigned int) const’: /usr/lib/llvm-11/include/clang/Sema/ParsedAttr.h:438:23: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 438 | ProcessingCache = value; | ^~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ [ 13%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/async_work_group_strided_copy.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/async_work_group_strided_copy.cl.bc -c /<>/lib/kernel/async_work_group_strided_copy.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clBuildProgram.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/PassRegistry.h:19, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/AutomaticLocals.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/IR/ValueMap.h:104:9: required from ‘llvm::ValueMap::ValueMap(unsigned int) [with KeyT = const llvm::Value*; ValueT = llvm::WeakTrackingVH; Config = llvm::ValueMapConfig >]’ /<>/lib/llvmopencl/AutomaticLocals.cc:206:21: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:25, from /usr/lib/llvm-11/include/llvm/Pass.h:317, from /<>/lib/llvmopencl/AutomaticLocals.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = std::__cxx11::basic_string; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:216:75: required from ‘llvm::SmallVectorTemplateBase >::SmallVectorTemplateBase(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = std::__cxx11::basic_string]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:886:39: required from ‘llvm::SmallVector::SmallVector() [with T = std::__cxx11::basic_string; unsigned int N = 2]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:992:31: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_build.c:40: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In member function ‘void clang::ObjCDeclSpec::setObjCDeclQualifier(clang::ObjCDeclSpec::ObjCDeclQualifier)’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:855:25: warning: conversion from ‘unsigned int’ to ‘unsigned char:7’ may change value [-Wconversion] 855 | objcDeclQualifier = (ObjCDeclQualifier) (objcDeclQualifier | DQVal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In member function ‘void clang::ObjCDeclSpec::clearObjCDeclQualifier(clang::ObjCDeclSpec::ObjCDeclQualifier)’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:858:25: warning: conversion from ‘unsigned int’ to ‘unsigned char:7’ may change value [-Wconversion] 858 | objcDeclQualifier = (ObjCDeclQualifier) (objcDeclQualifier & ~DQVal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In member function ‘void clang::ObjCDeclSpec::setPropertyAttributes(clang::ObjCPropertyAttribute::Kind)’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:866:9: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 866 | (ObjCPropertyAttribute::Kind)(PropertyAttributes | PRVal); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In member function ‘void clang::ObjCDeclSpec::setNullability(clang::SourceLocation, clang::NullabilityKind)’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:890:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 890 | Nullability = static_cast(kind); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/PassRegistry.h:19, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/AutomaticLocals.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/AutomaticLocals.cc:33: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ [ 14%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCompileProgram.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCompileProgram.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCompileProgram.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCompileProgram.c.o -c /<>/lib/CL/clCompileProgram.c /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In static member function ‘static clang::DeclaratorChunk clang::DeclaratorChunk::getPointer(unsigned int, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation, clang::SourceLocation)’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:1577:29: warning: conversion from ‘unsigned int’ to ‘unsigned char:5’ may change value [-Wconversion] 1577 | I.Ptr.TypeQuals = TypeQuals; | ^~~~~~~~~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In static member function ‘static clang::DeclaratorChunk clang::DeclaratorChunk::getArray(unsigned int, bool, bool, clang::Expr*, clang::SourceLocation, clang::SourceLocation)’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:1605:23: warning: conversion from ‘unsigned int’ to ‘unsigned char:5’ may change value [-Wconversion] 1605 | I.Arr.TypeQuals = TypeQuals; | ^~~~~~~~~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In static member function ‘static clang::DeclaratorChunk clang::DeclaratorChunk::getBlockPointer(unsigned int, clang::SourceLocation)’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:1644:23: warning: conversion from ‘unsigned int’ to ‘unsigned char:5’ may change value [-Wconversion] 1644 | I.Cls.TypeQuals = TypeQuals; | ^~~~~~~~~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In static member function ‘static clang::DeclaratorChunk clang::DeclaratorChunk::getPipe(unsigned int, clang::SourceLocation)’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:1654:23: warning: conversion from ‘unsigned int’ to ‘unsigned char:5’ may change value [-Wconversion] 1654 | I.Cls.TypeQuals = TypeQuals; | ^~~~~~~~~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In static member function ‘static clang::DeclaratorChunk clang::DeclaratorChunk::getMemberPointer(const clang::CXXScopeSpec&, unsigned int, clang::SourceLocation, clang::SourceLocation)’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:1667:23: warning: conversion from ‘unsigned int’ to ‘unsigned char:5’ may change value [-Wconversion] 1667 | I.Mem.TypeQuals = TypeQuals; | ^~~~~~~~~ In file included from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:33: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In member function ‘void clang::Declarator::clear()’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:1963:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1963 | for (unsigned i = 0, e = DeclTypeInfo.size(); i != e; ++i) | ~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In member function ‘unsigned int clang::Declarator::getNumTypeObjects() const’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:2219:64: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2219 | unsigned getNumTypeObjects() const { return DeclTypeInfo.size(); } | ~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In member function ‘const clang::DeclaratorChunk* clang::Declarator::getInnermostNonParenChunk() const’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:2250:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2250 | for (unsigned i = 0, i_end = DeclTypeInfo.size(); i < i_end; ++i) { | ~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In member function ‘const clang::DeclaratorChunk* clang::Declarator::getOutermostNonParenChunk() const’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:2261:40: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2261 | for (unsigned i = DeclTypeInfo.size(), i_end = 0; i != i_end; --i) { | ~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In member function ‘bool clang::Declarator::isFunctionDeclarator(unsigned int&) const’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:2282:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2282 | for (unsigned i = 0, i_end = DeclTypeInfo.size(); i < i_end; ++i) { | ~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h: In member function ‘void clang::Declarator::setFunctionDefinitionKind(clang::FunctionDefinitionKind)’: /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:2545:26: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 2545 | FunctionDefinition = Val; | ^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCompileProgram.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:25, from /usr/lib/llvm-11/include/llvm/Pass.h:317, from /<>/lib/llvmopencl/AutomaticLocals.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 14%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clLinkProgram.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clLinkProgram.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clLinkProgram.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clLinkProgram.c.o -c /<>/lib/CL/clLinkProgram.c In file included from /usr/lib/llvm-11/include/clang/Serialization/ASTBitCodes.h:26, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:29, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/Bitstream/BitCodes.h: In constructor ‘llvm::BitCodeAbbrevOp::BitCodeAbbrevOp(llvm::BitCodeAbbrevOp::Encoding, uint64_t)’: /usr/lib/llvm-11/include/llvm/Bitstream/BitCodes.h:110:40: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 110 | : Val(Data), IsLiteral(false), Enc(E) {} | ^ In file included from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:29, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Serialization/ASTBitCodes.h: In member function ‘void clang::serialization::UnderalignedInt64::setBitOffset(uint64_t)’: /usr/lib/llvm-11/include/clang/Serialization/ASTBitCodes.h:231:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 231 | BitOffsetLow = Offset; | ^~~~~~ /usr/lib/llvm-11/include/clang/Serialization/ASTBitCodes.h:232:32: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 232 | BitOffsetHigh = Offset >> 32; | ~~~~~~~^~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clLinkProgram.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Lex/Lexer.h:19, from /usr/lib/llvm-11/include/clang/Frontend/PrecompiledPreamble.h:16, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:30, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Lex/PreprocessorLexer.h: In member function ‘unsigned int clang::PreprocessorLexer::getConditionalStackDepth() const’: /usr/lib/llvm-11/include/clang/Lex/PreprocessorLexer.h:122:75: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 122 | unsigned getConditionalStackDepth() const { return ConditionalStack.size(); } | ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/clang/Frontend/PrecompiledPreamble.h:16, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:30, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Lex/Lexer.h: In member function ‘unsigned int clang::Lexer::getCurrentBufferOffset()’: /usr/lib/llvm-11/include/clang/Lex/Lexer.h:271:22: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 271 | return BufferPtr - BufferStart; | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Lex/Lexer.h: In member function ‘void clang::Lexer::FormTokenWithChars(clang::Token&, const char*, clang::tok::TokenKind)’: /usr/lib/llvm-11/include/clang/Lex/Lexer.h:584:29: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 584 | unsigned TokLen = TokEnd-BufferPtr; | ~~~~~~^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ [ 14%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernel.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernel.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernel.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernel.c.o -c /<>/lib/CL/clCreateKernel.c /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCreateKernel.c:33: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /<>/lib/CL/clCreateKernel.c: In function ‘POclCreateKernel’: /<>/lib/CL/clCreateKernel.c:113:62: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 113 | device->ops->create_kernel (device, program, kernel, i); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ [ 14%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseKernel.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseKernel.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clReleaseKernel.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseKernel.c.o -c /<>/lib/CL/clReleaseKernel.c In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atomics.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atomics.cl.bc -c /<>/lib/kernel/atomics.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:39: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clReleaseKernel.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Frontend/PrecompiledPreamble.h:17, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:30, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h: In member function ‘llvm::ArrayRef clang::Preprocessor::MacroState::getActiveModuleMacros(clang::Preprocessor&, const clang::IdentifierInfo*) const’: /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:658:22: warning: choosing ‘llvm::TinyPtrVector::operator llvm::MutableArrayRef() [with EltTy = clang::ModuleMacro*]’ over ‘llvm::TinyPtrVector::operator llvm::ArrayRef() const [with U = clang::ModuleMacro*; typename std::enable_if, llvm::ArrayRef >::value, bool>::type = false; EltTy = clang::ModuleMacro*]’ [-Wconversion] 658 | return Info->ActiveModuleMacros; | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:658:22: warning: for conversion from ‘llvm::TinyPtrVector’ to ‘llvm::ArrayRef’ [-Wconversion] /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:658:22: note: because conversion sequence for the argument is better /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:658:22: warning: choosing ‘llvm::TinyPtrVector::operator llvm::MutableArrayRef() [with EltTy = clang::ModuleMacro*]’ over ‘llvm::TinyPtrVector::operator llvm::ArrayRef() const [with EltTy = clang::ModuleMacro*]’ [-Wconversion] /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:658:22: warning: for conversion from ‘llvm::TinyPtrVector’ to ‘llvm::ArrayRef’ [-Wconversion] /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:658:22: note: because conversion sequence for the argument is better /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h: In member function ‘llvm::ArrayRef clang::Preprocessor::MacroState::getOverriddenMacros() const’: /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:682:22: warning: choosing ‘llvm::TinyPtrVector::operator llvm::MutableArrayRef() [with EltTy = clang::ModuleMacro*]’ over ‘llvm::TinyPtrVector::operator llvm::ArrayRef() const [with U = clang::ModuleMacro*; typename std::enable_if, llvm::ArrayRef >::value, bool>::type = false; EltTy = clang::ModuleMacro*]’ [-Wconversion] 682 | return Info->OverriddenMacros; | ^~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:682:22: warning: for conversion from ‘llvm::TinyPtrVector’ to ‘llvm::ArrayRef’ [-Wconversion] /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:682:22: note: because conversion sequence for the argument is better /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:682:22: warning: choosing ‘llvm::TinyPtrVector::operator llvm::MutableArrayRef() [with EltTy = clang::ModuleMacro*]’ over ‘llvm::TinyPtrVector::operator llvm::ArrayRef() const [with EltTy = clang::ModuleMacro*]’ [-Wconversion] /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:682:22: warning: for conversion from ‘llvm::TinyPtrVector’ to ‘llvm::ArrayRef’ [-Wconversion] /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:682:22: note: because conversion sequence for the argument is better /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h: In member function ‘void clang::Preprocessor::EnterTokenStream(llvm::ArrayRef, bool, bool)’: /usr/lib/llvm-11/include/clang/Lex/Preprocessor.h:1353:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1353 | EnterTokenStream(Toks.data(), Toks.size(), DisableMacroExpansion, false, | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ [ 14%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainKernel.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainKernel.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clRetainKernel.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainKernel.c.o -c /<>/lib/CL/clRetainKernel.c In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:39: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 15%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArg.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArg.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArg.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArg.c.o -c /<>/lib/CL/clSetKernelArg.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clRetainKernel.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/BreakConstantGEPs.cpp:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clSetKernelArg.c:26: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 16%] Building LL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/addrspace_operators.ll.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/bin/llvm-as-11 -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/addrspace_operators.ll.bc /<>/lib/kernel/host/../addrspace_operators.ll /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ [ 16%] Building LL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/barrier.ll.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/bin/llvm-as-11 -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/barrier.ll.bc /<>/lib/kernel/host/../barrier.ll In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNDRangeKernel.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNDRangeKernel.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNDRangeKernel.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNDRangeKernel.c.o -c /<>/lib/CL/clEnqueueNDRangeKernel.c In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ [ 17%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/DebugHelpers.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/DebugHelpers.cc.o -MF CMakeFiles/llvmpasses.dir/DebugHelpers.cc.o.d -o CMakeFiles/llvmpasses.dir/DebugHelpers.cc.o -c /<>/lib/llvmopencl/DebugHelpers.cc In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h: In member function ‘unsigned int clang::ASTUnit::stored_diag_size() const’: /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:605:68: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 605 | unsigned stored_diag_size() const { return StoredDiagnostics.size(); } | ~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h: In member function ‘unsigned int clang::ASTUnit::cached_completion_size() const’: /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:625:40: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 625 | return CachedCompletionResults.size(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_binary.h:27, from /<>/lib/CL/clEnqueueNDRangeKernel.c:26: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /usr/lib/llvm-11/include/clang/Frontend/CommandLineSourceLoc.h:18, from /usr/lib/llvm-11/include/clang/Frontend/FrontendOptions.h:14, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:24, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /usr/lib/llvm-11/include/clang/Frontend/CommandLineSourceLoc.h:18, from /usr/lib/llvm-11/include/clang/Frontend/FrontendOptions.h:14, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:24, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /<>/lib/CL/clEnqueueNDRangeKernel.c: In function ‘POclEnqueueNDRangeKernel’: /<>/lib/CL/clEnqueueNDRangeKernel.c:93:12: warning: unused variable ‘new_event_wait_list’ [-Wunused-variable] 93 | cl_event new_event_wait_list[num_events_in_wait_list + kernel->meta->num_args | ^~~~~~~~~~~~~~~~~~~ /<>/lib/CL/clEnqueueNDRangeKernel.c:91:10: warning: unused variable ‘mem_list’ [-Wunused-variable] 91 | cl_mem mem_list[kernel->meta->num_args + 1]; | ^~~~~~~~ /<>/lib/CL/clEnqueueNDRangeKernel.c:72:15: warning: unused variable ‘j’ [-Wunused-variable] 72 | unsigned i, j; | ^ [ 17%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNativeKernel.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNativeKernel.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNativeKernel.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNativeKernel.c.o -c /<>/lib/CL/clEnqueueNativeKernel.c [ 18%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/bitselect.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/bitselect.cl.bc -c /<>/lib/kernel/bitselect.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/IR/ValueMap.h:104:9: required from ‘llvm::ValueMap::ValueMap(unsigned int) [with KeyT = const llvm::Value*; ValueT = llvm::WeakTrackingVH; Config = llvm::ValueMapConfig >]’ /<>/lib/llvmopencl/BarrierTailReplication.cc:297:21: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/BarrierTailReplication.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueNativeKernel.c:2: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /usr/lib/llvm-11/include/clang/Frontend/CommandLineSourceLoc.h:18, from /usr/lib/llvm-11/include/clang/Frontend/FrontendOptions.h:14, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:24, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ make -f tests/kernel/CMakeFiles/image_query_funcs.dir/build.make tests/kernel/CMakeFiles/image_query_funcs.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/kernel /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/kernel /<>/obj-riscv64-linux-gnu/tests/kernel/CMakeFiles/image_query_funcs.dir/DependInfo.cmake --color= In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/kernel/CMakeFiles/image_query_funcs.dir/build.make tests/kernel/CMakeFiles/image_query_funcs.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 18%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernelsInProgram.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernelsInProgram.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernelsInProgram.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernelsInProgram.c.o -c /<>/lib/CL/clCreateKernelsInProgram.c make -f tests/kernel/CMakeFiles/sampler_address_clamp.dir/build.make tests/kernel/CMakeFiles/sampler_address_clamp.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/kernel /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/kernel /<>/obj-riscv64-linux-gnu/tests/kernel/CMakeFiles/sampler_address_clamp.dir/DependInfo.cmake --color= In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ [ 18%] Building C object tests/kernel/CMakeFiles/image_query_funcs.dir/image_query_funcs.c.o cd /<>/obj-riscv64-linux-gnu/tests/kernel && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/kernel\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/kernel/CMakeFiles/image_query_funcs.dir/image_query_funcs.c.o -MF CMakeFiles/image_query_funcs.dir/image_query_funcs.c.o.d -o CMakeFiles/image_query_funcs.dir/image_query_funcs.c.o -c /<>/tests/kernel/image_query_funcs.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/kernel/CMakeFiles/sampler_address_clamp.dir/build.make tests/kernel/CMakeFiles/sampler_address_clamp.dir/build In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ [ 18%] Building C object tests/kernel/CMakeFiles/sampler_address_clamp.dir/sampler_address_clamp.c.o cd /<>/obj-riscv64-linux-gnu/tests/kernel && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/kernel\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/kernel/CMakeFiles/sampler_address_clamp.dir/sampler_address_clamp.c.o -MF CMakeFiles/sampler_address_clamp.dir/sampler_address_clamp.c.o.d -o CMakeFiles/sampler_address_clamp.dir/sampler_address_clamp.c.o -c /<>/tests/kernel/sampler_address_clamp.c In file included from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCreateKernelsInProgram.c:7: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/clCreateKernelsInProgram.c: In function ‘POclCreateKernelsInProgram’: /<>/lib/CL/clCreateKernelsInProgram.c:36:30: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘cl_uint’ {aka ‘unsigned int’} may change value [-Wconversion] 36 | cl_uint real_num_kernels = (program->num_builtin_kernels > 0) | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:45, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 19%] Linking C executable image_query_funcs cd /<>/obj-riscv64-linux-gnu/tests/kernel && /usr/bin/cmake -E cmake_link_script CMakeFiles/image_query_funcs.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/image_query_funcs.dir/image_query_funcs.c.o -o image_query_funcs ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 19%] Linking C executable sampler_address_clamp cd /<>/obj-riscv64-linux-gnu/tests/kernel && /usr/bin/cmake -E cmake_link_script CMakeFiles/sampler_address_clamp.dir/link.txt --verbose=1 In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /usr/lib/llvm-11/include/clang/Frontend/CommandLineSourceLoc.h:18, from /usr/lib/llvm-11/include/clang/Frontend/FrontendOptions.h:14, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:24, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/sampler_address_clamp.dir/sampler_address_clamp.c.o -o sampler_address_clamp ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 19%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelInfo.c.o -c /<>/lib/CL/clGetKernelInfo.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 19%] Built target image_query_funcs [ 19%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/clamp.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/clamp.cl.bc -c /<>/lib/kernel/clamp.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 19%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/clamp_int.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/clamp_int.cl.bc -c /<>/lib/kernel/clamp_int.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 19%] Built target sampler_address_clamp [ 19%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/Flatten.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/Flatten.cc.o -MF CMakeFiles/llvmpasses.dir/Flatten.cc.o.d -o CMakeFiles/llvmpasses.dir/Flatten.cc.o -c /<>/lib/llvmopencl/Flatten.cc In file included from /usr/lib/llvm-11/include/clang/Frontend/CommandLineSourceLoc.h:18, from /usr/lib/llvm-11/include/clang/Frontend/FrontendOptions.h:14, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:24, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clGetKernelInfo.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /<>/lib/CL/clGetKernelInfo.c:24: /<>/lib/CL/clGetKernelInfo.c: In function ‘POclGetKernelInfo’: /<>/lib/CL/clGetKernelInfo.c:44:34: warning: conversion to ‘cl_uint’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 44 | POCL_RETURN_GETINFO(cl_uint, kernel->pocl_refcount); | ^~~~~~ /<>/lib/CL/pocl_util.h:255:11: note: in definition of macro ‘POCL_RETURN_GETINFO_INNER’ 255 | MEMASSIGN; \ | ^~~~~~~~~ /<>/lib/CL/clGetKernelInfo.c:44:5: note: in expansion of macro ‘POCL_RETURN_GETINFO’ 44 | POCL_RETURN_GETINFO(cl_uint, kernel->pocl_refcount); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:24, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/Frontend/FrontendOptions.h: In constructor ‘constexpr clang::InputKind::InputKind(clang::Language, clang::InputKind::Format, bool)’: /usr/lib/llvm-11/include/clang/Frontend/FrontendOptions.h:160:22: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 160 | : Lang(L), Fmt(F), Preprocessed(PP) {} | ^ [ 20%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelArgInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelArgInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelArgInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelArgInfo.c.o -c /<>/lib/CL/clGetKernelArgInfo.c In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/DebugHelpers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/clang/Frontend/CompilerInvocation.h:12, from /usr/lib/llvm-11/include/clang/Frontend/CompilerInstance.h:15, from /<>/lib/CL/pocl_llvm_build.cc:36: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setCompressDebugSections(llvm::DebugCompressionType)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:31:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 31 | ENUM_CODEGENOPT(CompressDebugSections, llvm::DebugCompressionType, 2, | ^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setFramePointer(clang::CodeGenOptions::FramePointerKind)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:51:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 51 | ENUM_CODEGENOPT(FramePointer, FramePointerKind, 2, FramePointerKind::None) /// frame-pointer: all,non-leaf,none | ^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setEmbedBitcode(clang::CodeGenOptions::EmbedBitcodeKind)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:86:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 86 | ENUM_CODEGENOPT(EmbedBitcode, EmbedBitcodeKind, 2, Embed_Off) | ^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setObjCDispatchMethod(clang::CodeGenOptions::ObjCDispatchMethodKind)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:173:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 173 | ENUM_CODEGENOPT(ObjCDispatchMethod, ObjCDispatchMethodKind, 2, Legacy) | ^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setProfileInstr(clang::CodeGenOptions::ProfileInstrKind)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:181:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 181 | ENUM_CODEGENOPT(ProfileInstr, ProfileInstrKind, 2, ProfileNone) | ^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setProfileUse(clang::CodeGenOptions::ProfileInstrKind)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:183:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 183 | ENUM_CODEGENOPT(ProfileUse, ProfileInstrKind, 2, ProfileNone) | ^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setStructReturnConvention(clang::CodeGenOptions::StructReturnConventionKind)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:190:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 190 | ENUM_CODEGENOPT(StructReturnConvention, StructReturnConventionKind, 2, SRCK_Default) | ^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setDebugInfo(clang::codegenoptions::DebugInfoKind)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:316:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 316 | ENUM_CODEGENOPT(DebugInfo, codegenoptions::DebugInfoKind, 3, codegenoptions::NoDebugInfo) | ^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setDebuggerTuning(llvm::DebuggerKind)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:322:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 322 | ENUM_CODEGENOPT(DebuggerTuning, llvm::DebuggerKind, 2, | ^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setInlining(clang::CodeGenOptions::InliningMethod)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:337:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 337 | ENUM_CODEGENOPT(Inlining, InliningMethod, 2, NormalInlining) | ^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setVecLib(clang::CodeGenOptions::VectorLibrary)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:340:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 340 | ENUM_CODEGENOPT(VecLib, VectorLibrary, 2, NoLibrary) | ^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def: In member function ‘void clang::CodeGenOptions::setDefaultTLSModel(clang::CodeGenOptions::TLSModel)’: /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.h:345:39: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 345 | void set##Name(Type Value) { Name = static_cast(Value); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/Basic/CodeGenOptions.def:343:1: note: in expansion of macro ‘ENUM_CODEGENOPT’ 343 | ENUM_CODEGENOPT(DefaultTLSModel, TLSModel, 2, GeneralDynamicTLSModel) | ^~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clGetKernelArgInfo.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ [ 20%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformIDs.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformIDs.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformIDs.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformIDs.c.o -c /<>/lib/CL/clGetPlatformIDs.c [ 20%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/clz.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/clz.cl.bc -c /<>/lib/kernel/clz.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clGetPlatformIDs.c:26: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/clGetPlatformIDs.c:226:1: warning: missing initializer for field ‘clUnknown180’ of ‘struct _cl_icd_dispatch’ [-Wmissing-field-initializers] 226 | }; | ^ In file included from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clGetPlatformIDs.c:26: /usr/include/ocl_icd.h:1781:37: note: ‘clUnknown180’ declared here 1781 | CL_API_ENTRY cl_int (CL_API_CALL* clUnknown180)( | ^~~~~~~~~~~~ [ 20%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformInfo.c.o -c /<>/lib/CL/clGetPlatformInfo.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clGetPlatformInfo.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 20%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceIDs.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceIDs.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceIDs.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceIDs.c.o -c /<>/lib/CL/clGetDeviceIDs.c [ 20%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/FlattenGlobals.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/FlattenGlobals.cc.o -MF CMakeFiles/llvmpasses.dir/FlattenGlobals.cc.o.d -o CMakeFiles/llvmpasses.dir/FlattenGlobals.cc.o -c /<>/lib/llvmopencl/FlattenGlobals.cc In file included from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysisEvaluator.h:27, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:18, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clGetDeviceIDs.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysisEvaluator.h:27, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:18, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ [ 20%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/FlattenBarrierSubs.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/FlattenBarrierSubs.cc.o -MF CMakeFiles/llvmpasses.dir/FlattenBarrierSubs.cc.o.d -o CMakeFiles/llvmpasses.dir/FlattenBarrierSubs.cc.o -c /<>/lib/llvmopencl/FlattenBarrierSubs.cc In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:30, from /<>/lib/llvmopencl/DebugHelpers.cc:33: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/llvmopencl/../CL/pocl_icd.h:26, from /<>/lib/llvmopencl/../CL/pocl_cl.h:56, from /<>/lib/llvmopencl/../CL/pocl_llvm.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:25, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ /<>/lib/CL/clGetDeviceIDs.c: In function ‘POclGetDeviceIDs’: /<>/lib/CL/clGetDeviceIDs.c:54:15: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] 54 | total_num = pocl_get_device_type_count(device_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/lib/CL/clGetDeviceIDs.c:60:21: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] 60 | devices_added = pocl_get_devices(device_type, devices, num_entries); | ^~~~~~~~~~~~~~~~ /<>/lib/CL/clGetDeviceIDs.c:63:20: warning: conversion to ‘cl_uint’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 63 | *num_devices = total_num; | ^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:30, from /<>/lib/llvmopencl/DebugHelpers.cc:33: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/DebugHelpers.cc:33: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/DebugHelpers.cc:33: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ [ 20%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceInfo.c.o -c /<>/lib/CL/clGetDeviceInfo.c In file included from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/DebugHelpers.cc:33: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysisEvaluator.h:27, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:18, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysisEvaluator.h:27, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:18, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysisEvaluator.h:27, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:18, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /<>/lib/llvmopencl/DebugHelpers.cc:33: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ [ 21%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/convert_type.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/convert_type.cl.bc -c /<>/lib/kernel/convert_type.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysisEvaluator.h:27, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:18, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clGetDeviceInfo.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysisEvaluator.h:27, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:18, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysisEvaluator.h:27, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:18, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:45, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysisEvaluator.h:28, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:18, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:38: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:38: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:38: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /usr/lib/llvm-11/include/llvm/Analysis/AliasSetTracker.h:23, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:19, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/llvmopencl/../CL/pocl_icd.h:26, from /<>/lib/llvmopencl/../CL/pocl_cl.h:56, from /<>/lib/llvmopencl/../CL/pocl_llvm.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:25, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /usr/lib/llvm-11/include/llvm/Analysis/AliasSetTracker.h:23, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:19, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /usr/lib/llvm-11/include/llvm/Analysis/AliasSetTracker.h:23, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:19, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h: In member function ‘void llvm::TargetLibraryInfoImpl::setState(llvm::LibFunc, llvm::TargetLibraryInfoImpl::AvailabilityState)’: /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:62:25: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 62 | AvailableArray[F/4] &= ~(3 << 2*(F&3)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:63:25: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 63 | AvailableArray[F/4] |= State << 2*(F&3); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:48, from /usr/lib/llvm-11/include/llvm/Analysis/AliasSetTracker.h:23, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:19, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ [ 21%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateContext.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateContext.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateContext.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateContext.c.o -c /<>/lib/CL/clCreateContext.c In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/DebugHelpers.cc:35: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/devices/../pocl_icd.h:26, from /<>/lib/CL/devices/../pocl_cl.h:56, from /<>/lib/CL/devices/devices.h:28, from /<>/lib/CL/clCreateContext.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:38: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /<>/lib/CL/clCreateContext.c: In function ‘context_set_properties’: /<>/lib/CL/clCreateContext.c:98:35: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 98 | ((num_properties * 2 + 1) * sizeof(cl_context_properties)); | ^ /<>/lib/CL/clCreateContext.c:106:39: warning: conversion to ‘long unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 106 | (num_properties * 2 + 1) * sizeof(cl_context_properties)); | ^ /<>/lib/CL/clCreateContext.c:107:33: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 107 | context->num_properties = num_properties; | ^~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:38: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/DebugHelpers.cc:36: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ [ 22%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramBuildInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramBuildInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramBuildInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramBuildInfo.c.o -c /<>/lib/CL/clGetProgramBuildInfo.c In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/DebugHelpers.cc:36: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clGetProgramBuildInfo.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/clGetProgramBuildInfo.c: In function ‘pocl_cl_device_assoc_index’: /<>/lib/CL/clGetProgramBuildInfo.c:39:14: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] 39 | return i; | ^ /<>/lib/CL/clGetProgramBuildInfo.c: In function ‘pocl_cl_device_built_index’: /<>/lib/CL/clGetProgramBuildInfo.c:51:14: warning: conversion to ‘int’ from ‘unsigned int’ may change the sign of the result [-Wsign-conversion] 51 | return i; | ^ /<>/lib/CL/clGetProgramBuildInfo.c: In function ‘POclGetProgramBuildInfo’: /<>/lib/CL/clGetProgramBuildInfo.c:113:68: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 113 | char *build_log = pocl_cache_read_buildlog (program, device_i); | ^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/DebugHelpers.cc:36: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/DebugHelpers.cc:36: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] [ 22%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBuffer.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBuffer.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBuffer.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBuffer.c.o -c /<>/lib/CL/clEnqueueWriteBuffer.c In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:29, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueWriteBuffer.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/Flatten.cc:36: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:29, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/Flatten.cc:36: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 22%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBufferRect.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBufferRect.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBufferRect.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBufferRect.c.o -c /<>/lib/CL/clEnqueueWriteBufferRect.c In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/DebugHelpers.cc:36: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueWriteBufferRect.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolution.h:38, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:32, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:32, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolution.h: In constructor ‘llvm::SCEV::SCEV(llvm::FoldingSetNodeIDRef, unsigned int, short unsigned int)’: /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolution.h:124:30: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 124 | : FastID(ID), SCEVType(SCEVTy), ExpressionSize(ExpressionSize) {} | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/Flatten.cc:36: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolution.h: In member function ‘virtual unsigned int llvm::SCEVUnionPredicate::getComplexity() const’: /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolution.h:431:62: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 431 | unsigned getComplexity() const override { return Preds.size(); } | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/FlattenGlobals.cc:36: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/Flatten.cc:36: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ [ 22%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBuffer.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBuffer.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBuffer.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBuffer.c.o -c /<>/lib/CL/clEnqueueCopyBuffer.c In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/DebugHelpers.cc:40: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/DebugHelpers.cc:40: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clEnqueueCopyBuffer.c:28: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/DebugHelpers.cc:40: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h:17, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:33, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolutionExpressions.h: In member function ‘void llvm::SCEVCommutativeExpr::setNoWrapFlags(llvm::SCEV::NoWrapFlags)’: /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolutionExpressions.h:217:20: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 217 | SubclassData |= Flags; | ~~~~~~~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolutionExpressions.h: In member function ‘void llvm::SCEVAddRecExpr::setNoWrapFlags(llvm::SCEV::NoWrapFlags)’: /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolutionExpressions.h:345:20: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 345 | SubclassData |= Flags; | ~~~~~~~~~~~~~^~~~~~~~ In file included from /<>/lib/llvmopencl/Flatten.cc:36: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/CanonicalizeBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ [ 22%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferRect.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferRect.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferRect.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferRect.c.o -c /<>/lib/CL/clEnqueueCopyBufferRect.c In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/FlattenGlobals.cc:37: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/FlattenGlobals.cc:37: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:104, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:44, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/Analysis/AssumeBundleQueries.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::Attribute::AttrKind)’: /usr/lib/llvm-11/include/llvm/Analysis/AssumeBundleQueries.h:59:27: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 59 | return hash_combine(AK); | ^ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueCopyBufferRect.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/Flatten.cc:38: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:36: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/CGSCCPassManager.h:97, from /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:106, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:44, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/Analysis/LazyCallGraph.h: In member function ‘int llvm::LazyCallGraph::SCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/LazyCallGraph.h:491:41: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 491 | int size() const { return Nodes.size(); } | ~~~~~~~~~~^~ [ 23%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferToImage.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferToImage.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferToImage.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferToImage.c.o -c /<>/lib/CL/clEnqueueCopyBufferToImage.c In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/FlattenGlobals.cc:37: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clEnqueueCopyBufferToImage.c:1: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:37: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/DebugHelpers.cc:40: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/DebugHelpers.cc:40: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:37: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/FlattenGlobals.cc:37: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/Flatten.cc:41: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/Flatten.cc:41: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ [ 23%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImageToBuffer.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImageToBuffer.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImageToBuffer.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImageToBuffer.c.o -c /<>/lib/CL/clEnqueueCopyImageToBuffer.c In file included from /<>/lib/llvmopencl/FlattenGlobals.cc:37: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:108, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:44, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:108, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:44, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:37: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clEnqueueCopyImageToBuffer.c:1: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:37: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] [ 23%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMigrateMemObjects.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMigrateMemObjects.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMigrateMemObjects.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMigrateMemObjects.c.o -c /<>/lib/CL/clEnqueueMigrateMemObjects.c In file included from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:37: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueMigrateMemObjects.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ /<>/lib/CL/clEnqueueMigrateMemObjects.c: In function ‘POclEnqueueMigrateMemObjects’: /<>/lib/CL/clEnqueueMigrateMemObjects.c:48:6: warning: unsigned conversion from ‘int’ to ‘cl_mem_migration_flags’ {aka ‘long unsigned int’} changes value from ‘-4’ to ‘18446744073709551612’ [-Wsign-conversion] 48 | ~(CL_MIGRATE_MEM_OBJECT_CONTENT_UNDEFINED | CL_MIGRATE_MEM_OBJECT_HOST); | ^ [ 23%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clFinish.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clFinish.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clFinish.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clFinish.c.o -c /<>/lib/CL/clFinish.c In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/FlattenGlobals.cc:39: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/DebugHelpers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:38: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/FlattenGlobals.cc:39: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ [ 23%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/HandleSamplerInitialization.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/HandleSamplerInitialization.cc.o -MF CMakeFiles/llvmpasses.dir/HandleSamplerInitialization.cc.o.d -o CMakeFiles/llvmpasses.dir/HandleSamplerInitialization.cc.o -c /<>/lib/llvmopencl/HandleSamplerInitialization.cc In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clFinish.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:38: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:20, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/Flatten.cc:41: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ [ 23%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clFlush.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clFlush.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clFlush.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clFlush.c.o -c /<>/lib/CL/clFlush.c In file included from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:38: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:19, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/Flatten.cc:41: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clFlush.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:115, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:44, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/AbstractCallSite.h: In member function ‘unsigned int llvm::AbstractCallSite::getNumArgOperands() const’: /usr/lib/llvm-11/include/llvm/IR/AbstractCallSite.h:158:40: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 158 | return CI.ParameterEncoding.size() - 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/Flatten.cc:41: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ [ 23%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrier.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrier.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrier.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrier.c.o -c /<>/lib/CL/clEnqueueBarrier.c /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/DebugHelpers.cc:36: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/DebugHelpers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:44, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h: In member function ‘unsigned int llvm::InformationCache::getSccSize(const llvm::Function&)’: /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:708:25: warning: conversion from ‘llvm::SetVector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 708 | return CGSCC->size(); | ~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clEnqueueBarrier.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/DebugHelpers.cc:36: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h: In member function ‘unsigned int llvm::Attributor::ArgumentReplacementInfo::getNumReplacementArgs() const’: /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:1192:74: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1192 | unsigned getNumReplacementArgs() const { return ReplacementTypes.size(); } | ~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:19, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 24%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarker.c.o /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarker.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarker.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarker.c.o -c /<>/lib/CL/clEnqueueMarker.c /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/DebugHelpers.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueMarker.c:23: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h: In member function ‘void llvm::DerefState::computeKnownDerefBytesFromAccessedMap()’: /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:2620:38: warning: conversion from ‘int64_t’ {aka ‘long int’} to ‘llvm::IncIntegerState<>::base_t’ {aka ‘unsigned int’} may change value [-Wconversion] 2620 | DerefBytesState.takeKnownMaximum(KnownBytes); | ^~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h: In member function ‘void llvm::DerefState::takeKnownDerefBytesMaximum(uint64_t)’: /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:2651:38: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘llvm::IncIntegerState<>::base_t’ {aka ‘unsigned int’} may change value [-Wconversion] 2651 | DerefBytesState.takeKnownMaximum(Bytes); | ^~~~~ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h: In member function ‘void llvm::DerefState::takeAssumedDerefBytesMinimum(uint64_t)’: /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:2659:40: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘llvm::IncIntegerState<>::base_t’ {aka ‘unsigned int’} may change value [-Wconversion] 2659 | DerefBytesState.takeAssumedMinimum(Bytes); | ^~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/DebugHelpers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/Flatten.cc:41: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 24%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelWorkGroupInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelWorkGroupInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelWorkGroupInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelWorkGroupInfo.c.o -c /<>/lib/CL/clGetKernelWorkGroupInfo.c In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/Flatten.cc:41: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ In file included from /usr/lib/llvm-11/include/llvm/Transforms/InstCombine/InstCombine.h:21, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:46, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/Transforms/InstCombine/InstCombineWorklist.h: In member function ‘void llvm::InstCombineWorklist::reserve(size_t)’: /usr/lib/llvm-11/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:83:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘llvm::DenseMapBase, llvm::Instruction*, unsigned int, llvm::DenseMapInfo, llvm::detail::DenseMapPair >::size_type’ {aka ‘unsigned int’} may change value [-Wconversion] 83 | WorklistMap.reserve(Size); | ^~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ In file included from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:47, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/Transforms/Instrumentation.h: In function ‘uint32_t llvm::scaleBranchCount(uint64_t, uint64_t)’: /usr/lib/llvm-11/include/llvm/Transforms/Instrumentation.h:192:10: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 192 | return Scaled; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/MemoryDependenceAnalysis.h:26, from /usr/lib/llvm-11/include/llvm/Transforms/Scalar/GVN.h:24, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:51, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/PredIteratorCache.h: In member function ‘llvm::BasicBlock** llvm::PredIteratorCache::GetPreds(llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/PredIteratorCache.h:50:48: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 50 | BlockToPredCountMap[BB] = PredCache.size() - 1; | ~~~~~~~~~~~~~~~~~^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/devices/../pocl_icd.h:26, from /<>/lib/CL/devices/../pocl_cl.h:56, from /<>/lib/CL/devices/devices.h:28, from /<>/lib/CL/clGetKernelWorkGroupInfo.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/PredIteratorCache.h: In member function ‘unsigned int llvm::PredIteratorCache::GetNumPreds(llvm::BasicBlock*) const’: /usr/lib/llvm-11/include/llvm/IR/PredIteratorCache.h:61:51: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 61 | return BlockToPredCountMap[BB] = std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:40: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:40: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:20, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/FlattenGlobals.cc:39: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/FlattenGlobals.cc:39: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ [ 24%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramInfo.c.o -c /<>/lib/CL/clGetProgramInfo.c /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/FlattenGlobals.cc:39: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_llvm.h:25, from /<>/lib/CL/clGetProgramInfo.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_llvm.h:25, from /<>/lib/CL/pocl_llvm_api.h:25, from /<>/lib/CL/pocl_llvm_build.cc:76: /usr/include/CL/cl_gl_ext.h: At global scope: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ [ 24%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetEventProfilingInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetEventProfilingInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetEventProfilingInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetEventProfilingInfo.c.o -c /<>/lib/CL/clGetEventProfilingInfo.c In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/FlattenGlobals.cc:39: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/Flatten.cc:41: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/FlattenGlobals.cc:39: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clGetEventProfilingInfo.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:257:19: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ [ 24%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clWaitForEvents.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clWaitForEvents.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clWaitForEvents.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clWaitForEvents.c.o -c /<>/lib/CL/clWaitForEvents.c /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:40: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clWaitForEvents.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:40: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Argument.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:25, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 25%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWaitForEvents.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWaitForEvents.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWaitForEvents.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWaitForEvents.c.o -c /<>/lib/CL/clEnqueueWaitForEvents.c [ 25%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseEvent.c.o /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseEvent.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clReleaseEvent.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseEvent.c.o -c /<>/lib/CL/clReleaseEvent.c In file included from /usr/lib/llvm-11/include/llvm/Support/StringSaver.h:15, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:24, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘size_t llvm::BumpPtrAllocatorImpl::getTotalMemory() const [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’: /usr/lib/llvm-11/include/clang/AST/ASTContext.h:638:36: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:277:51: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 277 | TotalMemory += computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clReleaseEvent.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clEnqueueWaitForEvents.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/Flatten.cc:41: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/FlattenGlobals.cc:39: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:21, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/clang/AST/UnresolvedSet.h:124:47: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ [ 26%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/ImplicitConditionalBarriers.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/ImplicitConditionalBarriers.cc.o -MF CMakeFiles/llvmpasses.dir/ImplicitConditionalBarriers.cc.o.d -o CMakeFiles/llvmpasses.dir/ImplicitConditionalBarriers.cc.o -c /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:29, from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:25, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘void* clang::ConcreteTypeLoc::getExtraLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::BuiltinTypeLoc; TypeClass = clang::BuiltinType; LocalData = clang::BuiltinLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:576:65: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:432:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 432 | size = llvm::alignTo(size, extraAlign); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ [ 26%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainEvent.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainEvent.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clRetainEvent.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainEvent.c.o -c /<>/lib/CL/clRetainEvent.c /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘void* clang::ConcreteTypeLoc::getExtraLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::ObjCTypeParamTypeLoc; TypeClass = clang::ObjCTypeParamType; LocalData = clang::ObjCTypeParamTypeLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:754:52: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:432:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘void* clang::ConcreteTypeLoc::getExtraLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::ObjCObjectTypeLoc; TypeClass = clang::ObjCObjectType; LocalData = clang::ObjCObjectTypeLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:914:53: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:432:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘void* clang::ConcreteTypeLoc::getExtraLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::FunctionTypeLoc; TypeClass = clang::FunctionType; LocalData = clang::FunctionLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:1423:45: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:432:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘void* clang::ConcreteTypeLoc::getExtraLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::TemplateSpecializationTypeLoc; TypeClass = clang::TemplateSpecializationType; LocalData = clang::TemplateSpecializationLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:1671:67: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:432:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘void* clang::ConcreteTypeLoc::getExtraLocalData() const [with Base = clang::DeducedTypeLoc; Derived = clang::AutoTypeLoc; TypeClass = clang::AutoType; LocalData = clang::AutoTypeLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:2125:67: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:432:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘void* clang::ConcreteTypeLoc::getExtraLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::DependentTemplateSpecializationTypeLoc; TypeClass = clang::DependentTemplateSpecializationType; LocalData = clang::DependentTemplateSpecializationLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:2380:67: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:432:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ In file included from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:56, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/ADT/TinyPtrVector.h: In instantiation of ‘unsigned int llvm::TinyPtrVector::size() const [with EltTy = clang::ParsedAttr*]’: /usr/lib/llvm-11/include/clang/Sema/ParsedAttr.h:820:47: required from here /usr/lib/llvm-11/include/llvm/ADT/TinyPtrVector.h:177:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 177 | return Val.template get()->size(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clRetainEvent.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:38: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::LayoutAlignElem; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::LayoutAlignElem; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:886:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:196:52: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ [ 26%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetEventCallback.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetEventCallback.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clSetEventCallback.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clSetEventCallback.c.o -c /<>/lib/CL/clSetEventCallback.c In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/Flatten.cc:41: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/clang/Basic/DiagnosticIDs.h:19, from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:17, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/StringRef.h: In instantiation of ‘std::enable_if_t<(! std::numeric_limits<_Tp>::is_signed), bool> llvm::StringRef::getAsInteger(unsigned int, T&) const [with T = unsigned int; std::enable_if_t<(! std::numeric_limits<_Tp>::is_signed), bool> = bool]’: /usr/lib/llvm-11/include/clang/Frontend/CommandLineSourceLoc.h:39:38: required from here /usr/lib/llvm-11/include/llvm/ADT/StringRef.h:530:16: warning: conversion from ‘long long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 530 | Result = ULLVal; | ^~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clSetEventCallback.c:1: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Flatten.cc:34: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ [ 26%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetEventInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetEventInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetEventInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetEventInfo.c.o -c /<>/lib/CL/clGetEventInfo.c /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/FlattenGlobals.cc:39: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] In file included from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clGetEventInfo.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/clGetEventInfo.c: In function ‘POclGetEventInfo’: /<>/lib/CL/clGetEventInfo.c:37:15: warning: conversion to ‘cl_uint’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 37 | cl_uint r = event->pocl_refcount; | ^~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:30, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:40: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ [ 27%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateUserEvent.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateUserEvent.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateUserEvent.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateUserEvent.c.o -c /<>/lib/CL/clCreateUserEvent.c In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::LayoutAlignElem; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::LayoutAlignElem; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:886:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:196:52: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/FlattenGlobals.cc:39: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCreateUserEvent.c:1: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/LLVMUtils.h:35, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::LayoutAlignElem; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::LayoutAlignElem; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:886:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:196:52: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/FlattenGlobals.cc:35: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 27%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetUserEventStatus.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetUserEventStatus.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clSetUserEventStatus.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clSetUserEventStatus.c.o -c /<>/lib/CL/clSetUserEventStatus.c In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:40: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/FlattenBarrierSubs.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clSetUserEventStatus.c:1: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ [ 27%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueTask.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueTask.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueTask.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueTask.c.o -c /<>/lib/CL/clEnqueueTask.c [ 28%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/cross.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/cross.cl.bc -c /<>/lib/kernel/cross.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueTask.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 28%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage.c.o -c /<>/lib/CL/clCreateImage.c In file included from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:48, from /usr/lib/llvm-11/include/llvm/Analysis/AliasSetTracker.h:23, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:19, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCreateImage.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/clCreateImage.c: In function ‘POclCreateImage’: /<>/lib/CL/clCreateImage.c:83:63: warning: conversion to ‘cl_uint’ {aka ‘unsigned int’} from ‘cl_int’ {aka ‘int’} may change the sign of the result [-Wsign-conversion] 83 | image_desc, image_type_idx, | ^~~~~~~~~~~~~~ /<>/lib/CL/clCreateImage.c:237:27: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 237 | mem->image_channels = channels; | ^~~~~~~~ /<>/lib/CL/clCreateImage.c:238:28: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 238 | mem->image_elem_size = elem_size; | ^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ [ 28%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage2D.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage2D.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage2D.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage2D.c.o -c /<>/lib/CL/clCreateImage2D.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCreateImage2D.c:23: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ [ 28%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/distance.cl.bc In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/distance.cl.bc -c /<>/lib/kernel/distance.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ [ 28%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/dot.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/dot.cl.bc -c /<>/lib/kernel/dot.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 28%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage3D.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage3D.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage3D.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage3D.c.o -c /<>/lib/CL/clCreateImage3D.c In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCreateImage3D.c:23: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 29%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadImage.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadImage.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadImage.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadImage.c.o -c /<>/lib/CL/clEnqueueReadImage.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueReadImage.c:22: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 29%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fast_distance.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fast_distance.cl.bc -c /<>/lib/kernel/fast_distance.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ [ 29%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteImage.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteImage.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteImage.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteImage.c.o -c /<>/lib/CL/clEnqueueWriteImage.c In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:21, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = clang::FixItHint; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = clang::FixItHint; bool = false]’ /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:1186:40: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:20, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::unique_ptr; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::unique_ptr; bool = false]’ /usr/lib/llvm-11/include/clang/Driver/Job.h:278:59: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/clang/Basic/BitmaskEnum.h:18, from /usr/lib/llvm-11/include/clang/AST/DependenceFlags.h:11, from /usr/lib/llvm-11/include/clang/AST/Type.h:20, from /usr/lib/llvm-11/include/clang/AST/CanonicalType.h:17, from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:19, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = clang::ExprDependenceScope::ExprDependence; std::underlying_type_t = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:103:51: required from ‘E llvm::BitmaskEnumDetail::operator~(E) [with E = clang::ExprDependenceScope::ExprDependence; = void]’ /usr/lib/llvm-11/include/clang/AST/DependenceFlags.h:235:31: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned char’} may change value [-Wconversion] 83 | return NextPowerOf2(static_cast>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | E::LLVM_BITMASK_LARGEST_ENUMERATOR)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 85 | 1; | ~ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = clang::TypeDependenceScope::TypeDependence; std::underlying_type_t = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:103:51: required from ‘E llvm::BitmaskEnumDetail::operator~(E) [with E = clang::TypeDependenceScope::TypeDependence; = void]’ /usr/lib/llvm-11/include/clang/AST/Type.h:2847:55: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned char’} may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clEnqueueWriteImage.c:1: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 29%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateSampler.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateSampler.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateSampler.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateSampler.c.o -c /<>/lib/CL/clCreateSampler.c [ 29%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/ImplicitLoopBarriers.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/ImplicitLoopBarriers.cc.o -MF CMakeFiles/llvmpasses.dir/ImplicitLoopBarriers.cc.o.d -o CMakeFiles/llvmpasses.dir/ImplicitLoopBarriers.cc.o -c /<>/lib/llvmopencl/ImplicitLoopBarriers.cc /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:21, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::pair, clang::FullSourceLoc>; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:436:17: required from ‘void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const std::pair, clang::FullSourceLoc>*; = void; T = std::pair, clang::FullSourceLoc>]’ /usr/lib/llvm-11/include/clang/Basic/SourceManager.h:796:34: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/devices/../pocl_icd.h:26, from /<>/lib/CL/devices/../pocl_cl.h:56, from /<>/lib/CL/devices/devices.h:28, from /<>/lib/CL/clCreateSampler.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /<>/lib/CL/clCreateSampler.c: In function ‘POclCreateSampler’: /<>/lib/CL/clCreateSampler.c:83:52: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 83 | dev->ops->create_sampler (dev, sampler, dev->dev_id); | ~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 29%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseSampler.c.o In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseSampler.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clReleaseSampler.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseSampler.c.o -c /<>/lib/CL/clReleaseSampler.c /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ [ 29%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fast_length.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fast_length.cl.bc -c /<>/lib/kernel/fast_length.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 29%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainSampler.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainSampler.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clRetainSampler.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainSampler.c.o -c /<>/lib/CL/clRetainSampler.c /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clReleaseSampler.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/clReleaseSampler.c: In function ‘POclReleaseSampler’: /<>/lib/CL/clReleaseSampler.c:54:56: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 54 | dev->ops->free_sampler (dev, sampler, dev->dev_id); | ~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:45, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clRetainSampler.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ [ 30%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetSamplerInfo.c.o /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = clang::DeclaratorChunk; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = clang::DeclaratorChunk; bool = false]’ /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:2196:27: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetSamplerInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetSamplerInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetSamplerInfo.c.o -c /<>/lib/CL/clGetSamplerInfo.c /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::unique_ptr; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::unique_ptr; bool = false]’ /usr/lib/llvm-11/include/clang/Lex/ModuleMap.h:420:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 30%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/InlineKernels.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/InlineKernels.cc.o -MF CMakeFiles/llvmpasses.dir/InlineKernels.cc.o.d -o CMakeFiles/llvmpasses.dir/InlineKernels.cc.o -c /<>/lib/llvmopencl/InlineKernels.cc In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clGetSamplerInfo.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ In file included from /<>/lib/CL/clGetSamplerInfo.c:24: /<>/lib/CL/clGetSamplerInfo.c: In function ‘POclGetSamplerInfo’: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/lib/CL/clGetSamplerInfo.c:39:37: warning: conversion to ‘cl_uint’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 39 | POCL_RETURN_GETINFO (cl_uint, sampler->pocl_refcount); | ^~~~~~~ /<>/lib/CL/pocl_util.h:255:11: note: in definition of macro ‘POCL_RETURN_GETINFO_INNER’ 255 | MEMASSIGN; \ | ^~~~~~~~~ /<>/lib/CL/clGetSamplerInfo.c:39:7: note: in expansion of macro ‘POCL_RETURN_GETINFO’ 39 | POCL_RETURN_GETINFO (cl_uint, sampler->pocl_refcount); | ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 30%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImage.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImage.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImage.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImage.c.o -c /<>/lib/CL/clEnqueueCopyImage.c In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clEnqueueCopyImage.c:1: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 30%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/IsolateRegions.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/IsolateRegions.cc.o -MF CMakeFiles/llvmpasses.dir/IsolateRegions.cc.o.d -o CMakeFiles/llvmpasses.dir/IsolateRegions.cc.o -c /<>/lib/llvmopencl/IsolateRegions.cc [ 30%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapImage.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapImage.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapImage.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapImage.c.o -c /<>/lib/CL/clEnqueueMapImage.c In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/StringSaver.h:15, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:24, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::SpecificBumpPtrAllocator::DestroyAll() [with T = llvm::LazyCallGraph::Node]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:388:33: required from ‘llvm::SpecificBumpPtrAllocator::~SpecificBumpPtrAllocator() [with T = llvm::LazyCallGraph::Node]’ /usr/lib/llvm-11/include/llvm/Analysis/LazyCallGraph.h:112:7: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:408:24: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 408 | std::distance(Allocator.Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::SpecificBumpPtrAllocator::DestroyAll() [with T = llvm::LazyCallGraph::SCC]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:388:33: required from ‘llvm::SpecificBumpPtrAllocator::~SpecificBumpPtrAllocator() [with T = llvm::LazyCallGraph::SCC]’ /usr/lib/llvm-11/include/llvm/Analysis/LazyCallGraph.h:112:7: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:408:24: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::SpecificBumpPtrAllocator::DestroyAll() [with T = llvm::LazyCallGraph::RefSCC]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:388:33: required from ‘llvm::SpecificBumpPtrAllocator::~SpecificBumpPtrAllocator() [with T = llvm::LazyCallGraph::RefSCC]’ /usr/lib/llvm-11/include/llvm/Analysis/LazyCallGraph.h:112:7: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:408:24: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueMapImage.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:21, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::WeakVH; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = llvm::WeakVH; bool = false]’ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:1097:38: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:22, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:105:23: required from ‘void llvm::DenseMapBase::reserve(llvm::DenseMapBase::size_type) [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair; llvm::DenseMapBase::size_type = unsigned int]’ /usr/lib/llvm-11/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/StringSaver.h:15, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:24, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:138:5: required from ‘void llvm::BumpPtrAllocatorImpl::Reset() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/IR/PredIteratorCache.h:74:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] [ 30%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetImageInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetImageInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetImageInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetImageInfo.c.o -c /<>/lib/CL/clGetImageInfo.c In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:21, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = clang::FrontendInputFile; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = clang::FrontendInputFile; bool = false]’ /<>/lib/CL/pocl_llvm_build.cc:495:22: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:22, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = unsigned int; ValueT = clang::DiagnosticMapping; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = unsigned int; ValueT = clang::DiagnosticMapping; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = unsigned int; ValueT = clang::DiagnosticMapping; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:291:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap >; KeyT = unsigned int; ValueT = std::pair; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = unsigned int; ValueT = std::pair; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:738:5: required from ‘llvm::DenseMap::DenseMap(llvm::DenseMap&&) [with KeyT = unsigned int; ValueT = std::pair; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Option/ArgList.h:156:36: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ In file included from /usr/lib/llvm-11/include/clang/Basic/BitmaskEnum.h:18, from /usr/lib/llvm-11/include/clang/AST/DependenceFlags.h:11, from /usr/lib/llvm-11/include/clang/AST/Type.h:20, from /usr/lib/llvm-11/include/clang/AST/CanonicalType.h:17, from /usr/lib/llvm-11/include/clang/AST/ASTContext.h:19, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:17, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = clang::Dependence::Bits; std::underlying_type_t = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:93:3: required from ‘std::underlying_type_t llvm::BitmaskEnumDetail::Underlying(E) [with E = clang::Dependence::Bits; std::underlying_type_t = unsigned char]’ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:108:35: required from ‘E llvm::BitmaskEnumDetail::operator|(E, E) [with E = clang::Dependence::Bits; = void]’ /usr/lib/llvm-11/include/clang/AST/DependenceFlags.h:137:68: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned char’} may change value [-Wconversion] 83 | return NextPowerOf2(static_cast>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | E::LLVM_BITMASK_LARGEST_ENUMERATOR)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 85 | 1; | ~ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = clang::NestedNameSpecifierDependenceScope::NestedNameSpecifierDependence; std::underlying_type_t = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:93:3: required from ‘std::underlying_type_t llvm::BitmaskEnumDetail::Underlying(E) [with E = clang::NestedNameSpecifierDependenceScope::NestedNameSpecifierDependence; std::underlying_type_t = unsigned char]’ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:108:35: required from ‘E llvm::BitmaskEnumDetail::operator|(E, E) [with E = clang::NestedNameSpecifierDependenceScope::NestedNameSpecifierDependence; = void]’ /usr/lib/llvm-11/include/clang/AST/DependenceFlags.h:185:68: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned char’} may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = clang::TemplateArgumentDependenceScope::TemplateArgumentDependence; std::underlying_type_t = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:93:3: required from ‘std::underlying_type_t llvm::BitmaskEnumDetail::Underlying(E) [with E = clang::TemplateArgumentDependenceScope::TemplateArgumentDependence; std::underlying_type_t = unsigned char]’ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:108:35: required from ‘E llvm::BitmaskEnumDetail::operator|(E, E) [with E = clang::TemplateArgumentDependenceScope::TemplateArgumentDependence; = void]’ /usr/lib/llvm-11/include/clang/AST/DependenceFlags.h:192:67: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned char’} may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = clang::TemplateNameDependenceScope::TemplateNameDependence; std::underlying_type_t = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:93:3: required from ‘std::underlying_type_t llvm::BitmaskEnumDetail::Underlying(E) [with E = clang::TemplateNameDependenceScope::TemplateNameDependence; std::underlying_type_t = unsigned char]’ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:108:35: required from ‘E llvm::BitmaskEnumDetail::operator|(E, E) [with E = clang::TemplateNameDependenceScope::TemplateNameDependence; = void]’ /usr/lib/llvm-11/include/clang/AST/DependenceFlags.h:199:67: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned char’} may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:22, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = char; ValueT = clang::ComparisonCategoryInfo; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = char; ValueT = clang::ComparisonCategoryInfo; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = char; ValueT = clang::ComparisonCategoryInfo; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/clang/AST/ComparisonCategories.h:216:65: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap >; KeyT = clang::FileID; ValueT = std::map; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = clang::FileID; ValueT = std::map; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = clang::FileID; ValueT = std::map; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/clang/AST/RawCommentList.h:182:65: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = clang::RawComment*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = clang::RawComment*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = clang::RawComment*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/clang/AST/RawCommentList.h:182:65: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clGetImageInfo.c:1: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/StringSaver.h:15, from /usr/lib/llvm-11/include/clang/Driver/Driver.h:24, from /<>/lib/CL/pocl_llvm_build.cc:34: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/clang/AST/ASTContext.h:628:30: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:22, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = const clang::FileEntry*; ValueT = const clang::FileEntry*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const clang::FileEntry*; ValueT = const clang::FileEntry*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const clang::FileEntry*; ValueT = const clang::FileEntry*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/clang/Basic/SourceManager.h:627:10: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ In file included from /usr/lib/llvm-11/include/clang/AST/DeclCXX.h:29, from /usr/lib/llvm-11/include/clang/Sema/DeclSpec.h:25, from /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:21, from /usr/lib/llvm-11/include/clang/Frontend/ASTUnit.h:28, from /usr/lib/llvm-11/include/clang/Frontend/FrontendAction.h:23, from /usr/lib/llvm-11/include/clang/CodeGen/CodeGenAction.h:12, from /<>/lib/CL/pocl_llvm_build.cc:35: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘unsigned int clang::ConcreteTypeLoc::getLocalDataSize() const [with Base = clang::UnqualTypeLoc; Derived = clang::AttributedTypeLoc; TypeClass = clang::AttributedType; LocalData = clang::AttributedLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:438:42: required from ‘void* clang::ConcreteTypeLoc::getNonLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::AttributedTypeLoc; TypeClass = clang::AttributedType; LocalData = clang::AttributedLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:447:49: required from ‘clang::TypeLoc clang::ConcreteTypeLoc::getInnerTypeLoc() const [with Base = clang::UnqualTypeLoc; Derived = clang::AttributedTypeLoc; TypeClass = clang::AttributedType; LocalData = clang::AttributedLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:869:27: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:386:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 386 | size = llvm::alignTo(size, extraAlign); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘unsigned int clang::ConcreteTypeLoc::getLocalDataSize() const [with Base = clang::UnqualTypeLoc; Derived = clang::ObjCObjectTypeLoc; TypeClass = clang::ObjCObjectType; LocalData = clang::ObjCObjectTypeLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:438:42: required from ‘void* clang::ConcreteTypeLoc::getNonLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::ObjCObjectTypeLoc; TypeClass = clang::ObjCObjectType; LocalData = clang::ObjCObjectTypeLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:447:49: required from ‘clang::TypeLoc clang::ConcreteTypeLoc::getInnerTypeLoc() const [with Base = clang::UnqualTypeLoc; Derived = clang::ObjCObjectTypeLoc; TypeClass = clang::ObjCObjectType; LocalData = clang::ObjCObjectTypeLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:1003:27: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:386:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘unsigned int clang::ConcreteTypeLoc::getLocalDataSize() const [with Base = clang::UnqualTypeLoc; Derived = clang::MacroQualifiedTypeLoc; TypeClass = clang::MacroQualifiedType; LocalData = clang::MacroQualifiedLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:438:42: required from ‘void* clang::ConcreteTypeLoc::getNonLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::MacroQualifiedTypeLoc; TypeClass = clang::MacroQualifiedType; LocalData = clang::MacroQualifiedLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:447:49: required from ‘clang::TypeLoc clang::ConcreteTypeLoc::getInnerTypeLoc() const [with Base = clang::UnqualTypeLoc; Derived = clang::MacroQualifiedTypeLoc; TypeClass = clang::MacroQualifiedType; LocalData = clang::MacroQualifiedLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:1087:55: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:386:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘unsigned int clang::ConcreteTypeLoc::getLocalDataSize() const [with Base = clang::UnqualTypeLoc; Derived = clang::ParenTypeLoc; TypeClass = clang::ParenType; LocalData = clang::ParenLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:438:42: required from ‘void* clang::ConcreteTypeLoc::getNonLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::ParenTypeLoc; TypeClass = clang::ParenType; LocalData = clang::ParenLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:447:49: required from ‘clang::TypeLoc clang::ConcreteTypeLoc::getInnerTypeLoc() const [with Base = clang::UnqualTypeLoc; Derived = clang::ParenTypeLoc; TypeClass = clang::ParenType; LocalData = clang::ParenLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:1143:27: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:386:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘unsigned int clang::ConcreteTypeLoc::getLocalDataSize() const [with Base = clang::UnqualTypeLoc; Derived = clang::FunctionTypeLoc; TypeClass = clang::FunctionType; LocalData = clang::FunctionLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:438:42: required from ‘void* clang::ConcreteTypeLoc::getNonLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::FunctionTypeLoc; TypeClass = clang::FunctionType; LocalData = clang::FunctionLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:447:49: required from ‘clang::TypeLoc clang::ConcreteTypeLoc::getInnerTypeLoc() const [with Base = clang::UnqualTypeLoc; Derived = clang::FunctionTypeLoc; TypeClass = clang::FunctionType; LocalData = clang::FunctionLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:1436:27: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:386:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘unsigned int clang::ConcreteTypeLoc::getLocalDataSize() const [with Base = clang::UnqualTypeLoc; Derived = clang::ArrayTypeLoc; TypeClass = clang::ArrayType; LocalData = clang::ArrayLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:438:42: required from ‘void* clang::ConcreteTypeLoc::getNonLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::ArrayTypeLoc; TypeClass = clang::ArrayType; LocalData = clang::ArrayLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:447:49: required from ‘clang::TypeLoc clang::ConcreteTypeLoc::getInnerTypeLoc() const [with Base = clang::UnqualTypeLoc; Derived = clang::ArrayTypeLoc; TypeClass = clang::ArrayType; LocalData = clang::ArrayLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:1518:27: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:386:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘unsigned int clang::ConcreteTypeLoc::getLocalDataSize() const [with Base = clang::UnqualTypeLoc; Derived = clang::DependentAddressSpaceTypeLoc; TypeClass = clang::DependentAddressSpaceType; LocalData = clang::DependentAddressSpaceLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:438:42: required from ‘void* clang::ConcreteTypeLoc::getNonLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::DependentAddressSpaceTypeLoc; TypeClass = clang::DependentAddressSpaceType; LocalData = clang::DependentAddressSpaceLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:447:49: required from ‘clang::TypeLoc clang::ConcreteTypeLoc::getInnerTypeLoc() const [with Base = clang::UnqualTypeLoc; Derived = clang::DependentAddressSpaceTypeLoc; TypeClass = clang::DependentAddressSpaceType; LocalData = clang::DependentAddressSpaceLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:1733:33: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:386:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘unsigned int clang::ConcreteTypeLoc::getLocalDataSize() const [with Base = clang::UnqualTypeLoc; Derived = clang::ElaboratedTypeLoc; TypeClass = clang::ElaboratedType; LocalData = clang::ElaboratedLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:438:42: required from ‘void* clang::ConcreteTypeLoc::getNonLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::ElaboratedTypeLoc; TypeClass = clang::ElaboratedType; LocalData = clang::ElaboratedLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:447:49: required from ‘clang::TypeLoc clang::ConcreteTypeLoc::getInnerTypeLoc() const [with Base = clang::UnqualTypeLoc; Derived = clang::ElaboratedTypeLoc; TypeClass = clang::ElaboratedType; LocalData = clang::ElaboratedLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:2189:27: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:386:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘unsigned int clang::ConcreteTypeLoc::getLocalDataSize() const [with Base = clang::UnqualTypeLoc; Derived = clang::PackExpansionTypeLoc; TypeClass = clang::PackExpansionType; LocalData = clang::PackExpansionTypeLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:438:42: required from ‘void* clang::ConcreteTypeLoc::getNonLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::PackExpansionTypeLoc; TypeClass = clang::PackExpansionType; LocalData = clang::PackExpansionTypeLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:447:49: required from ‘clang::TypeLoc clang::ConcreteTypeLoc::getInnerTypeLoc() const [with Base = clang::UnqualTypeLoc; Derived = clang::PackExpansionTypeLoc; TypeClass = clang::PackExpansionType; LocalData = clang::PackExpansionTypeLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:2409:27: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:386:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘unsigned int clang::ConcreteTypeLoc::getLocalDataSize() const [with Base = clang::UnqualTypeLoc; Derived = clang::AtomicTypeLoc; TypeClass = clang::AtomicType; LocalData = clang::AtomicTypeLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:438:42: required from ‘void* clang::ConcreteTypeLoc::getNonLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::AtomicTypeLoc; TypeClass = clang::AtomicType; LocalData = clang::AtomicTypeLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:447:49: required from ‘clang::TypeLoc clang::ConcreteTypeLoc::getInnerTypeLoc() const [with Base = clang::UnqualTypeLoc; Derived = clang::AtomicTypeLoc; TypeClass = clang::AtomicType; LocalData = clang::AtomicTypeLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:2425:33: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:386:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/clang/AST/TypeLoc.h: In instantiation of ‘unsigned int clang::ConcreteTypeLoc::getLocalDataSize() const [with Base = clang::UnqualTypeLoc; Derived = clang::PipeTypeLoc; TypeClass = clang::PipeType; LocalData = clang::PipeTypeLocInfo]’: /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:438:42: required from ‘void* clang::ConcreteTypeLoc::getNonLocalData() const [with Base = clang::UnqualTypeLoc; Derived = clang::PipeTypeLoc; TypeClass = clang::PipeType; LocalData = clang::PipeTypeLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:447:49: required from ‘clang::TypeLoc clang::ConcreteTypeLoc::getInnerTypeLoc() const [with Base = clang::UnqualTypeLoc; Derived = clang::PipeTypeLoc; TypeClass = clang::PipeType; LocalData = clang::PipeTypeLocInfo]’ /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:2483:61: required from here /usr/lib/llvm-11/include/clang/AST/TypeLoc.h:386:25: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:22, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = const clang::DeclContext*; ValueT = llvm::StringRef; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const clang::DeclContext*; ValueT = llvm::StringRef; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const clang::DeclContext*; ValueT = llvm::StringRef; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/clang/Sema/CodeCompleteConsumer.h:652:42: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 30%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture2D.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture2D.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture2D.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture2D.c.o -c /<>/lib/CL/clCreateFromGLTexture2D.c In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCreateFromGLTexture2D.c:1: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysisEvaluator.h:27, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:18, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ /<>/lib/CL/clCreateFromGLTexture2D.c: In function ‘POclCreateFromGLTexture2D’: /<>/lib/CL/clCreateFromGLTexture2D.c:3:49: warning: unused parameter ‘context’ [-Wunused-parameter] 3 | POname(clCreateFromGLTexture2D)(cl_context context, | ~~~~~~~~~~~~~~~~^~~~~~~ /<>/lib/CL/clCreateFromGLTexture2D.c:4:41: warning: unused parameter ‘flags’ [-Wunused-parameter] 4 | cl_mem_flags flags, | ~~~~~~~~~~~~~~~~^~~~~ /<>/lib/CL/clCreateFromGLTexture2D.c:5:41: warning: unused parameter ‘target’ [-Wunused-parameter] 5 | cl_GLenum target, | ~~~~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/clCreateFromGLTexture2D.c:6:41: warning: unused parameter ‘miplevel’ [-Wunused-parameter] 6 | cl_GLint miplevel, | ~~~~~~~~~~~~~~~~^~~~~~~~ /<>/lib/CL/clCreateFromGLTexture2D.c:7:41: warning: unused parameter ‘texture’ [-Wunused-parameter] 7 | cl_GLuint texture, | ~~~~~~~~~~~~~~~~^~~~~~~ /<>/lib/CL/clCreateFromGLTexture2D.c:8:41: warning: unused parameter ‘errcode_ret’ [-Wunused-parameter] 8 | cl_int * errcode_ret) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:22, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = llvm::AliasSetTracker::ASTCallbackVH; ValueT = llvm::AliasSet::PointerRec*; KeyInfoT = llvm::AliasSetTracker::ASTCallbackVHDenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AliasSetTracker::ASTCallbackVH; ValueT = llvm::AliasSet::PointerRec*; KeyInfoT = llvm::AliasSetTracker::ASTCallbackVHDenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AliasSetTracker::ASTCallbackVH; ValueT = llvm::AliasSet::PointerRec*; KeyInfoT = llvm::AliasSetTracker::ASTCallbackVHDenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/AliasSetTracker.h:355:54: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:21, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:22, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 31%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture3D.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture3D.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture3D.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture3D.c.o -c /<>/lib/CL/clCreateFromGLTexture3D.c In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/IR/LegacyPassManagers.h:299:51: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] [ 31%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fast_normalize.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fast_normalize.cl.bc -c /<>/lib/kernel/fast_normalize.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = llvm::LazyCallGraph::SCC*; ValueT = int; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap; KeyT = llvm::LazyCallGraph::SCC*; ValueT = int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:140:5: required from ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::SmallDenseMap; KeyT = llvm::LazyCallGraph::SCC*; ValueT = int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LazyCallGraph.h:565:23: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clCreateFromGLTexture3D.c:23: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /<>/lib/CL/clCreateFromGLTexture3D.c: In function ‘POclCreateFromGLTexture3D’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /<>/lib/CL/clCreateFromGLTexture3D.c:25:49: warning: unused parameter ‘context’ [-Wunused-parameter] 25 | POname(clCreateFromGLTexture3D)(cl_context context, | ~~~~~~~~~~~~~~~~^~~~~~~ /<>/lib/CL/clCreateFromGLTexture3D.c:26:41: warning: unused parameter ‘flags’ [-Wunused-parameter] 26 | cl_mem_flags flags, | ~~~~~~~~~~~~~~~~^~~~~ /<>/lib/CL/clCreateFromGLTexture3D.c:27:41: warning: unused parameter ‘target’ [-Wunused-parameter] 27 | cl_GLenum target, | ~~~~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/clCreateFromGLTexture3D.c:28:41: warning: unused parameter ‘miplevel’ [-Wunused-parameter] 28 | cl_GLint miplevel, | ~~~~~~~~~~~~~~~~^~~~~~~~ /<>/lib/CL/clCreateFromGLTexture3D.c:29:41: warning: unused parameter ‘texture’ [-Wunused-parameter] 29 | cl_GLuint texture, | ~~~~~~~~~~~~~~~~^~~~~~~ /<>/lib/CL/clCreateFromGLTexture3D.c:30:41: warning: unused parameter ‘errcode_ret’ [-Wunused-parameter] 30 | cl_int * errcode_ret) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetEmpty, llvm::DenseMapInfo >, llvm::detail::DenseSetPair > >; KeyT = llvm::PointerIntPair; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseSetPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::PointerIntPair; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseSetPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:733:5: required from ‘llvm::DenseMap::DenseMap(const llvm::DenseMap&) [with KeyT = llvm::PointerIntPair; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseSetPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:54:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ [ 31%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clUnloadCompiler.c.o /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Optional; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Optional; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Optional; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/MustExecute.h:412:77: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clUnloadCompiler.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clUnloadCompiler.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clUnloadCompiler.c.o -c /<>/lib/CL/clUnloadCompiler.c /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap >; KeyT = const llvm::Function*; ValueT = llvm::Optional; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::Function*; ValueT = llvm::Optional; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::Function*; ValueT = llvm::Optional; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/MustExecute.h:412:77: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap >; KeyT = const llvm::Instruction*; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::Instruction*; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::Instruction*; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/MustExecute.h:412:77: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = const llvm::Function*; ValueT = llvm::InformationCache::FunctionInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::Function*; ValueT = llvm::InformationCache::FunctionInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::Function*; ValueT = llvm::InformationCache::FunctionInfo*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:651:28: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMap >; KeyT = std::pair; ValueT = llvm::DenseMap; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::DenseMap >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = std::pair; ValueT = llvm::DenseMap; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::DenseMap >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = std::pair; ValueT = llvm::DenseMap; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::DenseMap >]’ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:651:28: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap*>; KeyT = unsigned int; ValueT = llvm::SmallVector*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair*>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = unsigned int; ValueT = llvm::SmallVector*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair*>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = unsigned int; ValueT = llvm::SmallVector*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair*>]’ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:719:10: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::AbstractAttribute*>; KeyT = std::pair; ValueT = llvm::AbstractAttribute*; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AbstractAttribute*>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = std::pair; ValueT = llvm::AbstractAttribute*; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AbstractAttribute*>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = std::pair; ValueT = llvm::AbstractAttribute*; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AbstractAttribute*>]’ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:821:68: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, 8> >; KeyT = llvm::Function*; ValueT = llvm::SmallVector, 8>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, 8> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::Function*; ValueT = llvm::SmallVector, 8>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, 8> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::Function*; ValueT = llvm::SmallVector, 8>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, 8> >]’ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:821:68: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = llvm::Use*; ValueT = llvm::Value*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::Use*; ValueT = llvm::Value*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::Use*; ValueT = llvm::Value*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:821:68: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clUnloadCompiler.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = llvm::Instruction*; ValueT = llvm::MemDepResult; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::Instruction*; ValueT = llvm::MemDepResult; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::Instruction*; ValueT = llvm::MemDepResult; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/MemoryDependenceAnalysis.h:372:52: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::NonLocalDepResult>; KeyT = llvm::AssertingVH; ValueT = llvm::NonLocalDepResult; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::NonLocalDepResult>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssertingVH; ValueT = llvm::NonLocalDepResult; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::NonLocalDepResult>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssertingVH; ValueT = llvm::NonLocalDepResult; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::NonLocalDepResult>]’ /usr/lib/llvm-11/include/llvm/Analysis/MemoryDependenceAnalysis.h:372:52: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap >; KeyT = llvm::Instruction*; ValueT = llvm::SmallPtrSet; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::Instruction*; ValueT = llvm::SmallPtrSet; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::Instruction*; ValueT = llvm::SmallPtrSet; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/MemoryDependenceAnalysis.h:372:52: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::MemoryDependenceResults::NonLocalPointerInfo>; KeyT = llvm::PointerIntPair; ValueT = llvm::MemoryDependenceResults::NonLocalPointerInfo; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::MemoryDependenceResults::NonLocalPointerInfo>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::PointerIntPair; ValueT = llvm::MemoryDependenceResults::NonLocalPointerInfo; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::MemoryDependenceResults::NonLocalPointerInfo>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::PointerIntPair; ValueT = llvm::MemoryDependenceResults::NonLocalPointerInfo; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::MemoryDependenceResults::NonLocalPointerInfo>]’ /usr/lib/llvm-11/include/llvm/Analysis/MemoryDependenceAnalysis.h:372:52: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, 4> >; KeyT = llvm::Instruction*; ValueT = llvm::SmallPtrSet, 4>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, 4> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::Instruction*; ValueT = llvm::SmallPtrSet, 4>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, 4> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::Instruction*; ValueT = llvm::SmallPtrSet, 4>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, 4> >]’ /usr/lib/llvm-11/include/llvm/Analysis/MemoryDependenceAnalysis.h:372:52: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, bool> >; KeyT = llvm::Instruction*; ValueT = std::pair, bool>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, bool> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::Instruction*; ValueT = std::pair, bool>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, bool> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::Instruction*; ValueT = std::pair, bool>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, bool> >]’ /usr/lib/llvm-11/include/llvm/Analysis/MemoryDependenceAnalysis.h:372:52: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap >; KeyT = llvm::Instruction*; ValueT = llvm::SmallPtrSet; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::Instruction*; ValueT = llvm::SmallPtrSet; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::Instruction*; ValueT = llvm::SmallPtrSet; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/MemoryDependenceAnalysis.h:372:52: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock**; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock**; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::BasicBlock**; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/IR/PredIteratorCache.h:27:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = llvm::BasicBlock*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/IR/PredIteratorCache.h:27:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = unsigned int; ValueT = llvm::GVN::LeaderTableEntry; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = unsigned int; ValueT = llvm::GVN::LeaderTableEntry; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = unsigned int; ValueT = llvm::GVN::LeaderTableEntry; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Transforms/Scalar/GVN.h:113:49: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, unsigned int>; KeyT = llvm::AssertingVH; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, unsigned int>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssertingVH; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, unsigned int>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssertingVH; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, unsigned int>]’ /usr/lib/llvm-11/include/llvm/Transforms/Scalar/GVN.h:113:49: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 31%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetSupportedImageFormats.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetSupportedImageFormats.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetSupportedImageFormats.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetSupportedImageFormats.c.o -c /<>/lib/CL/clGetSupportedImageFormats.c In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:27, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:42: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘virtual bool llvm::CallGraphSCCPass::doInitialization(llvm::CallGraph&)’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:48:44: warning: unused parameter ‘CG’ [-Wunused-parameter] 48 | virtual bool doInitialization(CallGraph &CG) { | ~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘virtual bool llvm::CallGraphSCCPass::doFinalization(llvm::CallGraph&)’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:63:42: warning: unused parameter ‘CG’ [-Wunused-parameter] 63 | virtual bool doFinalization(CallGraph &CG) { | ~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘virtual bool llvm::DummyCGSCCPass::runOnSCC(llvm::CallGraphSCC&)’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:131:31: warning: unused parameter ‘SCC’ [-Wunused-parameter] 131 | bool runOnSCC(CallGraphSCC &SCC) override { return false; } | ~~~~~~~~~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:32: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:42: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clGetSupportedImageFormats.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::StringRef; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::StringRef; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::StringRef; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:67:56: required from ‘llvm::detail::DenseSetImpl::DenseSetImpl(unsigned int) [with ValueT = llvm::StringRef; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:255:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /<>/lib/CL/clGetSupportedImageFormats.c: In function ‘POclGetSupportedImageFormats’: /<>/lib/CL/clGetSupportedImageFormats.c:29:58: warning: unused parameter ‘flags’ [-Wunused-parameter] 29 | cl_mem_flags flags, | ~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:42: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/HandleSamplerInitialization.h:29, from /<>/lib/llvmopencl/HandleSamplerInitialization.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = const clang::FileEntry*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const clang::FileEntry*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const clang::FileEntry*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:67:56: required from ‘llvm::detail::DenseSetImpl::DenseSetImpl(unsigned int) [with ValueT = const clang::FileEntry*; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:255:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ [ 31%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddress.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddress.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddress.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddress.c.o -c /<>/lib/CL/clGetExtensionFunctionAddress.c [ 32%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fract.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fract.cl.bc -c /<>/lib/kernel/fract.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:39, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clGetExtensionFunctionAddress.c:1: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ [ 32%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddressForPlatform.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddressForPlatform.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddressForPlatform.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddressForPlatform.c.o -c /<>/lib/CL/clGetExtensionFunctionAddressForPlatform.c In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysisEvaluator.h:27, from /usr/lib/llvm-11/include/llvm/LinkAllPasses.h:18, from /<>/lib/CL/pocl_llvm_build.cc:47: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:22, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::Region*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::Region*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:738:5: required from ‘llvm::DenseMap::DenseMap(llvm::DenseMap&&) [with KeyT = llvm::BasicBlock*; ValueT = llvm::Region*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:700:7: required from ‘llvm::RegionInfoBase::RegionInfoBase(llvm::RegionInfoBase&&) [with Tr = llvm::RegionTraits]’ /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:909:74: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:45, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = const llvm::SCEV*; ValueT = const llvm::SCEV*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::SCEV*; ValueT = const llvm::SCEV*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::SCEV*; ValueT = const llvm::SCEV*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolutionExpressions.h:664:52: required from ‘llvm::SCEVRewriteVisitor::SCEVRewriteVisitor(llvm::ScalarEvolution&) [with SC = llvm::SCEVParameterRewriter]’ /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolutionExpressions.h:803:58: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clGetExtensionFunctionAddressForPlatform.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:45, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = const llvm::Function*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::Function*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::Function*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:67:56: required from ‘llvm::detail::DenseSetImpl::DenseSetImpl(unsigned int) [with ValueT = const llvm::Function*; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:255:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:45, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:31, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ [ 32%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clIcdGetPlatformIDsKHR.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clIcdGetPlatformIDsKHR.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clIcdGetPlatformIDsKHR.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clIcdGetPlatformIDsKHR.c.o -c /<>/lib/CL/clIcdGetPlatformIDsKHR.c /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:67:56: required from ‘llvm::detail::DenseSetImpl::DenseSetImpl(unsigned int) [with ValueT = llvm::BasicBlock*; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:255:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:21, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::opt::Arg*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::opt::Arg*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::opt::Arg*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:926:56: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::opt::Arg*; unsigned int N = 16]’ /usr/lib/llvm-11/include/llvm/Option/ArgList.h:156:9: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clIcdGetPlatformIDsKHR.c:3: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:31, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:31, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:31, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:22, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 33%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseDevice.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clReleaseDevice.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clReleaseDevice.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseDevice.c.o -c /<>/lib/CL/clReleaseDevice.c In file included from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:45, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = std::pair; ValueT = llvm::AliasResult; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AliasResult>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, llvm::AliasResult, 8>; KeyT = std::pair; ValueT = llvm::AliasResult; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AliasResult>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, llvm::AliasResult, 8>; KeyT = std::pair; ValueT = llvm::AliasResult; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AliasResult>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = std::pair; ValueT = llvm::AliasResult; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AliasResult>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = std::pair; ValueT = llvm::AliasResult; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AliasResult>]’ /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:351:19: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = const llvm::Value*; ValueT = bool; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap; KeyT = const llvm::Value*; ValueT = bool; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap; KeyT = const llvm::Value*; ValueT = bool; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = const llvm::Value*; ValueT = bool; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = const llvm::Value*; ValueT = bool; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:351:33: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:42: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 33%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_global_id.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_global_id.c.bc -c /<>/lib/kernel/get_global_id.c -I/<>/include -include /<>/include/_kernel_c.h /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = llvm::PointerIntPair; ValueT = llvm::ScalarEvolution::ExitLimit; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::ScalarEvolution::ExitLimit>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, llvm::ScalarEvolution::ExitLimit>; KeyT = llvm::PointerIntPair; ValueT = llvm::ScalarEvolution::ExitLimit; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::ScalarEvolution::ExitLimit>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, llvm::ScalarEvolution::ExitLimit>; KeyT = llvm::PointerIntPair; ValueT = llvm::ScalarEvolution::ExitLimit; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::ScalarEvolution::ExitLimit>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = llvm::PointerIntPair; ValueT = llvm::ScalarEvolution::ExitLimit; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::ScalarEvolution::ExitLimit>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = llvm::PointerIntPair; ValueT = llvm::ScalarEvolution::ExitLimit; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::ScalarEvolution::ExitLimit>]’ /usr/lib/llvm-11/include/llvm/Analysis/ScalarEvolution.h:1560:72: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:42: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:45, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = llvm::Value*; ValueT = unsigned int; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::Value*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::Value*; ValueT = unsigned int; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = llvm::Value*; ValueT = unsigned int; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = llvm::Value*; ValueT = unsigned int; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/MapVector.h:37:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clReleaseDevice.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ [ 33%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_global_offset.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_global_offset.c.bc -c /<>/lib/kernel/get_global_offset.c -I/<>/include -include /<>/include/_kernel_c.h In file included from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:42: /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h: In member function ‘llvm::CallBrInst* llvm::IRBuilderBase::CreateCallBr(llvm::FunctionCallee, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&)’: /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:1059:55: warning: unused parameter ‘OpBundles’ [-Wunused-parameter] 1059 | ArrayRef OpBundles, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = llvm::CachedHashString; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 16; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::CachedHashString; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::CachedHashString; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = llvm::CachedHashString; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 16; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = llvm::CachedHashString; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 16; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:67:56: required from ‘llvm::detail::DenseSetImpl::DenseSetImpl(unsigned int) [with ValueT = llvm::CachedHashString; MapTy = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:273:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ [ 34%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_global_size.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_global_size.c.bc -c /<>/lib/kernel/get_global_size.c -I/<>/include -include /<>/include/_kernel_c.h /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ [ 34%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainDevice.c.o In file included from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clRetainDevice.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clRetainDevice.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clRetainDevice.c.o -c /<>/lib/CL/clRetainDevice.c /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 16; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 16; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 16; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:67:56: required from ‘llvm::detail::DenseSetImpl::DenseSetImpl(unsigned int) [with ValueT = llvm::WeakVH; MapTy = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:273:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:67:56: required from ‘llvm::detail::DenseSetImpl::DenseSetImpl(unsigned int) [with ValueT = llvm::WeakVH; MapTy = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:273:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::grow(unsigned int) [with KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 16; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:537:40: required from ‘void llvm::DenseMapBase::grow(unsigned int) [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:581:13: required from ‘BucketT* llvm::DenseMapBase::InsertIntoBucketImpl(const KeyT&, const LookupKeyT&, BucketT*) [with LookupKeyT = llvm::WeakVH; DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:547:37: required from ‘BucketT* llvm::DenseMapBase::InsertIntoBucket(BucketT*, KeyArg&&, ValueArgs&& ...) [with KeyArg = llvm::WeakVH; ValueArgs = {llvm::detail::DenseSetEmpty&}; DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:234:25: required from ‘std::pair, bool> llvm::DenseMapBase::try_emplace(KeyT&&, Ts&& ...) [with Ts = {llvm::detail::DenseSetEmpty&}; DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:200:30: required from ‘std::pair::Iterator, bool> llvm::detail::DenseSetImpl::insert(ValueT&&) [with ValueT = llvm::WeakVH; MapTy = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:1090:41: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1040:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1040 | AtLeast = std::max(64, NextPowerOf2(AtLeast-1)); | ~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::grow(unsigned int) [with KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:537:40: required from ‘void llvm::DenseMapBase::grow(unsigned int) [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:581:13: required from ‘BucketT* llvm::DenseMapBase::InsertIntoBucketImpl(const KeyT&, const LookupKeyT&, BucketT*) [with LookupKeyT = llvm::WeakVH; DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:547:37: required from ‘BucketT* llvm::DenseMapBase::InsertIntoBucket(BucketT*, KeyArg&&, ValueArgs&& ...) [with KeyArg = llvm::WeakVH; ValueArgs = {llvm::detail::DenseSetEmpty&}; DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:234:25: required from ‘std::pair, bool> llvm::DenseMapBase::try_emplace(KeyT&&, Ts&& ...) [with Ts = {llvm::detail::DenseSetEmpty&}; DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::WeakVH; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:200:30: required from ‘std::pair::Iterator, bool> llvm::detail::DenseSetImpl::insert(ValueT&&) [with ValueT = llvm::WeakVH; MapTy = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/Transforms/IPO/Attributor.h:1102:69: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1040:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 34%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_group_id.c.bc /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_group_id.c.bc -c /<>/lib/kernel/get_group_id.c -I/<>/include -include /<>/include/_kernel_c.h /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = llvm::Instruction*; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 16; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::Instruction*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:497:5: required from ‘void llvm::DenseMapBase::decrementNumEntries() [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::Instruction*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:309:5: required from ‘bool llvm::DenseMapBase::erase(const KeyT&) [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::Instruction*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:102:24: required from ‘bool llvm::detail::DenseSetImpl::erase(const ValueT&) [with ValueT = llvm::Instruction*; MapTy = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:158:19: required from ‘bool llvm::SetVector::remove(const value_type&) [with T = llvm::Instruction*; Vector = llvm::SmallVector; Set = llvm::SmallDenseSet >; llvm::SetVector::value_type = llvm::Instruction*]’ /usr/lib/llvm-11/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:95:20: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ [ 34%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubDevices.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubDevices.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubDevices.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubDevices.c.o -c /<>/lib/CL/clCreateSubDevices.c In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clRetainDevice.c:23: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 34%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_array_size.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_array_size.cl.bc -c /<>/lib/kernel/get_image_array_size.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clCreateSubDevices.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::grow(unsigned int) [with KeyT = llvm::Instruction*; ValueT = llvm::detail::DenseSetEmpty; unsigned int InlineBuckets = 16; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:537:40: required from ‘void llvm::DenseMapBase::grow(unsigned int) [with DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::Instruction*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:581:13: required from ‘BucketT* llvm::DenseMapBase::InsertIntoBucketImpl(const KeyT&, const LookupKeyT&, BucketT*) [with LookupKeyT = llvm::Instruction*; DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::Instruction*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:547:37: required from ‘BucketT* llvm::DenseMapBase::InsertIntoBucket(BucketT*, KeyArg&&, ValueArgs&& ...) [with KeyArg = llvm::Instruction* const&; ValueArgs = {llvm::detail::DenseSetEmpty&}; DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::Instruction*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:258:33: required from ‘std::pair, bool> llvm::DenseMapBase::try_emplace(const KeyT&, Ts&& ...) [with Ts = {llvm::detail::DenseSetEmpty&}; DerivedT = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::Instruction*; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:195:30: required from ‘std::pair::Iterator, bool> llvm::detail::DenseSetImpl::insert(const ValueT&) [with ValueT = llvm::Instruction*; MapTy = llvm::SmallDenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:142:30: required from ‘bool llvm::SetVector::insert(const value_type&) [with T = llvm::Instruction*; Vector = llvm::SmallVector; Set = llvm::SmallDenseSet >; llvm::SetVector::value_type = llvm::Instruction*]’ /usr/lib/llvm-11/include/llvm/Transforms/InstCombine/InstCombineWorklist.h:47:24: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1040:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1040 | AtLeast = std::max(64, NextPowerOf2(AtLeast-1)); | ~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /<>/lib/CL/clCreateSubDevices.c: In function ‘POclCreateSubDevices’: /<>/lib/CL/clCreateSubDevices.c:91:24: warning: conversion from ‘cl_device_partition_property’ {aka ‘long int’} to ‘cl_uint’ {aka ‘unsigned int’} may change value [-Wconversion] 91 | count_devices = in_device->max_compute_units / properties[1]; | ^~~~~~~~~ /<>/lib/CL/clCreateSubDevices.c:101:25: warning: conversion from ‘cl_device_partition_property’ {aka ‘long int’} to ‘cl_uint’ {aka ‘unsigned int’} may change value [-Wconversion] 101 | total_cus += properties[i]; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] /<>/lib/CL/clCreateSubDevices.c:147:14: warning: conversion from ‘cl_device_partition_property’ {aka ‘long int’} to ‘cl_uint’ {aka ‘unsigned int’} may change value [-Wconversion] 147 | = (properties[0] == CL_DEVICE_PARTITION_EQUALLY | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:45, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/clang/Basic/Diagnostic.h:21, from /<>/lib/CL/pocl_llvm_build.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ [ 34%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_channel_data_type.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_channel_data_type.cl.bc -c /<>/lib/kernel/get_image_channel_data_type.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/InlineKernels.cc:31: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ [ 34%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clUnloadPlatformCompiler.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clUnloadPlatformCompiler.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clUnloadPlatformCompiler.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clUnloadPlatformCompiler.c.o -c /<>/lib/CL/clUnloadPlatformCompiler.c /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clUnloadPlatformCompiler.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/InlineKernels.cc:32: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 34%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_channel_order.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_channel_order.cl.bc -c /<>/lib/kernel/get_image_channel_order.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 34%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetContentSizeBufferPoCL.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetContentSizeBufferPoCL.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clSetContentSizeBufferPoCL.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clSetContentSizeBufferPoCL.c.o -c /<>/lib/CL/clSetContentSizeBufferPoCL.c In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clSetContentSizeBufferPoCL.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ [ 35%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_util.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_util.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_util.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_util.c.o -c /<>/lib/CL/pocl_util.c In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ [ 35%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_image_util.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_image_util.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_image_util.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_image_util.c.o -c /<>/lib/CL/pocl_image_util.c In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/InlineKernels.cc:33: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/InlineKernels.cc:33: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_image_util.h:27, from /<>/lib/CL/pocl_image_util.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/pocl_util.c:45: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ /<>/lib/CL/pocl_util.c: In function ‘pocl_restore_ftz’: /<>/lib/CL/pocl_util.c:68:28: warning: unused parameter ‘ftz’ [-Wunused-parameter] 68 | pocl_restore_ftz (unsigned ftz) | ~~~~~~~~~^~~ /<>/lib/CL/pocl_util.c: In function ‘pocl_set_ftz’: /<>/lib/CL/pocl_util.c:114:24: warning: unused parameter ‘ftz’ [-Wunused-parameter] 114 | pocl_set_ftz (unsigned ftz) | ~~~~~~~~~^~~ /<>/lib/CL/pocl_util.c: In function ‘pocl_restore_rm’: /<>/lib/CL/pocl_util.c:162:27: warning: unused parameter ‘rm’ [-Wunused-parameter] 162 | pocl_restore_rm (unsigned rm) | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/ImplicitConditionalBarriers.cc:33: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ /<>/lib/CL/pocl_util.c: In function ‘sort_and_uniq’: /<>/lib/CL/pocl_util.c:410:16: warning: conversion to ‘ssize_t’ {aka ‘long int’} from ‘size_t’ {aka ‘long unsigned int’} may change the sign of the result [-Wsign-conversion] 410 | for (j = (i - 1); ((j >= 0) && (objs[j]->id > buf->id)); --j) | ^ /<>/lib/CL/pocl_util.c: In function ‘pocl_create_command_full’: /<>/lib/CL/pocl_util.c:974:30: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 974 | final_event->pocl_refcount += num_buffers; | ^~ /<>/lib/CL/pocl_util.c:974:33: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 974 | final_event->pocl_refcount += num_buffers; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ /<>/lib/CL/pocl_util.c: At top level: /<>/lib/CL/pocl_util.c:1939:30: warning: signed conversion from ‘unsigned int’ to ‘int32_t’ {aka ‘const int’} changes value from ‘2147483648’ to ‘-2147483648’ [-Wsign-conversion] 1939 | static int32_t const signN = 0x80000000; /* flt32 sign bit */ | ^~~~~~~~~~ /<>/lib/CL/pocl_util.c: In function ‘half_to_float’: /<>/lib/CL/pocl_util.c:1984:7: warning: conversion from ‘int32_t’ {aka ‘int’} to ‘float’ may change value [-Wconversion] 1984 | s.f *= v.si; | ^~ /<>/lib/CL/pocl_util.c: In function ‘float_to_half’: /<>/lib/CL/pocl_util.c:1997:19: warning: conversion to ‘uint32_t’ {aka ‘unsigned int’} from ‘int32_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion] 1997 | uint32_t sign = v.si & signN; | ^ /<>/lib/CL/pocl_util.c:1998:8: warning: conversion to ‘uint32_t’ {aka ‘unsigned int’} from ‘int32_t’ {aka ‘int’} may change the sign of the result [-Wsign-conversion] 1998 | v.si ^= sign; | ^~ /<>/lib/CL/pocl_util.c:1998:11: warning: conversion to ‘int32_t’ {aka ‘int’} from ‘uint32_t’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion] 1998 | v.si ^= sign; | ^~~~ /<>/lib/CL/pocl_util.c:2001:10: warning: conversion from ‘float’ to ‘int32_t’ {aka ‘int’} may change value [-Wfloat-conversion] 2001 | s.si = s.f * v.f; | ^ /<>/lib/CL/pocl_util.c:2008:15: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 2008 | return v.ui | sign; | ~~~~~^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ [ 36%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_depth.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_depth.cl.bc -c /<>/lib/kernel/get_image_depth.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/InlineKernels.cc:33: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/InlineKernels.cc:33: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:46, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ [ 36%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_img_buf_cpy.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_img_buf_cpy.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_img_buf_cpy.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_img_buf_cpy.c.o -c /<>/lib/CL/pocl_img_buf_cpy.c /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/IsolateRegions.cc:32: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /<>/lib/llvmopencl/InlineKernels.cc:33: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_img_buf_cpy.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/IsolateRegions.cc:32: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ [ 36%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_dim.cl.bc /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_dim.cl.bc -c /<>/lib/kernel/get_image_dim.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/IsolateRegions.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ [ 36%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_tracing.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_tracing.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_tracing.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_tracing.c.o -c /<>/lib/CL/pocl_tracing.c /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:39: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:39: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/InlineKernels.cc:34: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/InlineKernels.cc:34: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/pocl_tracing.c:27: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/pocl_tracing.c: In function ‘text_tracer_event_updated’: /<>/lib/CL/pocl_tracing.c:188:23: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 188 | fwrite (tmp_buffer, text_size, 1, text_tracer_file); | ^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:39: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ [ 36%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_runtime_config.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_runtime_config.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_runtime_config.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_runtime_config.c.o -c /<>/lib/CL/pocl_runtime_config.c [ 37%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_mem_management.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_mem_management.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_mem_management.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_mem_management.c.o -c /<>/lib/CL/pocl_mem_management.c [ 37%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_hash.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_hash.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_hash.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_hash.c.o -c /<>/lib/CL/pocl_hash.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_runtime_config.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 37%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_height.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_height.cl.bc -c /<>/lib/kernel/get_image_height.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_mem_management.h:24, from /<>/lib/CL/pocl_mem_management.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/pocl_hash.c: In function ‘pocl_SHA1_Update’: /<>/lib/CL/pocl_hash.c:181:31: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 181 | if ((context->count[0] += len << 3) < (len << 3)) context->count[1]++; | ^~~ /<>/lib/CL/pocl_hash.c:182:26: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 182 | context->count[1] += (len >> 29); | ^ [ 37%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_width.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_image_width.cl.bc -c /<>/lib/kernel/get_image_width.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 37%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_local_id.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_local_id.c.bc -c /<>/lib/kernel/get_local_id.c -I/<>/include -include /<>/include/_kernel_c.h make -f tests/kernel/CMakeFiles/kernel.dir/build.make tests/kernel/CMakeFiles/kernel.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/kernel /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/kernel /<>/obj-riscv64-linux-gnu/tests/kernel/CMakeFiles/kernel.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/kernel/CMakeFiles/kernel.dir/build.make tests/kernel/CMakeFiles/kernel.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 37%] Building C object tests/kernel/CMakeFiles/kernel.dir/kernel.c.o cd /<>/obj-riscv64-linux-gnu/tests/kernel && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/kernel\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/kernel/CMakeFiles/kernel.dir/kernel.c.o -MF CMakeFiles/kernel.dir/kernel.c.o.d -o CMakeFiles/kernel.dir/kernel.c.o -c /<>/tests/kernel/kernel.c In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/IsolateRegions.cc:36: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/IsolateRegions.cc:36: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/llvmopencl/../CL/pocl_icd.h:26, from /<>/lib/llvmopencl/../CL/pocl_cl.h:56, from /<>/lib/llvmopencl/../CL/pocl_llvm.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:25, from /<>/lib/llvmopencl/InlineKernels.cc:37: /usr/include/CL/cl_gl_ext.h: At global scope: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:39: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/IsolateRegions.cc:36: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ [ 37%] Linking C executable kernel /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ cd /<>/obj-riscv64-linux-gnu/tests/kernel && /usr/bin/cmake -E cmake_link_script CMakeFiles/kernel.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c99 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/kernel.dir/kernel.c.o -o kernel ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:39: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/build In file included from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] [ 37%] Built target kernel make -f tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/build.make tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/DependInfo.cmake --color= [ 38%] Building CXX object tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/test_alignment_with_dynamic_wg3.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/test_alignment_with_dynamic_wg3.cpp.o -MF CMakeFiles/test_alignment_with_dynamic_wg3.dir/test_alignment_with_dynamic_wg3.cpp.o.d -o CMakeFiles/test_alignment_with_dynamic_wg3.dir/test_alignment_with_dynamic_wg3.cpp.o -c /<>/tests/regression/test_alignment_with_dynamic_wg3.cpp [ 38%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_local_size.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_local_size.c.bc -c /<>/lib/kernel/get_local_size.c -I/<>/include -include /<>/include/_kernel_c.h make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/build.make tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 38%] Building CXX object tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/test_simple_for_with_a_barrier.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/test_simple_for_with_a_barrier.cpp.o -MF CMakeFiles/test_simple_for_with_a_barrier.dir/test_simple_for_with_a_barrier.cpp.o.d -o CMakeFiles/test_simple_for_with_a_barrier.dir/test_simple_for_with_a_barrier.cpp.o -c /<>/tests/regression/test_simple_for_with_a_barrier.cpp [ 39%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_num_groups.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_num_groups.c.bc -c /<>/lib/kernel/get_num_groups.c -I/<>/include -include /<>/include/_kernel_c.h [ 39%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_file_util.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_file_util.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_file_util.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_file_util.c.o -c /<>/lib/CL/pocl_file_util.c [ 39%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_work_dim.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/get_work_dim.c.bc -c /<>/lib/kernel/get_work_dim.c -I/<>/include -include /<>/include/_kernel_c.h In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:18, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ [ 39%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/hadd.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/hadd.cl.bc -c /<>/lib/kernel/hadd.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /<>/lib/CL/pocl_file_util.c: In function ‘pocl_mk_tempname’: /<>/lib/CL/pocl_file_util.c:312:31: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 312 | fd = mkostemps (output, strlen (suffix), O_CLOEXEC); | ^~~~~~~~~~~~~~~ /<>/lib/CL/pocl_file_util.c: In function ‘pocl_write_tempfile’: /<>/lib/CL/pocl_file_util.c:392:17: warning: conversion to ‘long unsigned int’ from ‘ssize_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion] 392 | bytes -= res; | ^~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:19, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/IsolateRegions.cc:36: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 39%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_debug.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_debug.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_debug.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_debug.c.o -c /<>/lib/CL/pocl_debug.c In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/IsolateRegions.cc:36: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_debug.c:6: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:18, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/InlineKernels.cc:34: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:19, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ [ 39%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_timing.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_timing.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_timing.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_timing.c.o -c /<>/lib/CL/pocl_timing.c [ 39%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_cos.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_cos.cl.bc -c /<>/lib/kernel/half_cos.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:18, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /<>/lib/CL/pocl_timing.c: In function ‘pocl_gettimemono_ns’: /<>/lib/CL/pocl_timing.c:80:54: warning: conversion to ‘long unsigned int’ from ‘__syscall_slong_t’ {aka ‘long int’} may change the sign of the result [-Wsign-conversion] 80 | return (((uint64_t)timespec.tv_sec * 1000000000UL) + timespec.tv_nsec); | ^ /<>/lib/CL/pocl_timing.c: In function ‘pocl_gettimereal’: /<>/lib/CL/pocl_timing.c:119:14: warning: conversion from ‘__syscall_slong_t’ {aka ‘long int’} to ‘int’ may change value [-Wconversion] 119 | *nanosec = timespec.tv_nsec; | ^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/InlineKernels.cc:34: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ [ 39%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSVMAlloc.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSVMAlloc.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clSVMAlloc.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clSVMAlloc.c.o -c /<>/lib/CL/clSVMAlloc.c [ 39%] Building CXX object lib/CL/CMakeFiles/lib_cl_llvm.dir/pocl_llvm_metadata.cc.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"/<>/lib/CL/../llvmopencl" -MD -MT lib/CL/CMakeFiles/lib_cl_llvm.dir/pocl_llvm_metadata.cc.o -MF CMakeFiles/lib_cl_llvm.dir/pocl_llvm_metadata.cc.o.d -o CMakeFiles/lib_cl_llvm.dir/pocl_llvm_metadata.cc.o -c /<>/lib/CL/pocl_llvm_metadata.cc In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/devices/../pocl_icd.h:26, from /<>/lib/CL/devices/../pocl_cl.h:56, from /<>/lib/CL/devices/devices.h:28, from /<>/lib/CL/clSVMAlloc.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:18, from /<>/lib/llvmopencl/InlineKernels.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/IR/LegacyPassManagers.h:299:51: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/IsolateRegions.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /<>/tests/regression/test_alignment_with_dynamic_wg3.cpp:4: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ [ 40%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSVMFree.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSVMFree.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clSVMFree.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clSVMFree.c.o -c /<>/lib/CL/clSVMFree.c In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/ADT/SetVector.h:23, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:20, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_util.h:30, from /<>/lib/CL/clSVMFree.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 40%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_divide.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_divide.cl.bc -c /<>/lib/kernel/half_divide.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:39, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:19, from /<>/lib/llvmopencl/ImplicitLoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ [ 40%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMFree.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMFree.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMFree.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMFree.c.o -c /<>/lib/CL/clEnqueueSVMFree.c /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueSVMFree.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /<>/tests/regression/test_simple_for_with_a_barrier.cpp:29: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 40%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMap.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMap.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMap.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMap.c.o -c /<>/lib/CL/clEnqueueSVMMap.c In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:45, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueSVMMap.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/IsolateRegions.cc:32: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:39, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/IR/LegacyPassManagers.h:299:51: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 40%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_exp10.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_exp10.cl.bc -c /<>/lib/kernel/half_exp10.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:39, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:39, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/IsolateRegions.cc:32: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ [ 40%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMUnmap.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMUnmap.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMUnmap.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMUnmap.c.o -c /<>/lib/CL/clEnqueueSVMUnmap.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueSVMUnmap.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:39, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = llvm::BasicBlock*; ValueT = llvm::Region*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = llvm::Region*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:738:5: required from ‘llvm::DenseMap::DenseMap(llvm::DenseMap&&) [with KeyT = llvm::BasicBlock*; ValueT = llvm::Region*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:700:7: required from ‘llvm::RegionInfoBase::RegionInfoBase(llvm::RegionInfoBase&&) [with Tr = llvm::RegionTraits]’ /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:909:74: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:45, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:39, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/RegionInfo.h:39, from /<>/lib/llvmopencl/IsolateRegions.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ [ 40%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemcpy.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemcpy.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemcpy.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemcpy.c.o -c /<>/lib/CL/clEnqueueSVMMemcpy.c [ 40%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/Kernel.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/Kernel.cc.o -MF CMakeFiles/llvmpasses.dir/Kernel.cc.o.d -o CMakeFiles/llvmpasses.dir/Kernel.cc.o -c /<>/lib/llvmopencl/Kernel.cc In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueSVMMemcpy.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 40%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_exp2.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_exp2.cl.bc -c /<>/lib/kernel/half_exp2.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 41%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemFill.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemFill.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemFill.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemFill.c.o -c /<>/lib/CL/clEnqueueSVMMemFill.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clEnqueueSVMMemFill.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /<>/lib/CL/pocl_cl.h:60, from /<>/lib/CL/clEnqueueSVMMemFill.c:24: /<>/lib/CL/clEnqueueSVMMemFill.c: In function ‘POclEnqueueSVMMemFill’: /<>/lib/CL/clEnqueueSVMMemFill.c:52:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 52 | POCL_RETURN_ERROR_ON((__builtin_popcount(pattern_size) > 1), CL_INVALID_VALUE, | ^~~~~~~~~~~~ /<>/lib/CL/pocl_debug.h:273:11: note: in definition of macro ‘POCL_RETURN_ERROR_ON’ 273 | if (cond) \ | ^~~~ /<>/lib/CL/clEnqueueSVMMemFill.c:57:43: warning: conversion to ‘long unsigned int’ from ‘long int’ may change the sign of the result [-Wsign-conversion] 57 | POCL_RETURN_ERROR_ON(((intptr_t)svm_ptr % pattern_size > 0), CL_INVALID_VALUE, | ^ /<>/lib/CL/pocl_debug.h:273:11: note: in definition of macro ‘POCL_RETURN_ERROR_ON’ 273 | if (cond) \ | ^~~~ [ 41%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArgSVMPointer.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArgSVMPointer.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArgSVMPointer.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArgSVMPointer.c.o -c /<>/lib/CL/clSetKernelArgSVMPointer.c In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /<>/lib/CL/pocl_llvm_metadata.cc:29: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clSetKernelArgSVMPointer.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/CL/pocl_llvm_metadata.cc:30: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ [ 41%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/linker.cpp.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/linker.cpp.o -MF CMakeFiles/llvmpasses.dir/linker.cpp.o.d -o CMakeFiles/llvmpasses.dir/linker.cpp.o -c /<>/lib/llvmopencl/linker.cpp [ 42%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_exp.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_exp.cl.bc -c /<>/lib/kernel/half_exp.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 42%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelExecInfo.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelExecInfo.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelExecInfo.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelExecInfo.c.o -c /<>/lib/CL/clSetKernelExecInfo.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/clSetKernelExecInfo.c:24: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/clSetKernelExecInfo.c: In function ‘POclSetKernelExecInfo’: /<>/lib/CL/clSetKernelExecInfo.c:29:37: warning: unused parameter ‘param_value_size’ [-Wunused-parameter] 29 | size_t param_value_size , | ~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:30, from /<>/lib/CL/pocl_llvm_metadata.cc:30: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ [ 42%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_binary.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_binary.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_binary.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_binary.c.o -c /<>/lib/CL/pocl_binary.c In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/CL/pocl_llvm_metadata.cc:30: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/CL/pocl_llvm_metadata.cc:30: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ [ 42%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_opengl.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_opengl.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_opengl.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_opengl.c.o -c /<>/lib/CL/pocl_opengl.c In file included from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/CL/pocl_llvm_metadata.cc:30: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_binary.c:29: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_opengl.c:2: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/pocl_binary.c: In function ‘pocl_binary_get_device_id’: /<>/lib/CL/pocl_binary.c:225:19: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 225 | int i, length = strlen(dev_hash); | ^~~~~~ /<>/lib/CL/pocl_binary.c: In function ‘serialize_file’: /<>/lib/CL/pocl_binary.c:178:23: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 178 | do { uint32_t len = strlen(elem); \ | ^~~~~~ /<>/lib/CL/pocl_binary.c:297:3: note: in expansion of macro ‘BUFFER_STORE_STR’ 297 | BUFFER_STORE_STR(p); | ^~~~~~~~~~~~~~~~ /<>/lib/CL/pocl_binary.c: In function ‘pocl_binary_serialize_kernel_to_buffer’: /<>/lib/CL/pocl_binary.c:378:22: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 378 | uint32_t namelen = strlen (meta->name); | ^~~~~~ /<>/lib/CL/pocl_binary.c:394:22: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 394 | uint32_t attrlen = meta->attributes ? strlen (meta->attributes) : 0; | ^~~~ /<>/lib/CL/pocl_binary.c:178:23: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 178 | do { uint32_t len = strlen(elem); \ | ^~~~~~ /<>/lib/CL/pocl_binary.c:408:7: note: in expansion of macro ‘BUFFER_STORE_STR’ 408 | BUFFER_STORE_STR(ai->name); | ^~~~~~~~~~~~~~~~ /<>/lib/CL/pocl_binary.c:178:23: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 178 | do { uint32_t len = strlen(elem); \ | ^~~~~~ /<>/lib/CL/pocl_binary.c:409:7: note: in expansion of macro ‘BUFFER_STORE_STR’ 409 | BUFFER_STORE_STR(ai->type_name); | ^~~~~~~~~~~~~~~~ /<>/lib/CL/pocl_binary.c:413:27: warning: conversion from ‘long int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 413 | uint32_t arginfo_size = buffer - start; | ^~~~~~ /<>/lib/CL/pocl_binary.c:417:28: warning: conversion to ‘uint64_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion] 417 | uint64_t binaries_size = end - buffer; | ^~~ /<>/lib/CL/pocl_binary.c:421:26: warning: conversion to ‘uint64_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion] 421 | uint64_t struct_size = end - buf; | ^~~ /<>/lib/CL/pocl_binary.c: In function ‘deserialize_file’: /<>/lib/CL/pocl_binary.c:468:18: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion] 468 | return (buffer - orig_buffer); | ~~~~~~~~^~~~~~~~~~~~~~ /<>/lib/CL/pocl_binary.c: In function ‘pocl_binary_deserialize_kernel_from_buffer’: /<>/lib/CL/pocl_binary.c:553:38: warning: unsigned conversion from ‘int’ to ‘uint64_t’ {aka ‘long unsigned int’} changes value from ‘-1’ to ‘18446744073709551615’ [-Wsign-conversion] 553 | kernel->has_arg_metadata = (-1); | ^ /<>/lib/CL/pocl_binary.c:579:31: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 579 | ai->type_size = dynarg_sizes[i]; | ^~~~~~~~~~~~ /<>/lib/CL/pocl_binary.c: In function ‘pocl_binary_serialize’: /<>/lib/CL/pocl_binary.c:610:26: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 610 | unsigned num_kernels = program->num_kernels; | ^~~~~~~ /<>/lib/CL/pocl_binary.c:644:13: warning: conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘long int’ may change the sign of the result [-Wsign-conversion] 644 | *size = (buffer - start); | ^ /<>/lib/CL/pocl_binary.c: In function ‘pocl_binary_deserialize’: /<>/lib/CL/pocl_binary.c:658:26: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘cl_program_binary_type’ {aka ‘unsigned int’} may change value [-Wconversion] 658 | program->binary_type = (b.flags >> 1); | ^ /<>/lib/CL/pocl_opengl.c: In function ‘POclCreateFromGLTexture’: /<>/lib/CL/pocl_opengl.c:5:47: warning: unused parameter ‘context’ [-Wunused-parameter] 5 | POname(clCreateFromGLTexture)(cl_context context, | ~~~~~~~~~~~~~~~~^~~~~~~ /<>/lib/CL/pocl_opengl.c:6:41: warning: unused parameter ‘flags’ [-Wunused-parameter] 6 | cl_mem_flags flags, | ~~~~~~~~~~~~~~~~^~~~~ /<>/lib/CL/pocl_opengl.c:7:41: warning: unused parameter ‘texture_target’ [-Wunused-parameter] 7 | cl_GLenum texture_target, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:8:41: warning: unused parameter ‘miplevel’ [-Wunused-parameter] 8 | cl_GLint miplevel, | ~~~~~~~~~~~~~~~~^~~~~~~~ /<>/lib/CL/pocl_opengl.c:9:41: warning: unused parameter ‘texture’ [-Wunused-parameter] 9 | cl_GLuint texture, | ~~~~~~~~~~~~~~~~^~~~~~~ /<>/lib/CL/pocl_opengl.c:10:41: warning: unused parameter ‘errcode_ret’ [-Wunused-parameter] 10 | cl_int * errcode_ret) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c: In function ‘POclCreateFromGLBuffer’: /<>/lib/CL/pocl_opengl.c:21:46: warning: unused parameter ‘context’ [-Wunused-parameter] 21 | POname(clCreateFromGLBuffer)(cl_context context, | ~~~~~~~~~~~~~~~~^~~~~~~ /<>/lib/CL/pocl_opengl.c:22:41: warning: unused parameter ‘flags’ [-Wunused-parameter] 22 | cl_mem_flags flags, | ~~~~~~~~~~~~~~~~^~~~~ /<>/lib/CL/pocl_opengl.c:23:41: warning: unused parameter ‘bufobj’ [-Wunused-parameter] 23 | cl_GLuint bufobj, | ~~~~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/pocl_opengl.c:24:41: warning: unused parameter ‘errcode_ret’ [-Wunused-parameter] 24 | cl_int * errcode_ret) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c: In function ‘POclCreateFromGLRenderbuffer’: /<>/lib/CL/pocl_opengl.c:35:52: warning: unused parameter ‘context’ [-Wunused-parameter] 35 | POname(clCreateFromGLRenderbuffer)(cl_context context, | ~~~~~~~~~~~~~~~~^~~~~~~ /<>/lib/CL/pocl_opengl.c:36:41: warning: unused parameter ‘flags’ [-Wunused-parameter] 36 | cl_mem_flags flags, | ~~~~~~~~~~~~~~~~^~~~~ /<>/lib/CL/pocl_opengl.c:37:41: warning: unused parameter ‘renderbuffer’ [-Wunused-parameter] 37 | cl_GLuint renderbuffer, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:38:41: warning: unused parameter ‘errcode_ret’ [-Wunused-parameter] 38 | cl_int * errcode_ret) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c: In function ‘POclGetGLObjectInfo’: /<>/lib/CL/pocl_opengl.c:49:41: warning: unused parameter ‘memobj’ [-Wunused-parameter] 49 | POname(clGetGLObjectInfo)(cl_mem memobj, | ~~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/pocl_opengl.c:50:46: warning: unused parameter ‘gl_object_type’ [-Wunused-parameter] 50 | cl_gl_object_type *gl_object_type, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:51:44: warning: unused parameter ‘gl_object_name’ [-Wunused-parameter] 51 | cl_GLuint *gl_object_name) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c: In function ‘POclGetGLTextureInfo’: /<>/lib/CL/pocl_opengl.c:63:43: warning: unused parameter ‘memobj’ [-Wunused-parameter] 63 | POname(clGetGLTextureInfo) (cl_mem memobj, | ~~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/pocl_opengl.c:64:48: warning: unused parameter ‘param_name’ [-Wunused-parameter] 64 | cl_gl_texture_info param_name, | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:65:37: warning: unused parameter ‘param_value_size’ [-Wunused-parameter] 65 | size_t param_value_size, | ~~~~~~~~^~~~~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:66:36: warning: unused parameter ‘param_value’ [-Wunused-parameter] 66 | void *param_value, | ~~~~~~~^~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:67:38: warning: unused parameter ‘param_value_size_ret’ [-Wunused-parameter] 67 | size_t *param_value_size_ret) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c: In function ‘POclEnqueueAcquireGLObjects’: /<>/lib/CL/pocl_opengl.c:78:54: warning: unused parameter ‘command_queue’ [-Wunused-parameter] 78 | POname(clEnqueueAcquireGLObjects) ( cl_command_queue command_queue, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:79:45: warning: unused parameter ‘num_objects’ [-Wunused-parameter] 79 | cl_uint num_objects, | ~~~~~~~~^~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:80:51: warning: unused parameter ‘mem_objects’ [-Wunused-parameter] 80 | const cl_mem *mem_objects, | ~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:81:45: warning: unused parameter ‘num_events_in_wait_list’ [-Wunused-parameter] 81 | cl_uint num_events_in_wait_list, | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:82:53: warning: unused parameter ‘event_wait_list’ [-Wunused-parameter] 82 | const cl_event *event_wait_list, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:83:47: warning: unused parameter ‘event’ [-Wunused-parameter] 83 | cl_event *event) | ~~~~~~~~~~^~~~~ /<>/lib/CL/pocl_opengl.c: In function ‘POclEnqueueReleaseGLObjects’: /<>/lib/CL/pocl_opengl.c:94:54: warning: unused parameter ‘command_queue’ [-Wunused-parameter] 94 | POname(clEnqueueReleaseGLObjects) ( cl_command_queue command_queue, | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:95:45: warning: unused parameter ‘num_objects’ [-Wunused-parameter] 95 | cl_uint num_objects, | ~~~~~~~~^~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:96:51: warning: unused parameter ‘mem_objects’ [-Wunused-parameter] 96 | const cl_mem *mem_objects, | ~~~~~~~~~~~~~~^~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:97:45: warning: unused parameter ‘num_events_in_wait_list’ [-Wunused-parameter] 97 | cl_uint num_events_in_wait_list, | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:98:53: warning: unused parameter ‘event_wait_list’ [-Wunused-parameter] 98 | const cl_event *event_wait_list, | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:99:47: warning: unused parameter ‘event’ [-Wunused-parameter] 99 | cl_event *event) | ~~~~~~~~~~^~~~~ /<>/lib/CL/pocl_opengl.c: In function ‘POclGetGLContextInfoKHR’: /<>/lib/CL/pocl_opengl.c:110:63: warning: unused parameter ‘properties’ [-Wunused-parameter] 110 | POname(clGetGLContextInfoKHR) ( const cl_context_properties *properties , | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:111:23: warning: unused parameter ‘param_name’ [-Wunused-parameter] 111 | cl_gl_context_info param_name , | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:112:11: warning: unused parameter ‘param_value_size’ [-Wunused-parameter] 112 | size_t param_value_size , | ~~~~~~~~^~~~~~~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:113:10: warning: unused parameter ‘param_value’ [-Wunused-parameter] 113 | void *param_value , | ~~~~~~~^~~~~~~~~~~ /<>/lib/CL/pocl_opengl.c:114:12: warning: unused parameter ‘param_value_size_ret’ [-Wunused-parameter] 114 | size_t *param_value_size_ret ) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/CL/pocl_llvm_metadata.cc:30: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/CL/pocl_llvm_metadata.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ [ 43%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/LLVMUtils.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/LLVMUtils.cc.o -MF CMakeFiles/llvmpasses.dir/LLVMUtils.cc.o.d -o CMakeFiles/llvmpasses.dir/LLVMUtils.cc.o -c /<>/lib/llvmopencl/LLVMUtils.cc [ 43%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_log10.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_log10.cl.bc -c /<>/lib/kernel/half_log10.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 43%] Linking CXX executable test_alignment_with_dynamic_wg3 cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_alignment_with_dynamic_wg3.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_alignment_with_dynamic_wg3.dir/test_alignment_with_dynamic_wg3.cpp.o -o test_alignment_with_dynamic_wg3 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic In file included from /<>/lib/CL/pocl_llvm_metadata.cc:32: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/llvmopencl/../CL/pocl_icd.h:26, from /<>/lib/llvmopencl/../CL/pocl_cl.h:56, from /<>/lib/llvmopencl/../CL/pocl_llvm.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:25, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 43%] Built target test_alignment_with_dynamic_wg3 [ 44%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_log2.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_log2.cl.bc -c /<>/lib/kernel/half_log2.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/BinaryFormat/Dwarf.h:26, from /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:25, from /<>/lib/CL/pocl_llvm_metadata.cc:33: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:25, from /<>/lib/CL/pocl_llvm_metadata.cc:33: /usr/lib/llvm-11/include/llvm/BinaryFormat/Dwarf.h: In member function ‘uint8_t llvm::dwarf::PubIndexEntryDescriptor::toBits() const’: /usr/lib/llvm-11/include/llvm/BinaryFormat/Dwarf.h:634:32: warning: conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 634 | return Kind << KIND_OFFSET | Linkage << LINKAGE_OFFSET; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/CL/pocl_llvm_metadata.cc:33: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DINode::DINode(llvm::LLVMContext&, unsigned int, llvm::Metadata::StorageType, unsigned int, llvm::ArrayRef, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:127:22: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 127 | SubclassData16 = Tag; | ^~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In member function ‘void llvm::DINode::setTag(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:148:48: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 148 | void setTag(unsigned Tag) { SubclassData16 = Tag; } | ^~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/llvmopencl/../CL/pocl_icd.h:26, from /<>/lib/llvmopencl/../CL/pocl_cl.h:56, from /<>/lib/llvmopencl/../CL/pocl_llvm.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:25, from /<>/lib/llvmopencl/linker.cpp:35: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ [ 44%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/LoopBarriers.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/LoopBarriers.cc.o -MF CMakeFiles/llvmpasses.dir/LoopBarriers.cc.o.d -o CMakeFiles/llvmpasses.dir/LoopBarriers.cc.o -c /<>/lib/llvmopencl/LoopBarriers.cc [ 44%] Building C object lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_cq_profiling.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/pocl_cq_profiling.c.o -MF CMakeFiles/libpocl_unlinked_objs.dir/pocl_cq_profiling.c.o.d -o CMakeFiles/libpocl_unlinked_objs.dir/pocl_cq_profiling.c.o -c /<>/lib/CL/pocl_cq_profiling.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_cq_profiling.c:26: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ [ 45%] Linking CXX executable test_simple_for_with_a_barrier cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_simple_for_with_a_barrier.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_simple_for_with_a_barrier.dir/test_simple_for_with_a_barrier.cpp.o -o test_simple_for_with_a_barrier ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 45%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_log.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_log.cl.bc -c /<>/lib/kernel/half_log.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /<>/lib/CL/pocl_llvm_metadata.cc:33: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DILexicalBlock::DILexicalBlock(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:1920:16: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 1920 | Column(Column) { | ^~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 45%] Built target test_simple_for_with_a_barrier make -f tests/regression/CMakeFiles/test_structs_as_args.dir/build.make tests/regression/CMakeFiles/test_structs_as_args.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_structs_as_args.dir/DependInfo.cmake --color= [ 45%] Built target libpocl_unlinked_objs make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_structs_as_args.dir/build.make tests/regression/CMakeFiles/test_structs_as_args.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 45%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/OptimizeWorkItemFuncCalls.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/OptimizeWorkItemFuncCalls.cc.o -MF CMakeFiles/llvmpasses.dir/OptimizeWorkItemFuncCalls.cc.o.d -o CMakeFiles/llvmpasses.dir/OptimizeWorkItemFuncCalls.cc.o -c /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc [ 45%] Building CXX object tests/regression/CMakeFiles/test_structs_as_args.dir/test_structs_as_args.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_structs_as_args.dir/test_structs_as_args.cpp.o -MF CMakeFiles/test_structs_as_args.dir/test_structs_as_args.cpp.o.d -o CMakeFiles/test_structs_as_args.dir/test_structs_as_args.cpp.o -c /<>/tests/regression/test_structs_as_args.cpp In file included from /usr/lib/llvm-11/include/llvm/ADT/StringMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Module.h:20, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h: In constructor ‘llvm::StringMapEntryStorage::StringMapEntryStorage(size_t, llvm::NoneType)’: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h:58:61: warning: unused parameter ‘none’ [-Wunused-parameter] 58 | explicit StringMapEntryStorage(size_t keyLength, NoneType none = None) | ~~~~~~~~~^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In member function ‘unsigned int llvm::DIExpression::getNumElements() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:2402:57: warning: conversion from ‘std::vector >::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2402 | unsigned getNumElements() const { return Elements.size(); } | ~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const FragInfo&)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:2683:45: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 2683 | return (Frag.SizeInBits & 0xffff) << 16 | (Frag.OffsetInBits & 0xffff); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DILocalVariable::DILocalVariable(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, llvm::DINode::DIFlags, uint32_t, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:2845:13: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 2845 | Arg(Arg), Flags(Flags) { | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DIMacroNode::DIMacroNode(llvm::LLVMContext&, unsigned int, llvm::Metadata::StorageType, unsigned int, llvm::ArrayRef, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:3186:22: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 3186 | SubclassData16 = MIType; | ^~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::DebugVariable&)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:3406:62: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3406 | return hash_combine(D.getVariable(), HV, D.getInlinedAt()); | ^ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ [ 45%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_powr.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_powr.cl.bc -c /<>/lib/kernel/half_powr.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/CL/pocl_llvm_metadata.cc:34: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /<>/lib/CL/pocl_llvm_metadata.cc:34: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /<>/lib/CL/pocl_llvm_metadata.cc:34: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:33, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /<>/lib/CL/pocl_llvm_metadata.cc:34: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/LoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/CL/pocl_llvm_metadata.cc:35: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:33, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:33, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /<>/lib/llvmopencl/LLVMUtils.h:33, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/llvmopencl/LLVMUtils.h:34, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/StringMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:25, from /<>/lib/llvmopencl/LLVMUtils.h:34, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h: In constructor ‘llvm::StringMapEntryStorage::StringMapEntryStorage(size_t, llvm::NoneType)’: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h:58:61: warning: unused parameter ‘none’ [-Wunused-parameter] 58 | explicit StringMapEntryStorage(size_t keyLength, NoneType none = None) | ~~~~~~~~~^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /<>/lib/llvmopencl/LLVMUtils.h:34, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_llvm_metadata.cc:44: /usr/include/CL/cl_gl_ext.h: At global scope: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /<>/lib/llvmopencl/LLVMUtils.h:34, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /<>/lib/llvmopencl/LLVMUtils.h:34, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ [ 45%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_recip.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_recip.cl.bc -c /<>/lib/kernel/half_recip.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:32: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /<>/tests/regression/test_structs_as_args.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:30, from /<>/lib/llvmopencl/LoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/CL/../llvmopencl/LLVMUtils.h:36, from /<>/lib/CL/pocl_llvm_metadata.cc:47: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:30, from /<>/lib/llvmopencl/LoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/linker.cpp:41: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:20, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:32: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/LoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/LLVMUtils.h:35, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/LoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/linker.cpp:41: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/LoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Kernel.cc:32: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/CL/../llvmopencl/LLVMUtils.h:36, from /<>/lib/CL/pocl_llvm_metadata.cc:47: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/linker.cpp:41: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/LLVMUtils.h:35, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/LLVMUtils.h:35, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ In file included from /<>/lib/llvmopencl/LoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/Kernel.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/LLVMUtils.h:35, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/LLVMUtils.h:35, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:30, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:32: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:30, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:32: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ [ 45%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_rsqrt.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_rsqrt.cl.bc -c /<>/lib/kernel/half_rsqrt.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:32: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:32: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Kernel.cc:32: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/CL/../llvmopencl/LLVMUtils.h:36, from /<>/lib/CL/pocl_llvm_metadata.cc:47: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:32: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/CL/../llvmopencl/LLVMUtils.h:36, from /<>/lib/CL/pocl_llvm_metadata.cc:47: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Kernel.cc:32: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/linker.cpp:44: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:32: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/CL/../llvmopencl/LLVMUtils.h:36, from /<>/lib/CL/pocl_llvm_metadata.cc:47: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/linker.cpp:44: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:33: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/linker.cpp:44: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:33: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/Support/Error.h: In member function ‘void llvm::Error::setChecked(bool)’: /usr/lib/llvm-11/include/llvm/Support/Error.h:300:24: warning: unused parameter ‘V’ [-Wunused-parameter] 300 | void setChecked(bool V) { | ~~~~~^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:35: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:49, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:35: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:33: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/linker.cpp:44: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:33: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/linker.cpp:44: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:33: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘virtual bool llvm::CallGraphSCCPass::doInitialization(llvm::CallGraph&)’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:48:44: warning: unused parameter ‘CG’ [-Wunused-parameter] 48 | virtual bool doInitialization(CallGraph &CG) { | ~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘virtual bool llvm::CallGraphSCCPass::doFinalization(llvm::CallGraph&)’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:63:42: warning: unused parameter ‘CG’ [-Wunused-parameter] 63 | virtual bool doFinalization(CallGraph &CG) { | ~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘virtual bool llvm::DummyCGSCCPass::runOnSCC(llvm::CallGraphSCC&)’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:131:31: warning: unused parameter ‘SCC’ [-Wunused-parameter] 131 | bool runOnSCC(CallGraphSCC &SCC) override { return false; } | ~~~~~~~~~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:33: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ [ 45%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_sin.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_sin.cl.bc -c /<>/lib/kernel/half_sin.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:49, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:35: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:49, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:35: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:33: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/linker.cpp:44: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:33: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /<>/lib/CL/pocl_llvm_metadata.cc: In function ‘int pocl_llvm_get_kernels_metadata(cl_program, unsigned int)’: /<>/lib/CL/pocl_llvm_metadata.cc:508:46: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘cl_uint’ {aka ‘unsigned int’} may change value [-Wconversion] 508 | meta->num_args = KernelFunction->arg_size(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ /<>/lib/CL/pocl_llvm_metadata.cc:535:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘cl_uint’ {aka ‘unsigned int’} may change value [-Wconversion] 535 | meta->num_locals = locals.size(); | ~~~~~~~~~~~^~ /<>/lib/CL/pocl_llvm_metadata.cc:541:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 541 | TD->getTypeAllocSize(locals[i]->getInitializer()->getType()); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/LoopBarriers.cc:33: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /<>/lib/llvmopencl/LoopBarriers.cc:34: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/Kernel.h:28, from /<>/lib/llvmopencl/Kernel.cc:35: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.h:29, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:35: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/LLVMUtils.cc:30: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ /<>/lib/llvmopencl/Kernel.cc: In member function ‘void pocl::Kernel::addLocalSizeInitCode(size_t, size_t, size_t)’: /<>/lib/llvmopencl/Kernel.cc:289:57: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 289 | llvm::Type *SizeT = IntegerType::get(M->getContext(), address_bits); | ^~~~~~~~~~~~ [ 45%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_sqrt.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_sqrt.cl.bc -c /<>/lib/kernel/half_sqrt.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/LLVMUtils.cc:30: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/CL/pocl_llvm_metadata.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:439:19: required from ‘void llvm::SmallVectorImpl::append(in_iter, in_iter) [with in_iter = const long unsigned int*; = void; T = long unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:2447:15: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /<>/lib/llvmopencl/LLVMUtils.cc:30: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /<>/lib/llvmopencl/LoopBarriers.cc:34: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/linker.cpp:41: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/Kernel.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] [ 45%] Linking CXX executable test_structs_as_args cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_structs_as_args.dir/link.txt --verbose=1 /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_structs_as_args.dir/test_structs_as_args.cpp.o -o test_structs_as_args ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.h:30, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:35: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /<>/lib/llvmopencl/LoopBarriers.cc:34: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.h:30, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:35: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /<>/lib/llvmopencl/LoopBarriers.cc:34: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 45%] Built target test_structs_as_args In file included from /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:17, from /<>/lib/CL/pocl_llvm_metadata.cc:33: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = llvm::DINode::DIFlags; std::underlying_type_t = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:93:3: required from ‘std::underlying_type_t llvm::BitmaskEnumDetail::Underlying(E) [with E = llvm::DINode::DIFlags; std::underlying_type_t = unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:113:35: required from ‘E llvm::BitmaskEnumDetail::operator&(E, E) [with E = llvm::DINode::DIFlags; = void]’ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:666:26: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned int’} may change value [-Wconversion] 83 | return NextPowerOf2(static_cast>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | E::LLVM_BITMASK_LARGEST_ENUMERATOR)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 85 | 1; | ~ make -f tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/build.make tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/DependInfo.cmake --color= /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = llvm::DISubprogram::DISPFlags; std::underlying_type_t = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:93:3: required from ‘std::underlying_type_t llvm::BitmaskEnumDetail::Underlying(E) [with E = llvm::DISubprogram::DISPFlags; std::underlying_type_t = unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:113:35: required from ‘E llvm::BitmaskEnumDetail::operator&(E, E) [with E = llvm::DISubprogram::DISPFlags; = void]’ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:1777:58: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned int’} may change value [-Wconversion] make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/build.make tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ [ 45%] Building C object tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/test_program_from_binary_with_local_1_1_1.c.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/test_program_from_binary_with_local_1_1_1.c.o -MF CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/test_program_from_binary_with_local_1_1_1.c.o.d -o CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/test_program_from_binary_with_local_1_1_1.c.o -c /<>/tests/regression/test_program_from_binary_with_local_1_1_1.c /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/CL/pocl_llvm_metadata.cc:34: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/CL/pocl_llvm_metadata.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/CL/pocl_llvm_metadata.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/CL/pocl_llvm_metadata.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /<>/lib/llvmopencl/LLVMUtils.cc: In function ‘void pocl::regenerate_kernel_metadata(llvm::Module&, pocl::FunctionMapping&)’: /<>/lib/llvmopencl/LLVMUtils.cc:56:68: warning: conversion from ‘std::size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 56 | MDNode *wgsizeMD = dyn_cast(wg_sizes->getOperand(mni)); | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/CL/../llvmopencl/LLVMUtils.h:36, from /<>/lib/CL/pocl_llvm_metadata.cc:47: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ /<>/lib/llvmopencl/LLVMUtils.cc: In function ‘int pocl::getConstantIntMDValue(llvm::Metadata*)’: /<>/lib/llvmopencl/LLVMUtils.cc:122:29: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 122 | return CI->getLimitedValue(); | ~~~~~~~~~~~~~~~~~~~^~ [ 45%] Linking C executable test_program_from_binary_with_local_1_1_1 cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/test_program_from_binary_with_local_1_1_1.c.o -o test_program_from_binary_with_local_1_1_1 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 46%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_tan.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/half_tan.cl.bc -c /<>/lib/kernel/half_tan.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.h:30, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:35: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ [ 46%] Built target test_program_from_binary_with_local_1_1_1 make -f tests/regression/CMakeFiles/test_issue_893.dir/build.make tests/regression/CMakeFiles/test_issue_893.dir/depend /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_893.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_issue_893.dir/build.make tests/regression/CMakeFiles/test_issue_893.dir/build In file included from /<>/lib/llvmopencl/LoopBarriers.cc:34: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 46%] Building CXX object tests/regression/CMakeFiles/test_issue_893.dir/test_issue_893.cpp.o In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.h:30, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:35: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_issue_893.dir/test_issue_893.cpp.o -MF CMakeFiles/test_issue_893.dir/test_issue_893.cpp.o.d -o CMakeFiles/test_issue_893.dir/test_issue_893.cpp.o -c /<>/tests/regression/test_issue_893.cpp /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/CL/pocl_llvm_metadata.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/CL/pocl_llvm_metadata.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::Deallocate(const void*, size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:142:21: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:211:31: warning: unused parameter ‘Ptr’ [-Wunused-parameter] 211 | void Deallocate(const void *Ptr, size_t Size, size_t /*Alignment*/) { | ~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:211:43: warning: unused parameter ‘Size’ [-Wunused-parameter] 211 | void Deallocate(const void *Ptr, size_t Size, size_t /*Alignment*/) { | ~~~~~~~^~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/CL/../llvmopencl/LLVMUtils.h:36, from /<>/lib/CL/pocl_llvm_metadata.cc:47: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/linker.cpp:44: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.h:30, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:35: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ In file included from /<>/lib/llvmopencl/LLVMUtils.cc:30: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/CL/pocl_llvm_metadata.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/IR/ValueMap.h:104:9: required from ‘llvm::ValueMap::ValueMap(unsigned int) [with KeyT = const llvm::Value*; ValueT = llvm::WeakTrackingVH; Config = llvm::ValueMapConfig >]’ /<>/lib/llvmopencl/linker.cpp:109:23: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:20, from /<>/lib/llvmopencl/LLVMUtils.h:33, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::LayoutAlignElem; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::LayoutAlignElem; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:886:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:196:52: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/LoopBarriers.cc:39: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/linker.cpp:44: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/LoopBarriers.cc:39: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘BucketT* llvm::DenseMapBase::InsertIntoBucketImpl(const KeyT&, const LookupKeyT&, BucketT*) [with LookupKeyT = llvm::ValueMapCallbackVH > >; DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:547:37: required from ‘BucketT* llvm::DenseMapBase::InsertIntoBucket(BucketT*, KeyArg&&, ValueArgs&& ...) [with KeyArg = llvm::ValueMapCallbackVH > >; ValueArgs = {}; DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:338:29: required from ‘llvm::DenseMapBase::value_type& llvm::DenseMapBase::FindAndConstruct(KeyT&&) [with DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>; llvm::DenseMapBase::value_type = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:342:28: required from ‘ValueT& llvm::DenseMapBase::operator[](KeyT&&) [with DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/IR/ValueMap.h:208:15: required from ‘ValueT& llvm::ValueMap::operator[](const KeyT&) [with KeyT = const llvm::Value*; ValueT = llvm::WeakTrackingVH; Config = llvm::ValueMapConfig >]’ /<>/lib/llvmopencl/linker.cpp:146:18: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:565:45: warning: unused parameter ‘Key’ [-Wunused-parameter] 565 | BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, | ~~~~~~~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/Kernel.cc:35: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/linker.cpp:35: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/LoopBarriers.cc:39: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:33: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::LayoutAlignElem; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::LayoutAlignElem; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:886:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:196:52: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Kernel.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/LLVMUtils.h:35, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 46%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isequal.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isequal.cl.bc -c /<>/lib/kernel/isequal.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/llvmopencl/LLVMUtils.h:34, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:20, from /<>/lib/llvmopencl/LLVMUtils.h:33, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/llvmopencl/LLVMUtils.h:34, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/LLVMUtils.h:35, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:19, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:33: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/llvmopencl/LLVMUtils.h:34, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:20, from /<>/lib/llvmopencl/LLVMUtils.h:33, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/LoopBarriers.cc:39: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/LoopBarriers.cc:39: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:20, from /<>/lib/llvmopencl/LLVMUtils.h:33, from /<>/lib/llvmopencl/LLVMUtils.cc:23: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ [ 47%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isgreater.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isgreater.cl.bc -c /<>/lib/kernel/isgreater.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /<>/tests/regression/test_issue_893.cpp:41: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:33: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/OptimizeWorkItemFuncCalls.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] [ 47%] Building CXX object lib/CL/CMakeFiles/lib_cl_llvm.dir/pocl_llvm_utils.cc.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"/<>/lib/CL/../llvmopencl" -MD -MT lib/CL/CMakeFiles/lib_cl_llvm.dir/pocl_llvm_utils.cc.o -MF CMakeFiles/lib_cl_llvm.dir/pocl_llvm_utils.cc.o.d -o CMakeFiles/lib_cl_llvm.dir/pocl_llvm_utils.cc.o -c /<>/lib/CL/pocl_llvm_utils.cc [ 47%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/PHIsToAllocas.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/PHIsToAllocas.cc.o -MF CMakeFiles/llvmpasses.dir/PHIsToAllocas.cc.o.d -o CMakeFiles/llvmpasses.dir/PHIsToAllocas.cc.o -c /<>/lib/llvmopencl/PHIsToAllocas.cc [ 48%] Building CXX object lib/CL/CMakeFiles/lib_cl_llvm.dir/pocl_llvm_wg.cc.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I"/<>/lib/CL/../llvmopencl" -MD -MT lib/CL/CMakeFiles/lib_cl_llvm.dir/pocl_llvm_wg.cc.o -MF CMakeFiles/lib_cl_llvm.dir/pocl_llvm_wg.cc.o.d -o CMakeFiles/lib_cl_llvm.dir/pocl_llvm_wg.cc.o -c /<>/lib/CL/pocl_llvm_wg.cc [ 48%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isgreaterequal.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isgreaterequal.cl.bc -c /<>/lib/kernel/isgreaterequal.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/LoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 48%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/ParallelRegion.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/ParallelRegion.cc.o -MF CMakeFiles/llvmpasses.dir/ParallelRegion.cc.o.d -o CMakeFiles/llvmpasses.dir/ParallelRegion.cc.o -c /<>/lib/llvmopencl/ParallelRegion.cc /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:19, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:23, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ [ 49%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/RemoveBarrierCalls.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/RemoveBarrierCalls.cc.o -MF CMakeFiles/llvmpasses.dir/RemoveBarrierCalls.cc.o.d -o CMakeFiles/llvmpasses.dir/RemoveBarrierCalls.cc.o -c /<>/lib/llvmopencl/RemoveBarrierCalls.cc In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/LoopBarriers.cc:35: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/pocl_icd.h:26, from /<>/lib/CL/pocl_cl.h:56, from /<>/lib/CL/pocl_llvm.h:25, from /<>/lib/CL/pocl_llvm_utils.cc:28: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap; KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const void*; ValueT = llvm::Pass*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/IR/LegacyPassManagers.h:299:51: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/LoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/LoopBarriers.cc:35: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ [ 49%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isless.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isless.cl.bc -c /<>/lib/kernel/isless.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:19, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/LoopBarriers.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:20, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/LoopBarriers.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 49%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/islessequal.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/islessequal.cl.bc -c /<>/lib/kernel/islessequal.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:19, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/StringMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Module.h:20, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h: In constructor ‘llvm::StringMapEntryStorage::StringMapEntryStorage(size_t, llvm::NoneType)’: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h:58:61: warning: unused parameter ‘none’ [-Wunused-parameter] 58 | explicit StringMapEntryStorage(size_t keyLength, NoneType none = None) | ~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/llvmopencl/../CL/pocl_icd.h:26, from /<>/lib/llvmopencl/../CL/pocl_cl.h:56, from /<>/lib/llvmopencl/../CL/pocl_llvm.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:25, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/StringMap.h:16, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:20, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h: In constructor ‘llvm::StringMapEntryStorage::StringMapEntryStorage(size_t, llvm::NoneType)’: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h:58:61: warning: unused parameter ‘none’ [-Wunused-parameter] 58 | explicit StringMapEntryStorage(size_t keyLength, NoneType none = None) | ~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ [ 49%] Linking CXX executable test_issue_893 cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_issue_893.dir/link.txt --verbose=1 In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_issue_893.dir/test_issue_893.cpp.o -o test_issue_893 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 50%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/islessgreater.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/islessgreater.cl.bc -c /<>/lib/kernel/islessgreater.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/StringMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Module.h:20, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h: In constructor ‘llvm::StringMapEntryStorage::StringMapEntryStorage(size_t, llvm::NoneType)’: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h:58:61: warning: unused parameter ‘none’ [-Wunused-parameter] 58 | explicit StringMapEntryStorage(size_t keyLength, NoneType none = None) | ~~~~~~~~~^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:20, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ [ 50%] Built target test_issue_893 /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/depend [ 50%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/RemoveOptnoneFromWIFunc.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/RemoveOptnoneFromWIFunc.cc.o -MF CMakeFiles/llvmpasses.dir/RemoveOptnoneFromWIFunc.cc.o.d -o CMakeFiles/llvmpasses.dir/RemoveOptnoneFromWIFunc.cc.o -c /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ [ 50%] Building CXX object tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/test_alignment_with_dynamic_wg2.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/test_alignment_with_dynamic_wg2.cpp.o -MF CMakeFiles/test_alignment_with_dynamic_wg2.dir/test_alignment_with_dynamic_wg2.cpp.o.d -o CMakeFiles/test_alignment_with_dynamic_wg2.dir/test_alignment_with_dynamic_wg2.cpp.o -c /<>/tests/regression/test_alignment_with_dynamic_wg2.cpp In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:27, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:20, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:20, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:20, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:20, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 50%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isnotequal.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isnotequal.cl.bc -c /<>/lib/kernel/isnotequal.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:30, from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:31, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:26, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:31, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:31, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:31, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:32, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /<>/lib/CL/pocl_llvm_utils.cc:40: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ [ 50%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isordered.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isordered.cl.bc -c /<>/lib/kernel/isordered.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ In file included from /<>/lib/CL/pocl_llvm_utils.cc:43: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:14, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /<>/lib/CL/pocl_llvm_utils.cc:44: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Argument.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:25, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:20, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:36: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ [ 50%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isunordered.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isunordered.cl.bc -c /<>/lib/kernel/isunordered.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/ParallelRegion.cc:36: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/Barrier.h:30, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/StringMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:25, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h: In constructor ‘llvm::StringMapEntryStorage::StringMapEntryStorage(size_t, llvm::NoneType)’: /usr/lib/llvm-11/include/llvm/ADT/StringMapEntry.h:58:61: warning: unused parameter ‘none’ [-Wunused-parameter] 58 | explicit StringMapEntryStorage(size_t keyLength, NoneType none = None) | ~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/PHIsToAllocas.h:29, from /<>/lib/llvmopencl/PHIsToAllocas.cc:32: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/ParallelRegion.cc:36: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /<>/lib/CL/pocl_llvm_wg.cc:43: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/Target/TargetMachine.h:19, from /<>/lib/CL/pocl_llvm_utils.cc:49: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /<>/tests/regression/test_alignment_with_dynamic_wg2.cpp:8: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/CL/pocl_llvm_wg.cc:44: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/CL/pocl_llvm_wg.cc:44: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/ParallelRegion.cc:36: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/RemoveBarrierCalls.h:32, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:30: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/ParallelRegion.cc:36: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Bitcode/BitcodeReader.h:18, from /<>/lib/CL/pocl_llvm_utils.cc:53: /usr/lib/llvm-11/include/llvm/Bitstream/BitCodes.h: In constructor ‘llvm::BitCodeAbbrevOp::BitCodeAbbrevOp(llvm::BitCodeAbbrevOp::Encoding, uint64_t)’: /usr/lib/llvm-11/include/llvm/Bitstream/BitCodes.h:110:40: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 110 | : Val(Data), IsLiteral(false), Enc(E) {} | ^ [ 51%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mad24.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mad24.cl.bc -c /<>/lib/kernel/mad24.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/PHIsToAllocas.cc:33: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/PHIsToAllocas.cc:33: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantRange.h:35, from /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:26, from /usr/lib/llvm-11/include/llvm/Bitcode/BitcodeReader.h:19, from /<>/lib/CL/pocl_llvm_utils.cc:53: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/CL/pocl_llvm_wg.cc:44: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ParallelRegion.cc:38: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:31: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Bitcode/BitcodeReader.h:19, from /<>/lib/CL/pocl_llvm_utils.cc:53: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h: In constructor ‘llvm::CalleeInfo::CalleeInfo(llvm::CalleeInfo::HotnessType, uint64_t)’: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:77:17: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 77 | : Hotness(static_cast(Hotness)), RelBlockFreq(RelBF) {} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:77:63: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 77 | : Hotness(static_cast(Hotness)), RelBlockFreq(RelBF) {} | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:77:50: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘unsigned int:29’ may change value [-Wconversion] 77 | : Hotness(static_cast(Hotness)), RelBlockFreq(RelBF) {} | ^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h: In member function ‘void llvm::CalleeInfo::updateHotness(llvm::CalleeInfo::HotnessType)’: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:80:23: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 80 | Hotness = std::max(Hotness, static_cast(OtherHotness)); | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h: In member function ‘void llvm::CalleeInfo::updateRelBlockFreq(uint64_t, uint64_t)’: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:100:20: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘unsigned int:29’ may change value [-Wconversion] 100 | RelBlockFreq = static_cast(Sum); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:29, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:22, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:22, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:31: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::ValueInfo)’: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:276:54: warning: conversion from ‘uintptr_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 276 | static unsigned getHashValue(ValueInfo I) { return (uintptr_t)I.getRef(); } | ^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h: In constructor ‘llvm::GlobalValueSummary::GVFlags::GVFlags(llvm::GlobalValue::LinkageTypes, bool, bool, bool, bool)’: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:327:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 327 | : Linkage(Linkage), NotEligibleToImport(NotEligibleToImport), | ^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h: In member function ‘void llvm::GlobalValueSummary::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:395:21: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 395 | Flags.Linkage = Linkage; | ^~~~~~~ In file included from /<>/lib/CL/pocl_llvm_wg.cc:44: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ParallelRegion.cc:38: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/PHIsToAllocas.cc:33: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/PHIsToAllocas.cc:33: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::FunctionSummary::VFuncId)’: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:769:71: warning: conversion from ‘llvm::GlobalValue::GUID’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 769 | static unsigned getHashValue(FunctionSummary::VFuncId I) { return I.GUID; } | ~~^~~~ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::FunctionSummary::ConstVCall)’: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:788:20: warning: conversion from ‘llvm::GlobalValue::GUID’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 788 | return I.VFunc.GUID; | ~~~~~~~~^~~~ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h: In constructor ‘llvm::GlobalVarSummary::GVarFlags::GVarFlags(bool, bool, bool, llvm::GlobalObject::VCallVisibility)’: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:824:47: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 824 | Constant(Constant), VCallVisibility(Vis) {} | ^~~ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h: In member function ‘void llvm::GlobalVarSummary::setVCallVisibility(llvm::GlobalObject::VCallVisibility)’: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:867:32: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 867 | VarFlags.VCallVisibility = Vis; | ^~~ [ 51%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mad.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mad.cl.bc -c /<>/lib/kernel/mad.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/PHIsToAllocas.cc:33: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ParallelRegion.cc:38: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ParallelRegion.cc:38: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:30, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:31: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:30, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:31: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:30, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/Support/Error.h: In member function ‘void llvm::Error::setChecked(bool)’: /usr/lib/llvm-11/include/llvm/Support/Error.h:300:24: warning: unused parameter ‘V’ [-Wunused-parameter] 300 | void setChecked(bool V) { | ~~~~~^ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:31: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/CL/pocl_llvm_wg.cc:56: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/CL/pocl_llvm_wg.cc:56: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Bitcode/BitcodeReader.h:21, from /<>/lib/CL/pocl_llvm_utils.cc:53: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/ParallelRegion.cc:38: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /<>/lib/llvmopencl/WorkitemHandler.h:33, from /<>/lib/llvmopencl/WorkitemHandlerChooser.h:26, from /<>/lib/llvmopencl/PHIsToAllocas.cc:34: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/WorkitemHandler.h:33, from /<>/lib/llvmopencl/WorkitemHandlerChooser.h:26, from /<>/lib/llvmopencl/PHIsToAllocas.cc:34: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ [ 51%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mad_hi.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mad_hi.cl.bc -c /<>/lib/kernel/mad_hi.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:30, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/MC/StringTableBuilder.h:12, from /usr/lib/llvm-11/include/llvm/Bitcode/BitcodeWriter.h:18, from /<>/lib/CL/pocl_llvm_utils.cc:54: /usr/lib/llvm-11/include/llvm/ADT/CachedHashString.h: In constructor ‘llvm::CachedHashStringRef::CachedHashStringRef(llvm::StringRef, uint32_t)’: /usr/lib/llvm-11/include/llvm/ADT/CachedHashString.h:39:33: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 39 | : P(S.data()), Size(S.size()), Hash(Hash) { | ~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/CachedHashString.h: In constructor ‘llvm::CachedHashString::CachedHashString(llvm::StringRef, uint32_t)’: /usr/lib/llvm-11/include/llvm/ADT/CachedHashString.h:104:43: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 104 | : P(new char[S.size()]), Size(S.size()), Hash(Hash) { | ~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:30, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/WorkitemHandler.h:35, from /<>/lib/llvmopencl/WorkitemHandlerChooser.h:26, from /<>/lib/llvmopencl/PHIsToAllocas.cc:34: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:30, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:22, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/ParallelRegion.cc:39: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:31: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:31: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ In file included from /<>/lib/llvmopencl/WorkitemHandler.h:35, from /<>/lib/llvmopencl/WorkitemHandlerChooser.h:26, from /<>/lib/llvmopencl/PHIsToAllocas.cc:34: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ In file included from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:30: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/CL/pocl_llvm_utils.cc:64: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:16, from /<>/lib/CL/pocl_llvm_wg.cc:61: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:31: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:31: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:16, from /<>/lib/CL/pocl_llvm_wg.cc:61: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /<>/lib/CL/pocl_llvm_wg.cc:61: /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h: In member function ‘void llvm::TargetLibraryInfoImpl::setState(llvm::LibFunc, llvm::TargetLibraryInfoImpl::AvailabilityState)’: /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:62:25: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 62 | AvailableArray[F/4] &= ~(3 << 2*(F&3)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:63:25: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 63 | AvailableArray[F/4] |= State << 2*(F&3); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/CL/pocl_llvm_utils.cc:64: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ [ 51%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mad_sat.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mad_sat.cl.bc -c /<>/lib/kernel/mad_sat.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/TargetTransformInfo.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:62: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /<>/lib/CL/pocl_llvm_utils.cc: In function ‘bool getModuleIntMetadata(const llvm::Module&, const char*, long unsigned int&)’: /<>/lib/CL/pocl_llvm_utils.cc:499:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 499 | MDNode *MD = Root->getOperand(i); | ^ /<>/lib/CL/pocl_llvm_utils.cc: In function ‘bool getModuleStringMetadata(const llvm::Module&, const char*, std::string&)’: /<>/lib/CL/pocl_llvm_utils.cc:524:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 524 | MDNode *MD = Root->getOperand(i); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] /<>/lib/llvmopencl/ParallelRegion.cc: In static member function ‘static void pocl::ParallelRegion::insertLocalIdInit(llvm::BasicBlock*, unsigned int, unsigned int, unsigned int)’: /<>/lib/llvmopencl/ParallelRegion.cc:293:57: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 293 | llvm::Type *SizeT = IntegerType::get(M->getContext(), address_bits); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:31, from /usr/lib/llvm-11/include/llvm/Bitcode/BitcodeReader.h:19, from /<>/lib/CL/pocl_llvm_utils.cc:53: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘std::pair llvm::ScaledNumbers::getAdjusted(uint64_t, int16_t) [with DigitsT = unsigned int; uint64_t = long unsigned int; int16_t = short int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:96:31: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:89:37: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 89 | return getRounded(Digits >> Shift, Scale + Shift, | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:89:53: warning: conversion from ‘int’ to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] 89 | return getRounded(Digits >> Shift, Scale + Shift, | ~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘std::pair llvm::ScaledNumbers::getAdjusted(uint64_t, int16_t) [with DigitsT = long unsigned int; uint64_t = long unsigned int; int16_t = short int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:102:31: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:89:53: warning: conversion from ‘int’ to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘std::pair llvm::ScaledNumbers::getQuotient(DigitsT, DigitsT) [with DigitsT = long unsigned int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:178:21: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:166:19: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 166 | return divide32(Dividend, Divisor); | ^~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:166:29: warning: conversion from ‘long unsigned int’ to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 166 | return divide32(Dividend, Divisor); | ^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘std::pair llvm::ScaledNumbers::getDifference(DigitsT, int16_t, DigitsT, int16_t) [with DigitsT = unsigned int; int16_t = short int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:402:23: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:391:54: warning: conversion from ‘int’ to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] 391 | if (!compare(LDigits, LScale, DigitsT(1), RLgFloor + getWidth())) | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘std::pair llvm::ScaledNumbers::getDifference(DigitsT, int16_t, DigitsT, int16_t) [with DigitsT = long unsigned int; int16_t = short int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:410:23: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:391:54: warning: conversion from ‘int’ to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘llvm::ScaledNumber& llvm::ScaledNumber::operator/=(const llvm::ScaledNumber&) [with DigitsT = long unsigned int]’: /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:95:36: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:831:20: warning: conversion from ‘int32_t’ {aka ‘int’} to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] 831 | return *this <<= Scales; | ^~~~~~ [ 51%] Linking CXX executable test_alignment_with_dynamic_wg2 cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_alignment_with_dynamic_wg2.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_alignment_with_dynamic_wg2.dir/test_alignment_with_dynamic_wg2.cpp.o -o test_alignment_with_dynamic_wg2 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:18, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/ParallelRegion.cc:36: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 51%] Built target test_alignment_with_dynamic_wg2 make -f tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/build.make tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/build.make tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 51%] Building CXX object tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/test_multi_level_loops_with_barriers.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/test_multi_level_loops_with_barriers.cpp.o -MF CMakeFiles/test_multi_level_loops_with_barriers.dir/test_multi_level_loops_with_barriers.cpp.o.d -o CMakeFiles/test_multi_level_loops_with_barriers.dir/test_multi_level_loops_with_barriers.cpp.o -c /<>/tests/regression/test_multi_level_loops_with_barriers.cpp In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:19, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:250:19: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:31, from /usr/lib/llvm-11/include/llvm/Bitcode/BitcodeReader.h:19, from /<>/lib/CL/pocl_llvm_utils.cc:53: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘int16_t llvm::ScaledNumbers::matchScales(DigitsT&, int16_t&, DigitsT&, int16_t&) [with DigitsT = unsigned int; int16_t = short int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:342:30: required from ‘std::pair llvm::ScaledNumbers::getSum(DigitsT, int16_t, DigitsT, int16_t) [with DigitsT = unsigned int; int16_t = short int]’ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:357:16: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:320:10: warning: conversion from ‘int’ to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] 320 | LScale -= ShiftL; | ~~~~~~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:321:10: warning: conversion from ‘int’ to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] 321 | RScale += ShiftR; | ~~~~~~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘int16_t llvm::ScaledNumbers::matchScales(DigitsT&, int16_t&, DigitsT&, int16_t&) [with DigitsT = long unsigned int; int16_t = short int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:342:30: required from ‘std::pair llvm::ScaledNumbers::getSum(DigitsT, int16_t, DigitsT, int16_t) [with DigitsT = long unsigned int; int16_t = short int]’ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:363:16: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:320:10: warning: conversion from ‘int’ to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] 320 | LScale -= ShiftL; | ~~~~~~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:321:10: warning: conversion from ‘int’ to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] 321 | RScale += ShiftR; | ~~~~~~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘static llvm::ScaledNumber llvm::ScaledNumber::adjustToWidth(uint64_t, int32_t) [with DigitsT = long unsigned int; uint64_t = long unsigned int; int32_t = int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:525:61: required from ‘static llvm::ScaledNumber llvm::ScaledNumber::get(uint64_t) [with DigitsT = long unsigned int; uint64_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:95:23: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:704:60: warning: conversion from ‘int32_t’ {aka ‘int’} to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] 704 | auto Adjusted = ScaledNumbers::getAdjusted(N, Shift); | ^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:18, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:25, from /usr/lib/llvm-11/include/llvm/Pass.h:317, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:31: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /<>/lib/CL/pocl_llvm_utils.cc:44: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:1089:21: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:19, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 51%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/max.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/max.cl.bc -c /<>/lib/kernel/max.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:28, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:18, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:31: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:18, from /<>/lib/llvmopencl/Barrier.h:28, from /<>/lib/llvmopencl/RemoveBarrierCalls.cc:29: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/PHIsToAllocas.cc:33: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /<>/lib/CL/pocl_llvm_utils.cc:44: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:31, from /usr/lib/llvm-11/include/llvm/Bitcode/BitcodeReader.h:19, from /<>/lib/CL/pocl_llvm_utils.cc:53: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘std::pair llvm::ScaledNumbers::getLgImpl(DigitsT, int16_t) [with DigitsT = unsigned int; int16_t = short int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:223:22: required from ‘int32_t llvm::ScaledNumbers::getLgFloor(DigitsT, int16_t) [with DigitsT = unsigned int; int32_t = int; int16_t = short int]’ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:390:35: required from ‘std::pair llvm::ScaledNumbers::getDifference(DigitsT, int16_t, DigitsT, int16_t) [with DigitsT = unsigned int; int16_t = short int]’ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:402:23: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:195:71: warning: conversion from ‘long unsigned int’ to ‘int32_t’ {aka ‘int’} may change value [-Wconversion] 195 | int32_t LocalFloor = sizeof(Digits) * 8 - countLeadingZeros(Digits) - 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘std::pair llvm::ScaledNumbers::getLgImpl(DigitsT, int16_t) [with DigitsT = long unsigned int; int16_t = short int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:223:22: required from ‘int32_t llvm::ScaledNumbers::getLgFloor(DigitsT, int16_t) [with DigitsT = long unsigned int; int32_t = int; int16_t = short int]’ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:390:35: required from ‘std::pair llvm::ScaledNumbers::getDifference(DigitsT, int16_t, DigitsT, int16_t) [with DigitsT = long unsigned int; int16_t = short int]’ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:410:23: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:195:71: warning: conversion from ‘long unsigned int’ to ‘int32_t’ {aka ‘int’} may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘void llvm::ScaledNumber::shiftLeft(int32_t) [with DigitsT = long unsigned int; int32_t = int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:624:5: required from ‘llvm::ScaledNumber& llvm::ScaledNumber::operator<<=(int16_t) [with DigitsT = long unsigned int; int16_t = short int]’ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:831:16: required from ‘llvm::ScaledNumber& llvm::ScaledNumber::operator/=(const llvm::ScaledNumber&) [with DigitsT = long unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:95:36: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:844:9: warning: conversion from ‘int’ to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] 844 | Scale += ScaleShift; | ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/PassRegistry.h:19, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:25, from /usr/lib/llvm-11/include/llvm/Pass.h:317, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/PassRegistry.h:19, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/CL/pocl_llvm_wg.cc:56: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_wg.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:22, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:18, from /<>/lib/llvmopencl/PHIsToAllocas.cc:30: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/PassRegistry.h:19, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘BucketT* llvm::DenseMapBase::InsertIntoBucketImpl(const KeyT&, const LookupKeyT&, BucketT*) [with LookupKeyT = unsigned int; DerivedT = llvm::DenseMap >; KeyT = unsigned int; ValueT = std::__cxx11::basic_string; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:547:37: required from ‘BucketT* llvm::DenseMapBase::InsertIntoBucket(BucketT*, KeyArg&&, ValueArgs&& ...) [with KeyArg = unsigned int; ValueArgs = {}; DerivedT = llvm::DenseMap >; KeyT = unsigned int; ValueT = std::__cxx11::basic_string; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:338:29: required from ‘llvm::DenseMapBase::value_type& llvm::DenseMapBase::FindAndConstruct(KeyT&&) [with DerivedT = llvm::DenseMap >; KeyT = unsigned int; ValueT = std::__cxx11::basic_string; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >; llvm::DenseMapBase::value_type = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:342:28: required from ‘ValueT& llvm::DenseMapBase::operator[](KeyT&&) [with DerivedT = llvm::DenseMap >; KeyT = unsigned int; ValueT = std::__cxx11::basic_string; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:132:20: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:565:45: warning: unused parameter ‘Key’ [-Wunused-parameter] 565 | BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, | ~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.h:28, from /<>/lib/llvmopencl/RemoveOptnoneFromWIFunc.cc:25: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ [ 51%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/max_i.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/max_i.cl.bc -c /<>/lib/kernel/max_i.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseSetPair >; KeyT = llvm::StringRef; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::StringRef; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::StringRef; ValueT = llvm::detail::DenseSetEmpty; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseSetPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:67:56: required from ‘llvm::detail::DenseSetImpl::DenseSetImpl(unsigned int) [with ValueT = llvm::StringRef; MapTy = llvm::DenseMap, llvm::detail::DenseSetPair >; ValueInfoT = llvm::DenseMapInfo]’ /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:255:7: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:31, from /usr/lib/llvm-11/include/llvm/Bitcode/BitcodeReader.h:19, from /<>/lib/CL/pocl_llvm_utils.cc:53: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘void llvm::ScaledNumber::shiftRight(int32_t) [with DigitsT = long unsigned int; int32_t = int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:838:5: required from ‘void llvm::ScaledNumber::shiftLeft(int32_t) [with DigitsT = long unsigned int; int32_t = int]’ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:624:5: required from ‘llvm::ScaledNumber& llvm::ScaledNumber::operator<<=(int16_t) [with DigitsT = long unsigned int; int16_t = short int]’ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:831:16: required from ‘llvm::ScaledNumber& llvm::ScaledNumber::operator/=(const llvm::ScaledNumber&) [with DigitsT = long unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:95:36: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:874:9: warning: conversion from ‘int’ to ‘int16_t’ {aka ‘short int’} may change value [-Wconversion] 874 | Scale -= ScaleShift; | ~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h: In instantiation of ‘static int llvm::ScaledNumber::countLeadingZerosWidth(llvm::ScaledNumber::DigitsType) [with DigitsT = long unsigned int; llvm::ScaledNumber::DigitsType = long unsigned int]’: /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:854:37: required from ‘void llvm::ScaledNumber::shiftLeft(int32_t) [with DigitsT = long unsigned int; int32_t = int]’ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:624:5: required from ‘llvm::ScaledNumber& llvm::ScaledNumber::operator<<=(int16_t) [with DigitsT = long unsigned int; int16_t = short int]’ /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:831:16: required from ‘llvm::ScaledNumber& llvm::ScaledNumber::operator/=(const llvm::ScaledNumber&) [with DigitsT = long unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/ModuleSummaryIndex.h:95:36: required from here /usr/lib/llvm-11/include/llvm/Support/ScaledNumber.h:692:32: warning: conversion from ‘llvm::ScaledNumber::DigitsType’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 692 | return countLeadingZeros32(Digits) + Width - 32; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:25, from /usr/lib/llvm-11/include/llvm/Pass.h:317, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::LayoutAlignElem; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::LayoutAlignElem; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:886:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:196:52: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/PassRegistry.h:19, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/YAMLTraits.h:19, from /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:24, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/CL/pocl_llvm_wg.cc:56: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:522:7: required from ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = llvm::yaml::Document]’ /usr/include/c++/11/bits/unique_ptr.h:182:16: required from ‘void std::__uniq_ptr_impl<_Tp, _Dp>::reset(std::__uniq_ptr_impl<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::__uniq_ptr_impl<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/include/c++/11/bits/unique_ptr.h:456:12: required from ‘void std::unique_ptr<_Tp, _Dp>::reset(std::unique_ptr<_Tp, _Dp>::pointer) [with _Tp = llvm::yaml::Document; _Dp = std::default_delete; std::unique_ptr<_Tp, _Dp>::pointer = llvm::yaml::Document*]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:597:17: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:38: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/ParallelRegion.cc:38: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:25, from /usr/lib/llvm-11/include/llvm/Pass.h:317, from /<>/lib/CL/../llvmopencl/AutomaticLocals.h:24, from /<>/lib/CL/pocl_llvm_wg.cc:26: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::LayoutAlignElem; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::LayoutAlignElem; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:886:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:196:52: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 51%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/VariableUniformityAnalysis.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/VariableUniformityAnalysis.cc.o -MF CMakeFiles/llvmpasses.dir/VariableUniformityAnalysis.cc.o.d -o CMakeFiles/llvmpasses.dir/VariableUniformityAnalysis.cc.o -c /<>/lib/llvmopencl/VariableUniformityAnalysis.cc In file included from /<>/tests/regression/test_multi_level_loops_with_barriers.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/CL/pocl_llvm_api.h:31, from /<>/lib/CL/pocl_llvm_utils.cc:29: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::LayoutAlignElem; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::LayoutAlignElem; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:886:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:196:52: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘BucketT* llvm::DenseMapBase::InsertIntoBucketImpl(const KeyT&, const LookupKeyT&, BucketT*) [with LookupKeyT = llvm::ValueMapCallbackVH > >; DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:547:37: required from ‘BucketT* llvm::DenseMapBase::InsertIntoBucket(BucketT*, KeyArg&&, ValueArgs&& ...) [with KeyArg = llvm::ValueMapCallbackVH > >; ValueArgs = {}; DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:338:29: required from ‘llvm::DenseMapBase::value_type& llvm::DenseMapBase::FindAndConstruct(KeyT&&) [with DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>; llvm::DenseMapBase::value_type = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:342:28: required from ‘ValueT& llvm::DenseMapBase::operator[](KeyT&&) [with DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/IR/ValueMap.h:208:15: required from ‘ValueT& llvm::ValueMap::operator[](const KeyT&) [with KeyT = const llvm::Value*; ValueT = llvm::WeakTrackingVH; Config = llvm::ValueMapConfig >]’ /<>/lib/llvmopencl/ParallelRegion.cc:128:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:565:45: warning: unused parameter ‘Key’ [-Wunused-parameter] 565 | BucketT *InsertIntoBucketImpl(const KeyT &Key, const LookupKeyT &Lookup, | ~~~~~~~~~~~~^~~ [ 51%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/WorkItemAliasAnalysis.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/WorkItemAliasAnalysis.cc.o -MF CMakeFiles/llvmpasses.dir/WorkItemAliasAnalysis.cc.o.d -o CMakeFiles/llvmpasses.dir/WorkItemAliasAnalysis.cc.o -c /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/ParallelRegion.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 51%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/maxmag.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/maxmag.cl.bc -c /<>/lib/kernel/maxmag.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 51%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/Workgroup.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/Workgroup.cc.o -MF CMakeFiles/llvmpasses.dir/Workgroup.cc.o.d -o CMakeFiles/llvmpasses.dir/Workgroup.cc.o -c /<>/lib/llvmopencl/Workgroup.cc [ 52%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemHandler.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemHandler.cc.o -MF CMakeFiles/llvmpasses.dir/WorkitemHandler.cc.o.d -o CMakeFiles/llvmpasses.dir/WorkitemHandler.cc.o -c /<>/lib/llvmopencl/WorkitemHandler.cc [ 52%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/min.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/min.cl.bc -c /<>/lib/kernel/min.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 52%] Built target lib_cl_llvm make -f tests/regression/CMakeFiles/test_barrier_before_return.dir/build.make tests/regression/CMakeFiles/test_barrier_before_return.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_barrier_before_return.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_barrier_before_return.dir/build.make tests/regression/CMakeFiles/test_barrier_before_return.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 52%] Building CXX object tests/regression/CMakeFiles/test_barrier_before_return.dir/test_barrier_before_return.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_barrier_before_return.dir/test_barrier_before_return.cpp.o -MF CMakeFiles/test_barrier_before_return.dir/test_barrier_before_return.cpp.o.d -o CMakeFiles/test_barrier_before_return.dir/test_barrier_before_return.cpp.o -c /<>/tests/regression/test_barrier_before_return.cpp In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:40, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/Analysis/MemoryLocation.h:20, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:44, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/Analysis/MemoryLocation.h:20, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:44, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/MemoryLocation.h:20, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:44, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ [ 52%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/min_i.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/min_i.cl.bc -c /<>/lib/kernel/min_i.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/MemoryLocation.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:44, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:31: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:12, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:31: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:31: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/llvmopencl/../CL/pocl_icd.h:26, from /<>/lib/llvmopencl/../CL/pocl_cl.h:56, from /<>/lib/llvmopencl/../CL/pocl_llvm.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:25, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/llvmopencl/../CL/pocl_icd.h:26, from /<>/lib/llvmopencl/../CL/pocl_cl.h:56, from /<>/lib/llvmopencl/../CL/pocl_llvm.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:25, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/include/CL/cl_gl_ext.h:18:112: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:23, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:32: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ [ 52%] Linking CXX executable test_multi_level_loops_with_barriers cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_multi_level_loops_with_barriers.dir/link.txt --verbose=1 In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:15, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_multi_level_loops_with_barriers.dir/test_multi_level_loops_with_barriers.cpp.o -o test_multi_level_loops_with_barriers ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:15, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:32: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 52%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/minmag.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/minmag.cl.bc -c /<>/lib/kernel/minmag.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:32: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ [ 52%] Built target test_multi_level_loops_with_barriers make -f tests/regression/CMakeFiles/test_locals.dir/build.make tests/regression/CMakeFiles/test_locals.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_locals.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_locals.dir/build.make tests/regression/CMakeFiles/test_locals.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/IR/Constants.h:31, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:32: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ [ 52%] Building CXX object tests/regression/CMakeFiles/test_locals.dir/test_locals.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_locals.dir/test_locals.cpp.o -MF CMakeFiles/test_locals.dir/test_locals.cpp.o.d -o CMakeFiles/test_locals.dir/test_locals.cpp.o -c /<>/tests/regression/test_locals.cpp In file included from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:32: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:15, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ make -f tests/regression/CMakeFiles/test_infinite_loop.dir/build.make tests/regression/CMakeFiles/test_infinite_loop.dir/depend In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_infinite_loop.dir/DependInfo.cmake --color= /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_infinite_loop.dir/build.make tests/regression/CMakeFiles/test_infinite_loop.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:15, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ [ 53%] Building CXX object tests/regression/CMakeFiles/test_infinite_loop.dir/test_infinite_loop.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_infinite_loop.dir/test_infinite_loop.cpp.o -MF CMakeFiles/test_infinite_loop.dir/test_infinite_loop.cpp.o.d -o CMakeFiles/test_infinite_loop.dir/test_infinite_loop.cpp.o -c /<>/tests/regression/test_infinite_loop.cpp In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:15, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:15, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:15, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:33: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /<>/tests/regression/test_barrier_before_return.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:33: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ [ 53%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mix.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mix.cl.bc -c /<>/lib/kernel/mix.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:33: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:33: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:33: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:17, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:26, from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:34: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:34: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ [ 53%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mul24.cl.bc /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mul24.cl.bc -c /<>/lib/kernel/mul24.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /<>/tests/regression/test_locals.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /<>/lib/llvmopencl/Workgroup.cc:41: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ [ 53%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mul_hi.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mul_hi.cl.bc -c /<>/lib/kernel/mul_hi.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:37: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/ConstantFolder.h:21, from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.cc:43: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:37: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/Workgroup.cc:43: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h: In member function ‘void llvm::TargetLibraryInfoImpl::setState(llvm::LibFunc, llvm::TargetLibraryInfoImpl::AvailabilityState)’: /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:62:25: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 62 | AvailableArray[F/4] &= ~(3 << 2*(F&3)); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:63:25: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 63 | AvailableArray[F/4] |= State << 2*(F&3); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /<>/lib/llvmopencl/WorkitemHandler.cc:35: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ In file included from /<>/tests/regression/test_infinite_loop.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:48, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /<>/lib/llvmopencl/WorkitemHandler.cc:37: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /<>/lib/llvmopencl/WorkitemHandler.cc:37: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:37: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:37: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ [ 53%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/nan.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/nan.cl.bc -c /<>/lib/kernel/nan.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.cc:43: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.cc:43: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ In file included from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:37: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/WorkitemHandler.cc:39: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/BinaryFormat/Dwarf.h:26, from /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:25, from /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:23, from /usr/lib/llvm-11/include/llvm/IR/DIBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.cc:47: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/WorkitemHandler.cc:39: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:25, from /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:23, from /usr/lib/llvm-11/include/llvm/IR/DIBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.cc:47: /usr/lib/llvm-11/include/llvm/BinaryFormat/Dwarf.h: In member function ‘uint8_t llvm::dwarf::PubIndexEntryDescriptor::toBits() const’: /usr/lib/llvm-11/include/llvm/BinaryFormat/Dwarf.h:634:32: warning: conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 634 | return Kind << KIND_OFFSET | Linkage << LINKAGE_OFFSET; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:23, from /usr/lib/llvm-11/include/llvm/IR/DIBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.cc:47: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DINode::DINode(llvm::LLVMContext&, unsigned int, llvm::Metadata::StorageType, unsigned int, llvm::ArrayRef, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:127:22: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 127 | SubclassData16 = Tag; | ^~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In member function ‘void llvm::DINode::setTag(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:148:48: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 148 | void setTag(unsigned Tag) { SubclassData16 = Tag; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 53%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_divide.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_divide.cl.bc -c /<>/lib/kernel/native_divide.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 53%] Linking CXX executable test_barrier_before_return cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_barrier_before_return.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_barrier_before_return.dir/test_barrier_before_return.cpp.o -o test_barrier_before_return ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/WorkitemHandler.cc:39: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/WorkitemHandler.cc:39: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ [ 53%] Built target test_barrier_before_return make -f tests/regression/CMakeFiles/test_issue_231.dir/build.make tests/regression/CMakeFiles/test_issue_231.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_231.dir/DependInfo.cmake --color= In file included from /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:23, from /usr/lib/llvm-11/include/llvm/IR/DIBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.cc:47: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DILexicalBlock::DILexicalBlock(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:1920:16: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 1920 | Column(Column) { | ^~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_issue_231.dir/build.make tests/regression/CMakeFiles/test_issue_231.dir/build In file included from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:40, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ [ 53%] Building CXX object tests/regression/CMakeFiles/test_issue_231.dir/test_issue_231.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_issue_231.dir/test_issue_231.cpp.o -MF CMakeFiles/test_issue_231.dir/test_issue_231.cpp.o.d -o CMakeFiles/test_issue_231.dir/test_issue_231.cpp.o -c /<>/tests/regression/test_issue_231.cpp /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 53%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_exp10.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_exp10.cl.bc -c /<>/lib/kernel/native_exp10.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /<>/lib/llvmopencl/WorkitemHandler.cc:39: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/Analysis/TargetLibraryInfo.h:15, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:45, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In member function ‘unsigned int llvm::DIExpression::getNumElements() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:2402:57: warning: conversion from ‘std::vector >::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2402 | unsigned getNumElements() const { return Elements.size(); } | ~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const FragInfo&)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:2683:45: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 2683 | return (Frag.SizeInBits & 0xffff) << 16 | (Frag.OffsetInBits & 0xffff); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DILocalVariable::DILocalVariable(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, llvm::DINode::DIFlags, uint32_t, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:2845:13: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 2845 | Arg(Arg), Flags(Flags) { | ^~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /<>/lib/llvmopencl/WorkitemHandler.h:33, from /<>/lib/llvmopencl/WorkitemHandler.cc:41: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DIMacroNode::DIMacroNode(llvm::LLVMContext&, unsigned int, llvm::Metadata::StorageType, unsigned int, llvm::ArrayRef, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:3186:22: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 3186 | SubclassData16 = MIType; | ^~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::DebugVariable&)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:3406:62: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3406 | return hash_combine(D.getVariable(), HV, D.getInlinedAt()); | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:40, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:40, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /<>/lib/llvmopencl/WorkitemHandler.h:33, from /<>/lib/llvmopencl/WorkitemHandler.cc:41: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:44: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/DIBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.cc:47: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h: In member function ‘unsigned int llvm::DebugInfoFinder::compile_unit_count() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:129:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 129 | unsigned compile_unit_count() const { return CUs.size(); } | ~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h: In member function ‘unsigned int llvm::DebugInfoFinder::global_variable_count() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:130:59: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 130 | unsigned global_variable_count() const { return GVs.size(); } | ~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h: In member function ‘unsigned int llvm::DebugInfoFinder::subprogram_count() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:131:54: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 131 | unsigned subprogram_count() const { return SPs.size(); } | ~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h: In member function ‘unsigned int llvm::DebugInfoFinder::type_count() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:132:48: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 132 | unsigned type_count() const { return TYs.size(); } | ~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h: In member function ‘unsigned int llvm::DebugInfoFinder::scope_count() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:133:52: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 133 | unsigned scope_count() const { return Scopes.size(); } | ~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:40, from /<>/lib/llvmopencl/WorkItemAliasAnalysis.cc:38: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = std::pair; ValueT = llvm::AliasResult; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AliasResult>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, llvm::AliasResult, 8>; KeyT = std::pair; ValueT = llvm::AliasResult; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AliasResult>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, llvm::AliasResult, 8>; KeyT = std::pair; ValueT = llvm::AliasResult; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AliasResult>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = std::pair; ValueT = llvm::AliasResult; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AliasResult>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = std::pair; ValueT = llvm::AliasResult; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo >; BucketT = llvm::detail::DenseMapPair, llvm::AliasResult>]’ /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:351:19: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:44: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = const llvm::Value*; ValueT = bool; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap; KeyT = const llvm::Value*; ValueT = bool; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap; KeyT = const llvm::Value*; ValueT = bool; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = const llvm::Value*; ValueT = bool; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = const llvm::Value*; ValueT = bool; unsigned int InlineBuckets = 8; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/AliasAnalysis.h:351:33: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] [ 53%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_exp2.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_exp2.cl.bc -c /<>/lib/kernel/native_exp2.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 54%] Linking CXX executable test_locals cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_locals.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_locals.dir/test_locals.cpp.o -o test_locals ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/FileSystem.h:34, from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:24, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/Workgroup.cc:51: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 54%] Built target test_locals [ 54%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemHandlerChooser.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemHandlerChooser.cc.o -MF CMakeFiles/llvmpasses.dir/WorkitemHandlerChooser.cc.o.d -o CMakeFiles/llvmpasses.dir/WorkitemHandlerChooser.cc.o -c /<>/lib/llvmopencl/WorkitemHandlerChooser.cc [ 54%] Linking CXX executable test_infinite_loop cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_infinite_loop.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_infinite_loop.dir/test_infinite_loop.cpp.o -o test_infinite_loop ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic In file included from /<>/lib/llvmopencl/WorkitemHandler.h:33, from /<>/lib/llvmopencl/WorkitemHandler.cc:41: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:44: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/Workgroup.h:30, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:44: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 54%] Built target test_infinite_loop make -f tests/regression/CMakeFiles/test_issue_757.dir/build.make tests/regression/CMakeFiles/test_issue_757.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_757.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_issue_757.dir/build.make tests/regression/CMakeFiles/test_issue_757.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 54%] Building CXX object tests/regression/CMakeFiles/test_issue_757.dir/test_issue_757.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_issue_757.dir/test_issue_757.cpp.o -MF CMakeFiles/test_issue_757.dir/test_issue_757.cpp.o.d -o CMakeFiles/test_issue_757.dir/test_issue_757.cpp.o -c /<>/tests/regression/test_issue_757.cpp [ 55%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_exp.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_exp.cl.bc -c /<>/lib/kernel/native_exp.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /<>/tests/regression/test_issue_231.cpp:8: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ /<>/lib/llvmopencl/WorkitemHandler.cc: In member function ‘virtual void pocl::WorkitemHandler::Initialize(pocl::Kernel*)’: /<>/lib/llvmopencl/WorkitemHandler.cc:87:16: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion] 87 | SizeTWidth = address_bits; | ^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/Workgroup.cc:51: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:34: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ In file included from /<>/lib/llvmopencl/WorkitemHandler.cc:37: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/Workgroup.cc:51: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ [ 55%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemLoops.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemLoops.cc.o -MF CMakeFiles/llvmpasses.dir/WorkitemLoops.cc.o.d -o CMakeFiles/llvmpasses.dir/WorkitemLoops.cc.o -c /<>/lib/llvmopencl/WorkitemLoops.cc In file included from /<>/lib/llvmopencl/Workgroup.cc:51: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ [ 55%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_log10.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_log10.cl.bc -c /<>/lib/kernel/native_log10.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/Workgroup.cc:53: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:18, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/Workgroup.cc:53: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] [ 56%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_log2.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_log2.cl.bc -c /<>/lib/kernel/native_log2.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:33: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/WorkitemHandler.cc:42: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:41: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/Workgroup.cc:53: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:18, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /<>/lib/llvmopencl/Kernel.h:27, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:41: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:33: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::LayoutAlignElem; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::LayoutAlignElem; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:886:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:196:52: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/WorkitemHandler.cc:32: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:17, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /<>/tests/regression/test_issue_757.cpp:11: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ [ 56%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_log.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_log.cl.bc -c /<>/lib/kernel/native_log.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:18, from /<>/lib/llvmopencl/VariableUniformityAnalysis.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/Workgroup.cc:54: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/Workgroup.cc:54: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Value.h:20, from /usr/lib/llvm-11/include/llvm/IR/User.h:24, from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 56%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_powr.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_powr.cl.bc -c /<>/lib/kernel/native_powr.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ /<>/lib/llvmopencl/Workgroup.cc: In member function ‘virtual bool pocl::Workgroup::runOnModule(llvm::Module&)’: /<>/lib/llvmopencl/Workgroup.cc:199:16: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion] 199 | SizeTWidth = address_bits; | ^~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc:231:25: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 231 | DeviceArgsASid), | ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc:232:39: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 232 | PointerType::get(PoclContextT, DeviceContextASid), SizeT, SizeT, SizeT}, | ^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ /<>/lib/llvmopencl/Workgroup.cc: In function ‘void addRangeMetadata(llvm::Instruction*, size_t, size_t)’: /<>/lib/llvmopencl/Workgroup.cc:320:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 320 | MDB.createRange(APInt(BitWidth, Min), APInt(BitWidth, Max + 1)); | ^~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc:320:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 320 | MDB.createRange(APInt(BitWidth, Min), APInt(BitWidth, Max + 1)); | ^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ /<>/lib/llvmopencl/Workgroup.cc: In member function ‘llvm::Function* pocl::Workgroup::createWrapper(llvm::Function*, pocl::FunctionMapping&)’: /<>/lib/llvmopencl/Workgroup.cc:660:49: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 660 | sv.push_back(PointerType::get(PoclContextT, DeviceContextASid)); | ^~~~~~~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc:664:49: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 664 | sv.push_back(PointerType::get(PoclContextT, DeviceContextASid)); | ^~~~~~~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc:694:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 694 | for (unsigned i = 0, e = F->arg_size(); i != e; ++i) { | ~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ /<>/lib/llvmopencl/Workgroup.cc: In member function ‘std::vector > pocl::Workgroup::globalHandlesToContextStructLoads(llvm::IRBuilder<>&, const std::vector >&&, int)’: /<>/lib/llvmopencl/Workgroup.cc:808:66: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 808 | Builder, StructFieldIndex, GlobalHandleNames.size() == 1 ? -1 : i); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /<>/lib/llvmopencl/Workgroup.cc: In member function ‘void pocl::Workgroup::createDefaultWorkgroupLauncher(llvm::Function*)’: /<>/lib/llvmopencl/Workgroup.cc:1033:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1033 | if (DeviceAllocaLocals && isLocalMemFunctionArg(F, i)) { | ^ /<>/lib/llvmopencl/Workgroup.cc:1062:64: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1062 | Type *SizeIntType = IntegerType::get(*C, ParamByteSize * 8); | ~~~~~~~~~~~~~~^~~ /<>/lib/llvmopencl/Workgroup.cc: In function ‘void computeArgBufferOffsets(LLVMValueRef, uint64_t*)’: /<>/lib/llvmopencl/Workgroup.cc:1162:42: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1162 | LLVMValueRef Param = LLVMGetParam(F, i); | ^ /<>/lib/llvmopencl/Workgroup.cc:1169:30: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1169 | Offset = align64(Offset, Alignment); | ^~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc: In member function ‘LLVMOpaqueValue* pocl::Workgroup::createAllocaMemcpyForStruct(LLVMModuleRef, LLVMBuilderRef, llvm::Argument&, LLVMValueRef)’: /<>/lib/llvmopencl/Workgroup.cc:1199:56: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1199 | LLVMTypeRef i32PtrAS1 = LLVMPointerType(Int32Type, DeviceArgsASid); | ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc:1210:18: warning: unused variable ‘call4’ [-Wunused-variable] 1210 | LLVMValueRef call4 = LLVMBuildCall(Builder, MemCpy4, args, 3, ""); | ^~~~~ /<>/lib/llvmopencl/Workgroup.cc:1213:54: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1213 | LLVMTypeRef i8PtrAS1 = LLVMPointerType(Int8Type, DeviceArgsASid); | ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc:1224:18: warning: unused variable ‘call1’ [-Wunused-variable] 1224 | LLVMValueRef call1 = LLVMBuildCall(Builder, MemCpy1, args, 3, ""); | ^~~~~ /<>/lib/llvmopencl/Workgroup.cc: In member function ‘LLVMOpaqueValue* pocl::Workgroup::createArgBufferLoad(LLVMBuilderRef, LLVMValueRef, uint64_t*, LLVMValueRef, unsigned int)’: /<>/lib/llvmopencl/Workgroup.cc:1266:60: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1266 | Builder, ArgByteOffset, LLVMPointerType(ParamType, DeviceArgsASid), | ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc: In member function ‘llvm::Function* pocl::Workgroup::createArgBufferWorkgroupLauncher(llvm::Function*, std::string)’: /<>/lib/llvmopencl/Workgroup.cc:1298:55: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1298 | LLVMTypeRef ArgsPtrType = LLVMPointerType(Int8Type, DeviceArgsASid); | ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc:1300:54: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1300 | LLVMTypeRef CtxPtrType = LLVMPointerType(Int8Type, DeviceContextASid); | ^~~~~~~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc:1336:59: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1336 | if (DeviceAllocaLocals && isLocalMemFunctionArg(Func, i)) { | ^ /<>/lib/llvmopencl/Workgroup.cc:1340:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1340 | LLVMValueRef Param = LLVMGetParam(F, i); | ^ /<>/lib/llvmopencl/Workgroup.cc:1409:78: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1409 | Args[i] = createArgBufferLoad(Builder, ArgBuffer, ArgBufferOffsets, F, i); | ^ /<>/lib/llvmopencl/Workgroup.cc:1415:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1415 | LLVMValueRef CtxParam = LLVMGetParam(WrapperKernel, Arg++); | ~~~^~ /<>/lib/llvmopencl/Workgroup.cc:1417:56: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1417 | LLVMTypeRef CtxPtrTypeActual = LLVMPointerType(CtxT, DeviceContextASid); | ^~~~~~~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc:1422:46: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1422 | Args[i++] = LLVMGetParam(WrapperKernel, Arg++); | ~~~^~ /<>/lib/llvmopencl/Workgroup.cc:1423:46: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1423 | Args[i++] = LLVMGetParam(WrapperKernel, Arg++); | ~~~^~ /<>/lib/llvmopencl/Workgroup.cc:1424:46: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1424 | Args[i++] = LLVMGetParam(WrapperKernel, Arg++); | ~~~^~ [ 56%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_recip.cl.bc /<>/lib/llvmopencl/Workgroup.cc:1428:55: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1428 | LLVMValueRef Call = LLVMBuildCall(Builder, F, Args, ArgCount, ""); | ^~~~~~~~ cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_recip.cl.bc -c /<>/lib/kernel/native_recip.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /<>/lib/llvmopencl/Workgroup.cc: In member function ‘void pocl::Workgroup::createGridLauncher(llvm::Function*, llvm::Function*, std::string)’: /<>/lib/llvmopencl/Workgroup.cc:1457:55: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1457 | LLVMTypeRef ArgsPtrType = LLVMPointerType(Int8Type, DeviceArgsASid); | ^~~~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc:1506:38: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1506 | KernArgCount - HiddenArgs); | ~~~~~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /<>/lib/llvmopencl/Workgroup.cc: In member function ‘void pocl::Workgroup::createFastWorkgroupLauncher(llvm::Function*)’: /<>/lib/llvmopencl/Workgroup.cc:1597:62: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1597 | builder.CreatePointerCast(Pointer, T->getPointerTo(DeviceGlobalASid)); | ^~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Argument.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:25, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ [ 56%] Linking CXX executable test_issue_231 cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_issue_231.dir/link.txt --verbose=1 /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_issue_231.dir/test_issue_231.cpp.o -o test_issue_231 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic In file included from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:22, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:45, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:33, from /<>/lib/llvmopencl/Workgroup.cc:43: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ [ 56%] Built target test_issue_231 In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ [ 56%] Building CXX object lib/llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemReplication.cc.o cd /<>/obj-riscv64-linux-gnu/lib/llvmopencl && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/llvmopencl/../CL -I/<>/lib/llvmopencl/../CL/devices -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/lib/llvm-11/include -std=c++14 -fno-exceptions -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -flto -fno-fat-lto-objects -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -MD -MT lib/llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemReplication.cc.o -MF CMakeFiles/llvmpasses.dir/WorkitemReplication.cc.o.d -o CMakeFiles/llvmpasses.dir/WorkitemReplication.cc.o -c /<>/lib/llvmopencl/WorkitemReplication.cc [ 56%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_rsqrt.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_rsqrt.cl.bc -c /<>/lib/kernel/native_rsqrt.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ [ 57%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_sqrt.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_sqrt.cl.bc -c /<>/lib/kernel/native_sqrt.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ make -f tests/regression/CMakeFiles/test_early_return.dir/build.make tests/regression/CMakeFiles/test_early_return.dir/depend /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_early_return.dir/DependInfo.cmake --color= In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_early_return.dir/build.make tests/regression/CMakeFiles/test_early_return.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:23, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ make -f tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/build.make tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/depend [ 57%] Building CXX object tests/regression/CMakeFiles/test_early_return.dir/test_early_return.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_early_return.dir/test_early_return.cpp.o -MF CMakeFiles/test_early_return.dir/test_early_return.cpp.o.d -o CMakeFiles/test_early_return.dir/test_early_return.cpp.o -c /<>/tests/regression/test_early_return.cpp make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/DependInfo.cmake --color= In file included from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/build.make tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/build In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 57%] Building CXX object tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/test_for_with_var_iteration_count.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/test_for_with_var_iteration_count.cpp.o -MF CMakeFiles/test_for_with_var_iteration_count.dir/test_for_with_var_iteration_count.cpp.o.d -o CMakeFiles/test_for_with_var_iteration_count.dir/test_for_with_var_iteration_count.cpp.o -c /<>/tests/regression/test_for_with_var_iteration_count.cpp In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 57%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pocl_spawn_wg.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pocl_spawn_wg.c.bc -c /<>/lib/kernel/pocl_spawn_wg.c -I/<>/include -include /<>/include/_kernel_c.h In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ [ 58%] Linking CXX executable test_issue_757 cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_issue_757.dir/link.txt --verbose=1 In file included from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_issue_757.dir/test_issue_757.cpp.o -o test_issue_757 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 59%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pocl_run_all_wgs.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pocl_run_all_wgs.c.bc -c /<>/lib/kernel/pocl_run_all_wgs.c -I/<>/include -include /<>/include/_kernel_c.h /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ [ 59%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/popcount.cl.bc /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/popcount.cl.bc -c /<>/lib/kernel/popcount.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:32: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ [ 59%] Built target test_issue_757 /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ [ 59%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/prefetch.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/prefetch.cl.bc -c /<>/lib/kernel/prefetch.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:17, from /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:23, from /usr/lib/llvm-11/include/llvm/IR/DIBuilder.h:24, from /<>/lib/llvmopencl/Workgroup.cc:47: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = llvm::DINode::DIFlags; std::underlying_type_t = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:93:3: required from ‘std::underlying_type_t llvm::BitmaskEnumDetail::Underlying(E) [with E = llvm::DINode::DIFlags; std::underlying_type_t = unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:113:35: required from ‘E llvm::BitmaskEnumDetail::operator&(E, E) [with E = llvm::DINode::DIFlags; = void]’ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:666:26: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned int’} may change value [-Wconversion] 83 | return NextPowerOf2(static_cast>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | E::LLVM_BITMASK_LARGEST_ENUMERATOR)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 85 | 1; | ~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = llvm::DISubprogram::DISPFlags; std::underlying_type_t = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:93:3: required from ‘std::underlying_type_t llvm::BitmaskEnumDetail::Underlying(E) [with E = llvm::DISubprogram::DISPFlags; std::underlying_type_t = unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:113:35: required from ‘E llvm::BitmaskEnumDetail::operator&(E, E) [with E = llvm::DISubprogram::DISPFlags; = void]’ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:1777:58: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned int’} may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:32: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:45, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:49, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/Workgroup.cc:53: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:22, from /<>/lib/llvmopencl/Workgroup.cc:53: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = llvm::CallInst*; ValueT = llvm::CallInst*; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap; KeyT = llvm::CallInst*; ValueT = llvm::CallInst*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:140:5: required from ‘void llvm::DenseMapBase::clear() [with DerivedT = llvm::SmallDenseMap; KeyT = llvm::CallInst*; ValueT = llvm::CallInst*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /<>/lib/llvmopencl/Workgroup.cc:597:21: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 59%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/printf.c.bc /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/printf.c.bc -c /<>/lib/kernel/printf.c -I/<>/include -include /<>/include/_kernel_c.h /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ [ 59%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/printf_base.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/printf_base.c.bc -c /<>/lib/kernel/printf_base.c -I/<>/include -include /<>/include/_kernel_c.h In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:49, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/IR/ValueMap.h:104:9: required from ‘llvm::ValueMap::ValueMap(unsigned int) [with KeyT = const llvm::Value*; ValueT = llvm::WeakTrackingVH; Config = llvm::ValueMapConfig >]’ /<>/lib/llvmopencl/Workgroup.cc:485:21: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::LayoutAlignElem; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::LayoutAlignElem; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::LayoutAlignElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:886:39: required from ‘llvm::SmallVector::SmallVector() [with T = llvm::LayoutAlignElem; unsigned int N = 16]’ /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:196:52: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseSet.h:16, from /usr/lib/llvm-11/include/llvm/IR/Function.h:20, from /usr/lib/llvm-11/include/llvm/IR/Module.h:26, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ [ 59%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/read_image.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/read_image.cl.bc -c /<>/lib/kernel/read_image.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 59%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/rhadd.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/rhadd.cl.bc -c /<>/lib/kernel/rhadd.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(llvm::hash_code)’: /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:346:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 346 | static unsigned getHashValue(hash_code val) { return val; } | ^~~ In file included from /<>/tests/regression/test_early_return.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:49, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:24, from /usr/lib/llvm-11/include/llvm/IR/Argument.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:25, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In constructor ‘llvm::Align::Align(uint64_t)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:79:25: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 79 | ShiftValue = Log2_64(Value); | ~~~~~~~^~~~~~~ /usr/lib/llvm-11/include/llvm/Support/Alignment.h: In function ‘llvm::MaybeAlign llvm::decodeMaybeAlign(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/Alignment.h:249:26: warning: conversion from ‘unsigned int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 249 | Out.ShiftValue = Value - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:49, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/WorkitemHandler.h:35, from /<>/lib/llvmopencl/WorkitemHandlerChooser.h:26, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:34: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/WorkitemHandler.h:35, from /<>/lib/llvmopencl/WorkitemHandlerChooser.h:26, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:34: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ In file included from /<>/tests/regression/test_for_with_var_iteration_count.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Constant.h:16, from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:29, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/User.h: In constructor ‘llvm::User::User(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:76:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 76 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setGlobalVariableNumOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:209:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 209 | NumUserOperands = NumOps; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/User.h: In member function ‘void llvm::User::setNumHungOffUseOperands(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/User.h:218:23: warning: conversion from ‘unsigned int’ to ‘unsigned int:28’ may change value [-Wconversion] 218 | NumUserOperands = NumOps; | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/Metadata.h: In constructor ‘llvm::Metadata::Metadata(unsigned int, llvm::Metadata::StorageType)’: /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:20: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:85:25: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 85 | : SubclassID(ID), Storage(Storage), ImplicitCode(false) { | ^~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::grow(unsigned int) [with KeyT = llvm::CallInst*; ValueT = llvm::CallInst*; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:537:40: required from ‘void llvm::DenseMapBase::grow(unsigned int) [with DerivedT = llvm::SmallDenseMap; KeyT = llvm::CallInst*; ValueT = llvm::CallInst*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:581:13: required from ‘BucketT* llvm::DenseMapBase::InsertIntoBucketImpl(const KeyT&, const LookupKeyT&, BucketT*) [with LookupKeyT = llvm::CallInst*; DerivedT = llvm::SmallDenseMap; KeyT = llvm::CallInst*; ValueT = llvm::CallInst*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:547:37: required from ‘BucketT* llvm::DenseMapBase::InsertIntoBucket(BucketT*, KeyArg&&, ValueArgs&& ...) [with KeyArg = llvm::CallInst*; ValueArgs = {llvm::CallInst*}; DerivedT = llvm::SmallDenseMap; KeyT = llvm::CallInst*; ValueT = llvm::CallInst*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:234:25: required from ‘std::pair, bool> llvm::DenseMapBase::try_emplace(KeyT&&, Ts&& ...) [with Ts = {llvm::CallInst*}; DerivedT = llvm::SmallDenseMap; KeyT = llvm::CallInst*; ValueT = llvm::CallInst*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:215:23: required from ‘std::pair, bool> llvm::DenseMapBase::insert(std::pair<_Tp1, _Tp2>&&) [with DerivedT = llvm::SmallDenseMap; KeyT = llvm::CallInst*; ValueT = llvm::CallInst*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /<>/lib/llvmopencl/Workgroup.cc:573:28: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1040:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1040 | AtLeast = std::max(64, NextPowerOf2(AtLeast-1)); | ~~~~~~~~~~~~^~~~~~~~~~~ In file included from /<>/lib/llvmopencl/WorkitemHandler.h:35, from /<>/lib/llvmopencl/WorkitemHandlerChooser.h:26, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:34: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/IR/Attributes.h:19, from /usr/lib/llvm-11/include/llvm/IR/Module.h:23, from /<>/lib/llvmopencl/../CL/pocl_llvm_api.h:31, from /<>/lib/llvmopencl/Workgroup.cc:34: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 59%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/rotate.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/rotate.cl.bc -c /<>/lib/kernel/rotate.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemLoops.cc:38: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h: In member function ‘void llvm::BasicBlock::AdjustBlockAddressRefCount(int)’: /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:31: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:521:34: warning: conversion from ‘short unsigned int’ to ‘short unsigned int:15’ may change value [-Wconversion] 521 | Bits.BlockAddressRefCount += Amt; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:25, from /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:23, from /usr/lib/llvm-11/include/llvm/IR/DIBuilder.h:24, from /<>/lib/llvmopencl/WorkitemLoops.cc:39: /usr/lib/llvm-11/include/llvm/BinaryFormat/Dwarf.h: In member function ‘uint8_t llvm::dwarf::PubIndexEntryDescriptor::toBits() const’: /usr/lib/llvm-11/include/llvm/BinaryFormat/Dwarf.h:634:32: warning: conversion from ‘int’ to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 634 | return Kind << KIND_OFFSET | Linkage << LINKAGE_OFFSET; | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:23, from /usr/lib/llvm-11/include/llvm/IR/DIBuilder.h:24, from /<>/lib/llvmopencl/WorkitemLoops.cc:39: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DINode::DINode(llvm::LLVMContext&, unsigned int, llvm::Metadata::StorageType, unsigned int, llvm::ArrayRef, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:127:22: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 127 | SubclassData16 = Tag; | ^~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In member function ‘void llvm::DINode::setTag(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:148:48: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 148 | void setTag(unsigned Tag) { SubclassData16 = Tag; } | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/APFloat.h:19, from /usr/lib/llvm-11/include/llvm/IR/Type.h:17, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In static member function ‘static unsigned int llvm::APInt::getNumWords(unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1585:59: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1585 | return ((uint64_t)BitWidth + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/APInt.h: In member function ‘unsigned int llvm::APInt::nearestLogBase2() const’: /usr/lib/llvm-11/include/llvm/ADT/APInt.h:1831:20: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 1831 | return U.VAL - 1; | ~~~~~~^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/WorkitemLoops.h:34, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:35: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 59%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/rsqrt.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/rsqrt.cl.bc -c /<>/lib/kernel/rsqrt.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/WorkitemLoops.h:34, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:35: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Type.h:24, from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h: In member function ‘llvm::ElementCount llvm::ElementCount::NextPowerOf2() const’: /usr/lib/llvm-11/include/llvm/Support/TypeSize.h:57:43: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 57 | return ElementCount(llvm::NextPowerOf2(Min), Scalable); | ~~~~~~~~~~~~~~~~~~^~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:23, from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/Type.h: In member function ‘void llvm::Type::setSubclassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Type.h:99:20: warning: conversion from ‘unsigned int’ to ‘unsigned int:24’ may change value [-Wconversion] 99 | SubclassData = val; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:29, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getInteger(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:471:70: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 471 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::VectorType* llvm::VectorType::getTruncatedElementVectorType(llvm::VectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:502:72: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 502 | unsigned EltBits = VTy->getElementType()->getPrimitiveSizeInBits(); | ^ /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h: In static member function ‘static llvm::ScalableVectorType* llvm::ScalableVectorType::get(llvm::Type*, const llvm::ScalableVectorType*)’: /usr/lib/llvm-11/include/llvm/IR/DerivedTypes.h:612:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 612 | return get(ElementType, SVTy->getMinNumElements()); | ~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:18, from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setGlobalValueSubClassData(unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:163:20: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 163 | SubClassData = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setUnnamedAddr(llvm::GlobalValue::UnnamedAddr)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:212:59: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 212 | void setUnnamedAddr(UnnamedAddr Val) { UnnamedAddrVal = unsigned(Val); } | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setVisibility(llvm::GlobalValue::VisibilityTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:238:18: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 238 | Visibility = V; | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setThreadLocalMode(llvm::GlobalValue::ThreadLocalMode)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:250:19: warning: conversion from ‘unsigned int’ to ‘unsigned char:3’ may change value [-Wconversion] 250 | ThreadLocal = Val; | ^~~ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setDLLStorageClass(llvm::GlobalValue::DLLStorageClassTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:265:71: warning: conversion from ‘unsigned int’ to ‘unsigned char:2’ may change value [-Wconversion] 265 | void setDLLStorageClass(DLLStorageClassTypes C) { DllStorageClass = C; } | ^ /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h: In member function ‘void llvm::GlobalValue::setLinkage(llvm::GlobalValue::LinkageTypes)’: /usr/lib/llvm-11/include/llvm/IR/GlobalValue.h:457:15: warning: conversion from ‘unsigned int’ to ‘unsigned char:4’ may change value [-Wconversion] 457 | Linkage = LT; | ^~ In file included from /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:23, from /usr/lib/llvm-11/include/llvm/IR/DIBuilder.h:24, from /<>/lib/llvmopencl/WorkitemLoops.cc:39: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DILexicalBlock::DILexicalBlock(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:1920:16: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 1920 | Column(Column) { | ^~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Function.h:30, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h: In member function ‘unsigned int llvm::GlobalObject::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/GlobalObject.h:76:18: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 76 | return Align ? Align->value() : 0; | ~~~~~~^~~~~~~~~~~~~~~~~~~~ [ 60%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/select.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/select.cl.bc -c /<>/lib/kernel/select.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘void llvm::Function::setCallingConv(llvm::CallingConv::ID)’: /usr/lib/llvm-11/include/llvm/IR/Function.h:226:64: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 226 | setValueSubclassData((getSubclassDataFromValue() & 0xc00f) | (ID << 4)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getFnStackAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:355:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 355 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Function.h: In member function ‘unsigned int llvm::Function::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/Function.h:456:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 456 | return MA->value(); | ~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/CFG.h: In function ‘unsigned int llvm::pred_size(const llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/CFG.h:123:23: warning: conversion from ‘std::__iterator_traits >, void>::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 123 | return std::distance(pred_begin(BB), pred_end(BB)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:37: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:37: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:28, from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/Constants.h: In constructor ‘llvm::ConstantExpr::ConstantExpr(llvm::Type*, unsigned int, llvm::Use*, unsigned int)’: /usr/lib/llvm-11/include/llvm/IR/Constants.h:910:26: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 910 | setValueSubclassData(Opcode); | ^~~~~~ [ 60%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/shuffle.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/shuffle.cl.bc -c /<>/lib/kernel/shuffle.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Instructions.h:33, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::data_operands_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1198:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1198 | return std::distance(data_operands_begin(), data_operands_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getDataOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1220:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1220 | return U - data_operands_begin(); | ~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::arg_size() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1247:48: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1247 | unsigned arg_size() const { return arg_end() - arg_begin(); } | ~~~~~~~~~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getArgOperandNo(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1292:14: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1292 | return U - arg_begin(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getRetAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1598:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1598 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getParamAlignment(unsigned int) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1609:23: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1609 | return MA->value(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘unsigned int llvm::CallBase::getNumOperandBundles() const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1782:25: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 1782 | return std::distance(bundle_op_info_begin(), bundle_op_info_end()); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In member function ‘bool llvm::CallBase::isBundleOperand(const llvm::Use*) const’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1810:53: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 1810 | return hasOperandBundles() && isBundleOperand(U - op_begin()); | ~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h: In static member function ‘static unsigned int llvm::CallBase::CountBundleInputs(llvm::ArrayRef >)’: /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:2139:29: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2139 | Total += B.input_size(); | ^ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In member function ‘unsigned int llvm::DIExpression::getNumElements() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:2402:57: warning: conversion from ‘std::vector >::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2402 | unsigned getNumElements() const { return Elements.size(); } | ~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::AllocaInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:127:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::LoadInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:218:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 218 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘unsigned int llvm::StoreInst::getAlignment() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:350:58: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 350 | unsigned getAlignment() const { return getAlign().value(); } | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const FragInfo&)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:2683:45: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 2683 | return (Frag.SizeInBits & 0xffff) << 16 | (Frag.OffsetInBits & 0xffff); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1476:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1476 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1485:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1485 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1486:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1486 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1499:45: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1499 | return new (ComputeNumOperands(Args.size())) | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallInst* llvm::CallInst::Create(llvm::FunctionType*, llvm::Value*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1507:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 1507 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1508:53: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1508 | const unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DILocalVariable::DILocalVariable(llvm::LLVMContext&, llvm::Metadata::StorageType, unsigned int, unsigned int, llvm::DINode::DIFlags, uint32_t, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:2845:13: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 2845 | Arg(Arg), Flags(Flags) { | ^~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::changesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2040:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2040 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘bool llvm::ShuffleVectorInst::increasesLength() const’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2050:44: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 2050 | unsigned NumMaskElts = ShuffleMask.size(); | ~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In member function ‘void llvm::SwitchInst::CaseHandle::setValue(llvm::ConstantInt*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3214:24: warning: conversion from ‘ptrdiff_t’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 3214 | SI->setOperand(2 + Index*2, reinterpret_cast(V)); | ~~^~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3688:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3688 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3700:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3700 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3701:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3701 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3711:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3711 | int NumOperands = ComputeNumOperands(Args.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::InvokeInst* llvm::InvokeInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3722:37: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3722 | ComputeNumOperands(Args.size(), CountBundleInputs(Bundles)); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3723:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3723 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3897:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3897 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In constructor ‘llvm::DIMacroNode::DIMacroNode(llvm::LLVMContext&, unsigned int, llvm::Metadata::StorageType, unsigned int, llvm::ArrayRef, llvm::ArrayRef)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:3186:22: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 3186 | SubclassData16 = MIType; | ^~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3910:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3910 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3912:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3912 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3924:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3924 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size()); | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CallBrInst* llvm::CallBrInst::Create(llvm::FunctionType*, llvm::Value*, llvm::BasicBlock*, llvm::ArrayRef, llvm::ArrayRef, llvm::ArrayRef >, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:51: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3936:73: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 3936 | int NumOperands = ComputeNumOperands(Args.size(), IndirectDests.size(), | ~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3938:47: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3938 | unsigned DescriptorBytes = Bundles.size() * sizeof(BundleOpInfo); | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::DebugVariable&)’: /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:3406:62: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 3406 | return hash_combine(D.getVariable(), HV, D.getInlinedAt()); | ^ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4340:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4340 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CleanupPadInst* llvm::CleanupPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4347:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4347 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::Instruction*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4381:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4381 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In static member function ‘static llvm::CatchPadInst* llvm::CatchPadInst::Create(llvm::Value*, llvm::ArrayRef, const llvm::Twine&, llvm::BasicBlock*)’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4388:25: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 4388 | unsigned Values = 1 + Args.size(); | ~~^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DIBuilder.h:24, from /<>/lib/llvmopencl/WorkitemLoops.cc:39: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h: In member function ‘unsigned int llvm::DebugInfoFinder::compile_unit_count() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:129:56: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 129 | unsigned compile_unit_count() const { return CUs.size(); } | ~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h: In member function ‘unsigned int llvm::DebugInfoFinder::global_variable_count() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:130:59: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 130 | unsigned global_variable_count() const { return GVs.size(); } | ~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h: In member function ‘unsigned int llvm::DebugInfoFinder::subprogram_count() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:131:54: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 131 | unsigned subprogram_count() const { return SPs.size(); } | ~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h: In member function ‘unsigned int llvm::DebugInfoFinder::type_count() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:132:48: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 132 | unsigned type_count() const { return TYs.size(); } | ~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h: In member function ‘unsigned int llvm::DebugInfoFinder::scope_count() const’: /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:133:52: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 133 | unsigned scope_count() const { return Scopes.size(); } | ~~~~~~~~~~~^~ [ 60%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/signbit.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/signbit.cl.bc -c /<>/lib/kernel/signbit.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/Module.h:25, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:45, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:49, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h: In member function ‘unsigned int llvm::DataLayout::getPreferredAlignment(const llvm::GlobalVariable*) const’: /usr/lib/llvm-11/include/llvm/IR/DataLayout.h:589:39: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 589 | return getPreferredAlign(GV).value(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/WorkitemLoops.cc:42: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/WorkitemLoops.cc:42: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:32: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ [ 60%] Linking CXX executable test_early_return cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_early_return.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_early_return.dir/test_early_return.cpp.o -o test_early_return ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic In file included from /usr/lib/llvm-11/include/llvm/Support/Threading.h:17, from /usr/lib/llvm-11/include/llvm/Support/RWMutex.h:17, from /usr/lib/llvm-11/include/llvm/PassRegistry.h:23, from /usr/lib/llvm-11/include/llvm/PassSupport.h:29, from /usr/lib/llvm-11/include/llvm/Pass.h:318, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:48, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:49, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘void llvm::BitVector::resize(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:374:39: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 374 | unsigned OldCapacity = Bits.size(); | ~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::set(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:427:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 427 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/BitVector.h: In member function ‘llvm::BitVector& llvm::BitVector::reset(unsigned int, unsigned int)’: /usr/lib/llvm-11/include/llvm/ADT/BitVector.h:466:16: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 466 | I = alignTo(I, BITWORD_SIZE); | ~~~~~~~^~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/WorkitemLoops.cc:48: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:17, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = const void*]’ /usr/lib/llvm-11/include/llvm/PassAnalysisSupport.h:83:24: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/WorkitemLoops.cc:48: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 60%] Built target test_early_return make -f tests/regression/CMakeFiles/test_issue_445.dir/build.make tests/regression/CMakeFiles/test_issue_445.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_445.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_issue_445.dir/build.make tests/regression/CMakeFiles/test_issue_445.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 60%] Building CXX object tests/regression/CMakeFiles/test_issue_445.dir/test_issue_445.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_issue_445.dir/test_issue_445.cpp.o -MF CMakeFiles/test_issue_445.dir/test_issue_445.cpp.o.d -o CMakeFiles/test_issue_445.dir/test_issue_445.cpp.o -c /<>/tests/regression/test_issue_445.cpp In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:19, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:49, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h: In function ‘char llvm::hexdigit(unsigned int, bool)’: /usr/lib/llvm-11/include/llvm/ADT/StringExtras.h:38:17: warning: conversion from ‘unsigned int’ to ‘char’ may change value [-Wconversion] 38 | return X < 10 ? '0' + X : HexChar + X - 10; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 60%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sign.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sign.cl.bc -c /<>/lib/kernel/sign.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Support/Error.h:27, from /usr/lib/llvm-11/include/llvm/Support/TimeProfiler.h:12, from /usr/lib/llvm-11/include/llvm/IR/PassManager.h:50, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:49, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/Support/Format.h: In constructor ‘llvm::FormattedBytes::FormattedBytes(llvm::ArrayRef, uint32_t, llvm::Optional, uint32_t, uint8_t, bool, bool)’: /usr/lib/llvm-11/include/llvm/Support/Format.h:234:23: warning: conversion from ‘uint32_t’ {aka ‘unsigned int’} to ‘uint8_t’ {aka ‘unsigned char’} may change value [-Wconversion] 234 | ByteGroupSize = NumPerLine; | ^~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /<>/lib/llvmopencl/WorkitemLoops.cc:48: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ [ 61%] Linking CXX executable test_for_with_var_iteration_count cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_for_with_var_iteration_count.dir/link.txt --verbose=1 /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_for_with_var_iteration_count.dir/test_for_with_var_iteration_count.cpp.o -o test_for_with_var_iteration_count ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:32: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:17, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:32: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 61%] Built target test_for_with_var_iteration_count make -f tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/build.make tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/build.make tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/build In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/WorkitemLoops.cc:52: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/WorkitemLoops.cc:52: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ [ 61%] Building CXX object tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/test_flatten_barrier_subs.cpp.o In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/test_flatten_barrier_subs.cpp.o -MF CMakeFiles/test_flatten_barrier_subs.dir/test_flatten_barrier_subs.cpp.o.d -o CMakeFiles/test_flatten_barrier_subs.dir/test_flatten_barrier_subs.cpp.o -c /<>/tests/regression/test_flatten_barrier_subs.cpp In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Metadata.h:19, from /usr/lib/llvm-11/include/llvm/IR/TrackingMDRef.h:16, from /usr/lib/llvm-11/include/llvm/IR/DebugLoc.h:17, from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:22, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:21, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ [ 62%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/smoothstep.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/smoothstep.cl.bc -c /<>/lib/kernel/smoothstep.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/IR/Dominators.h:17, from /usr/lib/llvm-11/include/llvm/Analysis/PostDominators.h:17, from /<>/lib/llvmopencl/WorkitemHandlerChooser.cc:31: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:26, from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/WorkitemReplication.cc:39: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::getNumBuffers() const’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:127:55: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 127 | unsigned getNumBuffers() const { return Buffers.size(); } | ~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h: In member function ‘unsigned int llvm::SourceMgr::AddNewSourceBuffer(std::unique_ptr, llvm::SMLoc)’: /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:147:24: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 147 | return Buffers.size(); | ~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:34, from /<>/lib/llvmopencl/WorkitemReplication.cc:39: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h: In member function ‘int llvm::vfs::recursive_directory_iterator::level() const’: /usr/lib/llvm-11/include/llvm/Support/VirtualFileSystem.h:237:32: warning: conversion from ‘std::stack >::size_type’ {aka ‘long unsigned int’} to ‘int’ may change value [-Wconversion] 237 | return State->Stack.size() - 1; | ~~~~~~~~~~~~~~~~~~~~^~~ make -f tests/regression/CMakeFiles/test_vectors_as_args.dir/build.make tests/regression/CMakeFiles/test_vectors_as_args.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_vectors_as_args.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_vectors_as_args.dir/build.make tests/regression/CMakeFiles/test_vectors_as_args.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 62%] Building CXX object tests/regression/CMakeFiles/test_vectors_as_args.dir/test_vectors_as_args.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_vectors_as_args.dir/test_vectors_as_args.cpp.o -MF CMakeFiles/test_vectors_as_args.dir/test_vectors_as_args.cpp.o.d -o CMakeFiles/test_vectors_as_args.dir/test_vectors_as_args.cpp.o -c /<>/tests/regression/test_vectors_as_args.cpp /<>/lib/llvmopencl/WorkitemLoops.cc: In member function ‘virtual bool pocl::WorkitemLoops::ProcessFunction(llvm::Function&)’: /<>/lib/llvmopencl/WorkitemLoops.cc:379:53: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 379 | unsigned workItemCount = WGLocalSizeX*WGLocalSizeY*WGLocalSizeZ; | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ /<>/lib/llvmopencl/WorkitemLoops.cc: In member function ‘llvm::Instruction* pocl::WorkitemLoops::GetContextArray(llvm::Instruction*, bool&)’: /<>/lib/llvmopencl/WorkitemLoops.cc:890:61: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘std::map::mapped_type’ {aka ‘unsigned int’} may change value [-Wconversion] 890 | tempInstructionIds[instruction] = tempInstructionIndex++; | ~~~~~~~~~~~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /<>/lib/llvmopencl/WorkitemLoops.cc:1113:23: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 1113 | sizeBits, alignBits, LocalVar->getType(), SubscriptArray); | ^~~~~~~~~ /<>/lib/llvmopencl/WorkitemLoops.cc:904:16: warning: unused variable ‘C’ [-Wunused-variable] 904 | LLVMContext &C = M->getContext(); | ^ In file included from /<>/lib/llvmopencl/WorkitemReplication.cc:39: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumOccurrencesFlag(llvm::cl::NumOccurrencesFlag)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:334:75: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 334 | void setNumOccurrencesFlag(enum NumOccurrencesFlag Val) { Occurrences = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setValueExpectedFlag(llvm::cl::ValueExpected)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:335:63: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 335 | void setValueExpectedFlag(enum ValueExpected Val) { Value = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setHiddenFlag(llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:336:60: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 336 | void setHiddenFlag(enum OptionHidden Val) { HiddenFlag = Val; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setFormattingFlag(llvm::cl::FormattingFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:337:65: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 337 | void setFormattingFlag(enum FormattingFlags V) { Formatting = V; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setMiscFlag(llvm::cl::MiscFlags)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:45: warning: conversion from ‘int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ~~~~~^~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:338:48: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:5’ may change value [-Wconversion] 338 | void setMiscFlag(enum MiscFlags M) { Misc |= M; } | ^ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setPosition(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:339:47: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 339 | void setPosition(unsigned pos) { Position = pos; } | ^~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In constructor ‘llvm::cl::Option::Option(llvm::cl::NumOccurrencesFlag, llvm::cl::OptionHidden)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:346:28: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:3’ may change value [-Wconversion] 346 | : NumOccurrences(0), Occurrences(OccurrencesFlag), Value(0), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:347:9: warning: conversion from ‘uint16_t’ {aka ‘short unsigned int’} to ‘unsigned char:2’ may change value [-Wconversion] 347 | HiddenFlag(Hidden), Formatting(NormalFormatting), Misc(0), | ^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/Support/CommandLine.h: In member function ‘void llvm::cl::Option::setNumAdditionalVals(unsigned int)’: /usr/lib/llvm-11/include/llvm/Support/CommandLine.h:352:67: warning: conversion from ‘unsigned int’ to ‘uint16_t’ {aka ‘short unsigned int’} may change value [-Wconversion] 352 | inline void setNumAdditionalVals(unsigned n) { AdditionalVals = n; } | ^ In file included from /<>/tests/regression/test_issue_445.cpp:9: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ [ 62%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/step.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/step.cl.bc -c /<>/lib/kernel/step.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:34, from /<>/lib/llvmopencl/WorkitemReplication.cc:40: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h: In member function ‘uint32_t llvm::AtomicMemIntrinsic::getElementSizeInBytes() const’: /usr/lib/llvm-11/include/llvm/IR/IntrinsicInst.h:536:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 536 | return getElementSizeInBytesCst()->getZExtValue(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/IRBuilder.h:37, from /<>/lib/llvmopencl/WorkitemReplication.cc:40: /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoUnsignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:48: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:80:69: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 80 | (SubclassOptionalData & ~NoUnsignedWrap) | (B * NoUnsignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::OverflowingBinaryOperator::setHasNoSignedWrap(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:46: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:84:65: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 84 | (SubclassOptionalData & ~NoSignedWrap) | (B * NoSignedWrap); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::PossiblyExactOperator::setIsExact(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:131:76: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 131 | SubclassOptionalData = (SubclassOptionalData & ~IsExact) | (B * IsExact); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReassoc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:263:59: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 263 | (SubclassOptionalData & ~FastMathFlags::AllowReassoc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 264 | (B * FastMathFlags::AllowReassoc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:264:37: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 264 | (B * FastMathFlags::AllowReassoc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoNaNs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:269:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 269 | (SubclassOptionalData & ~FastMathFlags::NoNaNs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 270 | (B * FastMathFlags::NoNaNs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:270:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 270 | (B * FastMathFlags::NoNaNs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoInfs(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:275:55: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 275 | (SubclassOptionalData & ~FastMathFlags::NoInfs) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 276 | (B * FastMathFlags::NoInfs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:276:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 276 | (B * FastMathFlags::NoInfs); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasNoSignedZeros(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:281:62: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 281 | (SubclassOptionalData & ~FastMathFlags::NoSignedZeros) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 282 | (B * FastMathFlags::NoSignedZeros); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:282:40: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 282 | (B * FastMathFlags::NoSignedZeros); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowReciprocal(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:287:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 287 | (SubclassOptionalData & ~FastMathFlags::AllowReciprocal) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 288 | (B * FastMathFlags::AllowReciprocal); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:288:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 288 | (B * FastMathFlags::AllowReciprocal); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasAllowContract(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:293:64: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 293 | (SubclassOptionalData & ~FastMathFlags::AllowContract) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 294 | (B * FastMathFlags::AllowContract); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:294:42: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 294 | (B * FastMathFlags::AllowContract); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setHasApproxFunc(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:299:61: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 299 | (SubclassOptionalData & ~FastMathFlags::ApproxFunc) | | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 300 | (B * FastMathFlags::ApproxFunc); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:300:39: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 300 | (B * FastMathFlags::ApproxFunc); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::setFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:26: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:306:33: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 306 | SubclassOptionalData |= FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::FPMathOperator::copyFastMathFlags(llvm::FastMathFlags)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ~~~~^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:312:32: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 312 | SubclassOptionalData = FMF.Flags; | ^~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘void llvm::GEPOperator::setIsInBounds(bool)’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:44: warning: conversion from ‘int’ to ‘unsigned char’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Operator.h:466:61: warning: conversion from ‘unsigned char’ to ‘unsigned char:7’ may change value [-Wconversion] 466 | (SubclassOptionalData & ~IsInBounds) | (B * IsInBounds); | ^ /usr/lib/llvm-11/include/llvm/IR/Operator.h: In member function ‘unsigned int llvm::GEPOperator::countNonConstantIndices() const’: /usr/lib/llvm-11/include/llvm/IR/Operator.h:543:20: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 543 | return count_if(make_range(idx_begin(), idx_end()), [](const Use& use) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 544 | return !isa(*use); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 545 | }); | ~~ [ 62%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sub_sat.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sub_sat.cl.bc -c /<>/lib/kernel/sub_sat.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /<>/tests/regression/test_flatten_barrier_subs.cpp:29: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /usr/lib/llvm-11/include/llvm/Analysis/DomTreeUpdater.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/BasicBlockUtils.h:21, from /<>/lib/llvmopencl/WorkitemReplication.cc:45: /usr/lib/llvm-11/include/llvm/IR/Dominators.h: In static member function ‘static unsigned int llvm::DenseMapInfo::getHashValue(const llvm::BasicBlockEdge&)’: /usr/lib/llvm-11/include/llvm/IR/Dominators.h:117:60: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 117 | BBInfo::getHashValue(Edge.getEnd())); | ^ [ 62%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/upsample.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/upsample.cl.bc -c /<>/lib/kernel/upsample.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:17, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/WorkitemReplication.cc:48: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h: In member function ‘unsigned int llvm::CallGraphSCC::size() const’: /usr/lib/llvm-11/include/llvm/Analysis/CallGraphSCCPass.h:100:44: warning: conversion from ‘std::vector::size_type’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 100 | unsigned size() const { return Nodes.size(); } | ~~~~~~~~~~^~ In file included from /usr/lib/llvm-11/include/llvm/Support/BlockFrequency.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/BlockFrequencyInfo.h:19, from /usr/lib/llvm-11/include/llvm/Analysis/OptimizationRemarkEmitter.h:18, from /usr/lib/llvm-11/include/llvm/Analysis/InlineCost.h:18, from /usr/lib/llvm-11/include/llvm/Transforms/Utils/Cloning.h:23, from /<>/lib/llvmopencl/LLVMUtils.h:36, from /<>/lib/llvmopencl/Workgroup.h:28, from /<>/lib/llvmopencl/WorkitemReplication.cc:48: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator*=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:110:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 110 | N = (static_cast(N) * RHS.N + D / 2) / D; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h: In member function ‘llvm::BranchProbability& llvm::BranchProbability::operator/=(llvm::BranchProbability)’: /usr/lib/llvm-11/include/llvm/Support/BranchProbability.h:124:52: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘uint32_t’ {aka ‘unsigned int’} may change value [-Wconversion] 124 | N = (static_cast(N) * D + RHS.N / 2) / RHS.N; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ [ 63%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vload.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vload.cl.bc -c /<>/lib/kernel/vload.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h [ 63%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vload_half.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vload_half.cl.bc -c /<>/lib/kernel/vload_half.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ In file included from /<>/tests/regression/test_vectors_as_args.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ /<>/lib/llvmopencl/WorkitemReplication.cc: In member function ‘virtual bool pocl::WorkitemReplication::ProcessFunction(llvm::Function&)’: /<>/lib/llvmopencl/WorkitemReplication.cc:125:57: warning: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value [-Wconversion] 125 | unsigned workitem_count = WGLocalSizeZ * WGLocalSizeY * WGLocalSizeX; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /<>/lib/llvmopencl/WorkitemReplication.cc:179:89: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 179 | ContextSize += F.getParent()->getDataLayout().getTypeAllocSize(i3->getType()); | ^ /<>/lib/llvmopencl/WorkitemReplication.cc:195:63: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion] 195 | (WGLocalSizeY * WGLocalSizeX * z + WGLocalSizeX * y + x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /<>/lib/llvmopencl/WorkitemReplication.cc:235:63: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion] 235 | (WGLocalSizeY * WGLocalSizeX * z + WGLocalSizeX * y + x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /<>/lib/llvmopencl/WorkitemReplication.cc:237:62: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 237 | for (unsigned i = 0, e = parallel_regions[index].size(); i != e; ++i) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /<>/lib/llvmopencl/WorkitemReplication.cc:261:29: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion] 261 | for (int z = WGLocalSizeZ - 1; z >= 0; --z) { | ~~~~~~~~~~~~~^~~ /<>/lib/llvmopencl/WorkitemReplication.cc:262:31: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion] 262 | for (int y = WGLocalSizeY - 1; y >= 0; --y) { | ~~~~~~~~~~~~~^~~ /<>/lib/llvmopencl/WorkitemReplication.cc:263:33: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion] 263 | for (int x = WGLocalSizeX - 1; x >= 0; --x) { | ~~~~~~~~~~~~~^~~ /<>/lib/llvmopencl/WorkitemReplication.cc:266:63: warning: conversion from ‘long unsigned int’ to ‘int’ may change value [-Wconversion] 266 | (WGLocalSizeY * WGLocalSizeX * z + WGLocalSizeX * y + x); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ /<>/lib/llvmopencl/WorkitemReplication.cc:271:62: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 271 | for (unsigned i = 0, e = parallel_regions[index].size(); i != e; ++i) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 63%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vload_store_half_f16c.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vload_store_half_f16c.c.bc -c /<>/lib/kernel/vload_store_half_f16c.c -I/<>/include -include /<>/include/_kernel_c.h [ 63%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vstore.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vstore.cl.bc -c /<>/lib/kernel/vstore.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:48, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘unsigned int llvm::SwitchInst::CaseHandleImpl::getSuccessorIndex() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3219:41: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3191:52: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3191 | return (unsigned)Index != DefaultPseudoIndex ? Index + 1 : 0; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = llvm::SwitchInst; ConstantIntT = llvm::ConstantInt; BasicBlockT = llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3377:66: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] 3172 | return reinterpret_cast(SI->getOperand(2 + Index * 2)); | ~~^~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/IR/Instructions.h: In instantiation of ‘ConstantIntT* llvm::SwitchInst::CaseHandleImpl::getCaseValue() const [with SwitchInstT = const llvm::SwitchInst; ConstantIntT = const llvm::ConstantInt; BasicBlockT = const llvm::BasicBlock]’: /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3385:31: required from here /usr/lib/llvm-11/include/llvm/IR/Instructions.h:3172:64: warning: conversion from ‘long int’ to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:17, from /usr/lib/llvm-11/include/llvm/IR/DebugInfo.h:23, from /usr/lib/llvm-11/include/llvm/IR/DIBuilder.h:24, from /<>/lib/llvmopencl/WorkitemLoops.cc:39: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = llvm::DINode::DIFlags; std::underlying_type_t = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:93:3: required from ‘std::underlying_type_t llvm::BitmaskEnumDetail::Underlying(E) [with E = llvm::DINode::DIFlags; std::underlying_type_t = unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:113:35: required from ‘E llvm::BitmaskEnumDetail::operator&(E, E) [with E = llvm::DINode::DIFlags; = void]’ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:666:26: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned int’} may change value [-Wconversion] 83 | return NextPowerOf2(static_cast>( | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 84 | E::LLVM_BITMASK_LARGEST_ENUMERATOR)) - | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ 85 | 1; | ~ [ 63%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vstore_half.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vstore_half.cl.bc -c /<>/lib/kernel/vstore_half.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h: In instantiation of ‘std::underlying_type_t llvm::BitmaskEnumDetail::Mask() [with E = llvm::DISubprogram::DISPFlags; std::underlying_type_t = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:93:3: required from ‘std::underlying_type_t llvm::BitmaskEnumDetail::Underlying(E) [with E = llvm::DISubprogram::DISPFlags; std::underlying_type_t = unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:113:35: required from ‘E llvm::BitmaskEnumDetail::operator&(E, E) [with E = llvm::DISubprogram::DISPFlags; = void]’ /usr/lib/llvm-11/include/llvm/IR/DebugInfoMetadata.h:1777:58: required from here /usr/lib/llvm-11/include/llvm/ADT/BitmaskEnum.h:84:51: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘std::underlying_type_t’ {aka ‘unsigned int’} may change value [-Wconversion] make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorBase::set_size(size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:352:19: required from ‘void llvm::SmallVectorTemplateBase::push_back(const T&) [with T = llvm::BasicBlock*]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:4019:30: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:82:12: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 82 | Size = N; | ^ [ 63%] Building CXX object tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/test_alignment_with_dynamic_wg.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/test_alignment_with_dynamic_wg.cpp.o -MF CMakeFiles/test_alignment_with_dynamic_wg.dir/test_alignment_with_dynamic_wg.cpp.o.d -o CMakeFiles/test_alignment_with_dynamic_wg.dir/test_alignment_with_dynamic_wg.cpp.o -c /<>/tests/regression/test_alignment_with_dynamic_wg.cpp In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = std::__cxx11::basic_string; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:255:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(T&&) [with T = std::__cxx11::basic_string; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/Error.h:994:21: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 64%] Linking CXX executable test_issue_445 cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_issue_445.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_issue_445.dir/test_issue_445.cpp.o -o test_issue_445 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::SMFixIt; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::SMFixIt; bool = false]’ /usr/lib/llvm-11/include/llvm/Support/SourceMgr.h:280:56: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:790:75: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CmpInst::Predicate]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:805:67: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/InstrTypes.h:1376:38: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:137:50: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] 180 | return C::unpack(StorageValue); | ^~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:146:70: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:210:66: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static llvm::bitfields_details::Impl::IntegerType llvm::bitfields_details::Impl::extract(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:256:59: required from ‘static typename Bitfield::Type llvm::Bitfield::get(StorageType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:804:42: required from ‘typename BitfieldElement::Type llvm::Instruction::getSubclassData() const [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:585:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:180:22: warning: conversion from ‘short unsigned int’ to ‘unsigned char’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:2826:58: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 64%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/wait_group_events.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/wait_group_events.cl.bc -c /<>/lib/kernel/wait_group_events.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ [ 64%] Built target test_issue_445 /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] [ 64%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/write_image.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/write_image.cl.bc -c /<>/lib/kernel/write_image.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::DeallocateSlabs(llvm::SmallVectorImpl::iterator, llvm::SmallVectorImpl::iterator) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; llvm::SmallVectorImpl::iterator = void**]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:99:5: required from ‘llvm::BumpPtrAllocatorImpl::~BumpPtrAllocatorImpl() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:351:40: warning: conversion from ‘std::iterator_traits::difference_type’ {aka ‘long int’} to ‘unsigned int’ may change value [-Wconversion] 351 | computeSlabSize(std::distance(Slabs.begin(), I)); | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::AssumptionCache::AffectedValueCallbackVH; ValueT = llvm::SmallVector; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:106:37: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::AssumptionCache::ResultElem; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:845:15: required from ‘llvm::SmallVectorImpl& llvm::SmallVectorImpl::operator=(llvm::SmallVectorImpl&&) [with T = llvm::AssumptionCache::ResultElem]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:928:36: required from ‘llvm::SmallVector::SmallVector(llvm::SmallVector&&) [with T = llvm::AssumptionCache::ResultElem; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:41:7: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::DenseMapInfo >; KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:836:5: required from ‘void llvm::DenseMap::shrink_and_clear() [with KeyT = llvm::AssumptionCacheTracker::FunctionCallbackVH; ValueT = std::unique_ptr; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair >]’ /usr/lib/llvm-11/include/llvm/Analysis/AssumptionCache.h:239:38: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:51, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/Support/Allocator.h: In instantiation of ‘void llvm::BumpPtrAllocatorImpl::StartNewSlab() [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128]’: /usr/lib/llvm-11/include/llvm/Support/Allocator.h:188:5: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, llvm::Align) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/Allocator.h:202:20: required from ‘void* llvm::BumpPtrAllocatorImpl::Allocate(size_t, size_t) [with AllocatorT = llvm::MallocAllocator; long unsigned int SlabSize = 4096; long unsigned int SizeThreshold = 4096; long unsigned int GrowthDelay = 128; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/Support/YAMLParser.h:137:26: required from here /usr/lib/llvm-11/include/llvm/Support/Allocator.h:333:58: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 333 | size_t AllocatedSlabSize = computeSlabSize(Slabs.size()); | ~~~~~~~~~~^~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/IR/ValueMap.h:104:9: required from ‘llvm::ValueMap::ValueMap(unsigned int) [with KeyT = const llvm::Value*; ValueT = llvm::WeakTrackingVH; Config = llvm::ValueMapConfig >]’ /<>/lib/llvmopencl/WorkitemLoops.cc:449:29: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] In file included from /usr/lib/llvm-11/include/llvm/IR/Instruction.h:18, from /usr/lib/llvm-11/include/llvm/IR/BasicBlock.h:22, from /usr/lib/llvm-11/include/llvm/IR/Function.h:27, from /usr/lib/llvm-11/include/llvm/IR/CFG.h:25, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:46, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:123:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:142:43: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:163:43: required from ‘void llvm::AllocaInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:148:64: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:226:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:288:43: required from ‘void llvm::LoadInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:236:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:502:43: required from ‘void llvm::FenceInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:476:35: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = unsigned int]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:572:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned char]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = bool]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:587:57: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:601:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:677:43: required from ‘void llvm::AtomicCmpXchgInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:613:42: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicRMWInst::BinOp]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:795:36: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:873:43: required from ‘void llvm::AtomicRMWInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::AtomicOrdering]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:828:41: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:173:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 173 | Packed |= StorageValue << Bitfield::Shift; | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h: In instantiation of ‘static void llvm::bitfields_details::Impl::update(StorageType&, llvm::bitfields_details::Impl::IntegerType) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; llvm::bitfields_details::Impl::IntegerType = unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:272:14: required from ‘static void llvm::Bitfield::set(StorageType&, typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; StorageType = short unsigned int; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instruction.h:814:35: required from ‘void llvm::Instruction::setSubclassData(typename BitfieldElement::Type) [with BitfieldElement = llvm::Bitfield::Element; typename BitfieldElement::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1658:43: required from ‘void llvm::CallInst::setSubclassData(typename Bitfield::Type) [with Bitfield = llvm::Bitfield::Element; typename Bitfield::Type = llvm::CallInst::TailCallKind]’ /usr/lib/llvm-11/include/llvm/IR/Instructions.h:1629:39: required from here /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:171:45: warning: conversion from ‘unsigned int’ to ‘short unsigned int’ may change value [-Wconversion] 171 | const StorageType StorageValue = C::pack(UserValue, Bitfield::UserMaxValue); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/Bitfields.h:172:12: warning: conversion from ‘int’ to ‘short unsigned int’ may change value [-Wconversion] 172 | Packed &= ~Mask; | ~~~~~~~^~~~~~~~ In file included from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, llvm::detail::DenseMapPair >; KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = const llvm::BasicBlock*; ValueT = llvm::Loop*; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:880:18: required from ‘llvm::LoopInfoBase::LoopInfoBase() [with BlockT = llvm::BasicBlock; LoopT = llvm::Loop]’ /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:1072:14: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 392 | return NextPowerOf2(NumEntries * 4 / 3 + 1); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap, std::default_delete > >, llvm::DenseMapInfo, llvm::detail::DenseMapPair, std::default_delete > > > >; KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::BasicBlock*; ValueT = std::unique_ptr, std::default_delete > >; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, std::default_delete > > >]’ /usr/lib/llvm-11/include/llvm/Support/GenericDomTree.h:260:23: required from ‘llvm::DominatorTreeBase::DominatorTreeBase() [with NodeT = llvm::BasicBlock; bool IsPostDom = false]’ /usr/lib/llvm-11/include/llvm/IR/Dominators.h:149:39: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘unsigned int llvm::DenseMapBase::getMinBucketToReserveForEntries(unsigned int) [with DerivedT = llvm::DenseMap > >, llvm::WeakTrackingVH, llvm::DenseMapInfo > > >, llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH> >; KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:793:62: required from ‘void llvm::DenseMap::init(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:730:52: required from ‘llvm::DenseMap::DenseMap(unsigned int) [with KeyT = llvm::ValueMapCallbackVH > >; ValueT = llvm::WeakTrackingVH; KeyInfoT = llvm::DenseMapInfo > > >; BucketT = llvm::detail::DenseMapPair > >, llvm::WeakTrackingVH>]’ /usr/lib/llvm-11/include/llvm/IR/ValueMap.h:104:9: required from ‘llvm::ValueMap::ValueMap(unsigned int) [with KeyT = const llvm::Value*; ValueT = llvm::WeakTrackingVH; Config = llvm::ValueMapConfig >]’ /<>/lib/llvmopencl/WorkitemReplication.cc:189:45: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:392:24: warning: conversion from ‘uint64_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemReplication.cc:38: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ [ 64%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pocl_fma.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pocl_fma.cl.bc -c /<>/lib/kernel/libclc-pocl/pocl_fma.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 64%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/acospi.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/acospi.cl.bc -c /<>/lib/kernel/libclc-pocl/acospi.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 64%] Linking CXX executable test_flatten_barrier_subs cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_flatten_barrier_subs.dir/link.txt --verbose=1 /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h: In instantiation of ‘void llvm::SmallDenseMap::setNumEntries(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’: /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:489:49: required from ‘void llvm::DenseMapBase::setNumEntries(unsigned int) [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:374:5: required from ‘void llvm::DenseMapBase::initEmpty() [with DerivedT = llvm::SmallDenseMap, long unsigned int>, 4>; KeyT = void*; ValueT = std::pair, long unsigned int>; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1035:27: required from ‘void llvm::SmallDenseMap::init(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:908:5: required from ‘llvm::SmallDenseMap::SmallDenseMap(unsigned int) [with KeyT = void*; ValueT = std::pair, long unsigned int>; unsigned int InlineBuckets = 4; KeyInfoT = llvm::DenseMapInfo; BucketT = llvm::detail::DenseMapPair, long unsigned int> >]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:291:66: required from here /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:1120:18: warning: conversion from ‘unsigned int’ to ‘unsigned int:31’ may change value [-Wconversion] 1120 | NumEntries = Num; | ^~~ /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_flatten_barrier_subs.dir/test_flatten_barrier_subs.cpp.o -o test_flatten_barrier_subs ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic In file included from /usr/lib/llvm-11/include/llvm/ADT/ArrayRef.h:14, from /usr/lib/llvm-11/include/llvm/ADT/DenseMapInfo.h:16, from /usr/lib/llvm-11/include/llvm/ADT/DenseMap.h:16, from /usr/lib/llvm-11/include/llvm/Analysis/LoopInfo.h:41, from /<>/lib/llvmopencl/WorkitemLoops.cc:37: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘llvm::SmallVectorBase::SmallVectorBase(void*, size_t) [with Size_T = unsigned int; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:116:67: required from ‘llvm::SmallVectorTemplateCommon >::SmallVectorTemplateCommon(size_t) [with T = llvm::Metadata*; = void; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:307:75: required from ‘llvm::SmallVectorTemplateBase::SmallVectorTemplateBase(size_t) [with T = llvm::Metadata*; size_t = long unsigned int]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:373:37: required from ‘llvm::SmallVectorImpl::SmallVectorImpl(unsigned int) [with T = llvm::Metadata*]’ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:902:53: required from ‘llvm::SmallVector::SmallVector(ItTy, ItTy) [with ItTy = const llvm::MDOperand*; = void; T = llvm::Metadata*; unsigned int N = 4]’ /usr/lib/llvm-11/include/llvm/IR/Metadata.h:1132:72: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:58:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 58 | : BeginX(FirstEl), Capacity(TotalCapacity) {} | ^~~~~~~~~~~~~ /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 64%] Built target test_flatten_barrier_subs make -f tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/build.make tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/build.make tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 64%] Building C object tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/test_assign_loop_variable_to_privvar_makes_it_local_2.c.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/test_assign_loop_variable_to_privvar_makes_it_local_2.c.o -MF CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/test_assign_loop_variable_to_privvar_makes_it_local_2.c.o.d -o CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/test_assign_loop_variable_to_privvar_makes_it_local_2.c.o -c /<>/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local_2.c /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h: In instantiation of ‘void llvm::SmallVectorTemplateBase >::grow(size_t) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false; size_t = long unsigned int]’: /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:248:13: required from ‘void llvm::SmallVectorTemplateBase >::push_back(const T&) [with T = llvm::DiagnosticInfoOptimizationBase::Argument; bool = false]’ /usr/include/c++/11/bits/stl_iterator.h:674:22: required from ‘std::back_insert_iterator<_Container>& std::back_insert_iterator<_Container>::operator=(const typename _Container::value_type&) [with _Container = llvm::SmallVector; typename _Container::value_type = llvm::DiagnosticInfoOptimizationBase::Argument]’ /usr/include/c++/11/bits/stl_algobase.h:385:18: required from ‘static _OI std::__copy_move::__copy_m(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:495:30: required from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:522:42: required from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:530:31: required from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/include/c++/11/bits/stl_algobase.h:620:7: required from ‘_OI std::copy(_II, _II, _OI) [with _II = const llvm::DiagnosticInfoOptimizationBase::Argument*; _OI = std::back_insert_iterator >]’ /usr/lib/llvm-11/include/llvm/IR/DiagnosticInfo.h:648:14: required from here /usr/lib/llvm-11/include/llvm/ADT/SmallVector.h:297:20: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 297 | this->Capacity = NewCapacity; | ^~~~~~~~~~~ [ 64%] Linking C executable test_assign_loop_variable_to_privvar_makes_it_local_2 cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/link.txt --verbose=1 make -f tests/regression/CMakeFiles/test_loop_phi_replication.dir/build.make tests/regression/CMakeFiles/test_loop_phi_replication.dir/depend /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/test_assign_loop_variable_to_privvar_makes_it_local_2.c.o -o test_assign_loop_variable_to_privvar_makes_it_local_2 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_loop_phi_replication.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_loop_phi_replication.dir/build.make tests/regression/CMakeFiles/test_loop_phi_replication.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 64%] Building CXX object tests/regression/CMakeFiles/test_loop_phi_replication.dir/test_loop_phi_replication.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_loop_phi_replication.dir/test_loop_phi_replication.cpp.o -MF CMakeFiles/test_loop_phi_replication.dir/test_loop_phi_replication.cpp.o.d -o CMakeFiles/test_loop_phi_replication.dir/test_loop_phi_replication.cpp.o -c /<>/tests/regression/test_loop_phi_replication.cpp make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 64%] Built target test_assign_loop_variable_to_privvar_makes_it_local_2 make -f tests/regression/CMakeFiles/test_setargs.dir/build.make tests/regression/CMakeFiles/test_setargs.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_setargs.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_setargs.dir/build.make tests/regression/CMakeFiles/test_setargs.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 65%] Building CXX object tests/regression/CMakeFiles/test_setargs.dir/test_setargs.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_setargs.dir/test_setargs.cpp.o -MF CMakeFiles/test_setargs.dir/test_setargs.cpp.o.d -o CMakeFiles/test_setargs.dir/test_setargs.cpp.o -c /<>/tests/regression/test_setargs.cpp In file included from /<>/tests/regression/test_alignment_with_dynamic_wg.cpp:4: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ [ 65%] Linking CXX executable test_vectors_as_args cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_vectors_as_args.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_vectors_as_args.dir/test_vectors_as_args.cpp.o -o test_vectors_as_args ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 66%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/asinpi.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/asinpi.cl.bc -c /<>/lib/kernel/libclc-pocl/asinpi.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 66%] Built target test_vectors_as_args [ 67%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atan2pi.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atan2pi.cl.bc -c /<>/lib/kernel/libclc-pocl/atan2pi.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 67%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atanpi.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atanpi.cl.bc -c /<>/lib/kernel/libclc-pocl/atanpi.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make -f tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/build.make tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/build.make tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 67%] Building C object tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/test_assign_loop_variable_to_privvar_makes_it_local.c.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/test_assign_loop_variable_to_privvar_makes_it_local.c.o -MF CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/test_assign_loop_variable_to_privvar_makes_it_local.c.o.d -o CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/test_assign_loop_variable_to_privvar_makes_it_local.c.o -c /<>/tests/regression/test_assign_loop_variable_to_privvar_makes_it_local.c [ 67%] Linking C executable test_assign_loop_variable_to_privvar_makes_it_local cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/test_assign_loop_variable_to_privvar_makes_it_local.c.o -o test_assign_loop_variable_to_privvar_makes_it_local ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make -f tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/build.make tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 67%] Built target test_assign_loop_variable_to_privvar_makes_it_local make -f tests/regression/CMakeFiles/test_undominated_variable.dir/build.make tests/regression/CMakeFiles/test_undominated_variable.dir/depend make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/build.make tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/build [ 67%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sinpi.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sinpi.cl.bc -c /<>/lib/kernel/libclc-pocl/sinpi.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_undominated_variable.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_undominated_variable.dir/build.make tests/regression/CMakeFiles/test_undominated_variable.dir/build [ 67%] Building CXX object tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/test_llvm_segfault_debian_bug_975931.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/test_llvm_segfault_debian_bug_975931.cpp.o -MF CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/test_llvm_segfault_debian_bug_975931.cpp.o.d -o CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/test_llvm_segfault_debian_bug_975931.cpp.o -c /<>/tests/regression/test_llvm_segfault_debian_bug_975931.cpp make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 67%] Building CXX object tests/regression/CMakeFiles/test_undominated_variable.dir/test_undominated_variable.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_undominated_variable.dir/test_undominated_variable.cpp.o -MF CMakeFiles/test_undominated_variable.dir/test_undominated_variable.cpp.o.d -o CMakeFiles/test_undominated_variable.dir/test_undominated_variable.cpp.o -c /<>/tests/regression/test_undominated_variable.cpp In file included from /<>/tests/regression/test_llvm_segfault_debian_bug_975931.cpp:30: /<>/obj-riscv64-linux-gnu/config.h:211: warning: "SRCDIR" redefined 211 | #define SRCDIR "/<>" | : note: this is the location of the previous definition In file included from /<>/tests/regression/test_loop_phi_replication.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ [ 67%] Linking CXX executable test_llvm_segfault_debian_bug_975931 cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/link.txt --verbose=1 make -f tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/build.make tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/depend /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/test_llvm_segfault_debian_bug_975931.cpp.o -o test_llvm_segfault_debian_bug_975931 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/build.make tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 67%] Building CXX object tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/test_barrier_between_for_loops.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/test_barrier_between_for_loops.cpp.o -MF CMakeFiles/test_barrier_between_for_loops.dir/test_barrier_between_for_loops.cpp.o.d -o CMakeFiles/test_barrier_between_for_loops.dir/test_barrier_between_for_loops.cpp.o -c /<>/tests/regression/test_barrier_between_for_loops.cpp make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 67%] Built target test_llvm_segfault_debian_bug_975931 make -f tests/regression/CMakeFiles/test_null_arg.dir/build.make tests/regression/CMakeFiles/test_null_arg.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_null_arg.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_null_arg.dir/build.make tests/regression/CMakeFiles/test_null_arg.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 67%] Building CXX object tests/regression/CMakeFiles/test_null_arg.dir/test_null_arg.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_null_arg.dir/test_null_arg.cpp.o -MF CMakeFiles/test_null_arg.dir/test_null_arg.cpp.o.d -o CMakeFiles/test_null_arg.dir/test_null_arg.cpp.o -c /<>/tests/regression/test_null_arg.cpp In file included from /<>/tests/regression/test_setargs.cpp:29: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ [ 67%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/cospi.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/cospi.cl.bc -c /<>/lib/kernel/libclc-pocl/cospi.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 67%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/tanpi.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/tanpi.cl.bc -c /<>/lib/kernel/libclc-pocl/tanpi.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc In file included from /<>/tests/regression/test_barrier_between_for_loops.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /<>/tests/regression/test_undominated_variable.cpp:29: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ In file included from /<>/tests/regression/test_null_arg.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ [ 67%] Linking CXX executable test_alignment_with_dynamic_wg cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_alignment_with_dynamic_wg.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_alignment_with_dynamic_wg.dir/test_alignment_with_dynamic_wg.cpp.o -o test_alignment_with_dynamic_wg ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 67%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/cos.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/cos.cl.bc -c /<>/lib/kernel/libclc-pocl/cos.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 67%] Built target test_alignment_with_dynamic_wg make -f tests/regression/CMakeFiles/test_id_dependent_computation.dir/build.make tests/regression/CMakeFiles/test_id_dependent_computation.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_id_dependent_computation.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_id_dependent_computation.dir/build.make tests/regression/CMakeFiles/test_id_dependent_computation.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 67%] Building CXX object tests/regression/CMakeFiles/test_id_dependent_computation.dir/test_id_dependent_computation.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_id_dependent_computation.dir/test_id_dependent_computation.cpp.o -MF CMakeFiles/test_id_dependent_computation.dir/test_id_dependent_computation.cpp.o.d -o CMakeFiles/test_id_dependent_computation.dir/test_id_dependent_computation.cpp.o -c /<>/tests/regression/test_id_dependent_computation.cpp make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 67%] Built target llvmpasses make -f tests/regression/CMakeFiles/test_issue_577.dir/build.make tests/regression/CMakeFiles/test_issue_577.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_577.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_issue_577.dir/build.make tests/regression/CMakeFiles/test_issue_577.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 67%] Building CXX object tests/regression/CMakeFiles/test_issue_577.dir/test_issue_577.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_issue_577.dir/test_issue_577.cpp.o -MF CMakeFiles/test_issue_577.dir/test_issue_577.cpp.o.d -o CMakeFiles/test_issue_577.dir/test_issue_577.cpp.o -c /<>/tests/regression/test_issue_577.cpp [ 67%] Linking CXX executable test_loop_phi_replication cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_loop_phi_replication.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_loop_phi_replication.dir/test_loop_phi_replication.cpp.o -o test_loop_phi_replication ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 67%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/cosh.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/cosh.cl.bc -c /<>/lib/kernel/libclc-pocl/cosh.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 67%] Built target test_loop_phi_replication make -f tests/regression/CMakeFiles/test_constant_array.dir/build.make tests/regression/CMakeFiles/test_constant_array.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_constant_array.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_constant_array.dir/build.make tests/regression/CMakeFiles/test_constant_array.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 67%] Building CXX object tests/regression/CMakeFiles/test_constant_array.dir/test_constant_array.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_constant_array.dir/test_constant_array.cpp.o -MF CMakeFiles/test_constant_array.dir/test_constant_array.cpp.o.d -o CMakeFiles/test_constant_array.dir/test_constant_array.cpp.o -c /<>/tests/regression/test_constant_array.cpp [ 67%] Linking CXX executable test_setargs cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_setargs.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_setargs.dir/test_setargs.cpp.o -o test_setargs ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 67%] Built target test_setargs make -f tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/build.make tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/build.make tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 67%] Building CXX object tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/test_fors_with_var_iteration_counts.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/test_fors_with_var_iteration_counts.cpp.o -MF CMakeFiles/test_fors_with_var_iteration_counts.dir/test_fors_with_var_iteration_counts.cpp.o.d -o CMakeFiles/test_fors_with_var_iteration_counts.dir/test_fors_with_var_iteration_counts.cpp.o -c /<>/tests/regression/test_fors_with_var_iteration_counts.cpp In file included from /<>/tests/regression/test_id_dependent_computation.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ [ 67%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sin.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sin.cl.bc -c /<>/lib/kernel/libclc-pocl/sin.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 67%] Linking CXX executable test_undominated_variable cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_undominated_variable.dir/link.txt --verbose=1 In file included from /<>/tests/regression/test_issue_577.cpp:9: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_undominated_variable.dir/test_undominated_variable.cpp.o -o test_undominated_variable ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 67%] Built target test_undominated_variable make -f tests/regression/CMakeFiles/test_issue_553.dir/build.make tests/regression/CMakeFiles/test_issue_553.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_553.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_issue_553.dir/build.make tests/regression/CMakeFiles/test_issue_553.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 67%] Building CXX object tests/regression/CMakeFiles/test_issue_553.dir/test_issue_553.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_issue_553.dir/test_issue_553.cpp.o -MF CMakeFiles/test_issue_553.dir/test_issue_553.cpp.o.d -o CMakeFiles/test_issue_553.dir/test_issue_553.cpp.o -c /<>/tests/regression/test_issue_553.cpp In file included from /<>/tests/regression/test_constant_array.cpp:29: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ [ 68%] Linking CXX executable test_null_arg cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_null_arg.dir/link.txt --verbose=1 [ 69%] Linking CXX executable test_barrier_between_for_loops cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_barrier_between_for_loops.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_null_arg.dir/test_null_arg.cpp.o -o test_null_arg ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_barrier_between_for_loops.dir/test_barrier_between_for_loops.cpp.o -o test_barrier_between_for_loops ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 69%] Built target test_barrier_between_for_loops make -f tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/build.make tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 69%] Built target test_null_arg make -f tests/runtime/CMakeFiles/test_version.dir/build.make tests/runtime/CMakeFiles/test_version.dir/depend make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/build.make tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_version.dir/DependInfo.cmake --color= [ 69%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sinh.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sinh.cl.bc -c /<>/lib/kernel/libclc-pocl/sinh.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_version.dir/build.make tests/runtime/CMakeFiles/test_version.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 69%] Building C object tests/runtime/CMakeFiles/test_version.dir/test_version.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_version.dir/test_version.c.o -MF CMakeFiles/test_version.dir/test_version.c.o.d -o CMakeFiles/test_version.dir/test_version.c.o -c /<>/tests/runtime/test_version.c [ 70%] Building CXX object tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/test_autolocals_in_constexprs.cpp.o cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/c++ -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/regression\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Wno-ignored-attributes -fvisibility=hidden -fvisibility-inlines-hidden -std=c++11 -Wno-deprecated -Wno-deprecated-declarations -std=gnu++11 -MD -MT tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/test_autolocals_in_constexprs.cpp.o -MF CMakeFiles/test_autolocals_in_constexprs.dir/test_autolocals_in_constexprs.cpp.o.d -o CMakeFiles/test_autolocals_in_constexprs.dir/test_autolocals_in_constexprs.cpp.o -c /<>/tests/regression/test_autolocals_in_constexprs.cpp [ 70%] Linking C executable test_version cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_version.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_version.dir/test_version.c.o -o test_version ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 70%] Built target test_version make -f tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/build.make tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/DependInfo.cmake --color= In file included from /<>/tests/regression/test_fors_with_var_iteration_counts.cpp:28: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/build.make tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 70%] Building C object tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/test_kernel_cache_includes.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/test_kernel_cache_includes.c.o -MF CMakeFiles/test_kernel_cache_includes.dir/test_kernel_cache_includes.c.o.d -o CMakeFiles/test_kernel_cache_includes.dir/test_kernel_cache_includes.c.o -c /<>/tests/runtime/test_kernel_cache_includes.c [ 70%] Linking C executable test_kernel_cache_includes cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_kernel_cache_includes.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_kernel_cache_includes.dir/test_kernel_cache_includes.c.o -o test_kernel_cache_includes ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 70%] Built target test_kernel_cache_includes make -f tests/runtime/CMakeFiles/test_clCreateKernel.dir/build.make tests/runtime/CMakeFiles/test_clCreateKernel.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clCreateKernel.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clCreateKernel.dir/build.make tests/runtime/CMakeFiles/test_clCreateKernel.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 70%] Building C object tests/runtime/CMakeFiles/test_clCreateKernel.dir/test_clCreateKernel.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clCreateKernel.dir/test_clCreateKernel.c.o -MF CMakeFiles/test_clCreateKernel.dir/test_clCreateKernel.c.o.d -o CMakeFiles/test_clCreateKernel.dir/test_clCreateKernel.c.o -c /<>/tests/runtime/test_clCreateKernel.c [ 71%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/tan.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/tan.cl.bc -c /<>/lib/kernel/libclc-pocl/tan.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc In file included from /<>/tests/regression/test_issue_553.cpp:7: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ [ 71%] Linking C executable test_clCreateKernel cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clCreateKernel.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clCreateKernel.dir/test_clCreateKernel.c.o -o test_clCreateKernel ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 71%] Built target test_clCreateKernel make -f tests/runtime/CMakeFiles/test_clBuildProgram.dir/build.make tests/runtime/CMakeFiles/test_clBuildProgram.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clBuildProgram.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clBuildProgram.dir/build.make tests/runtime/CMakeFiles/test_clBuildProgram.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 71%] Building C object tests/runtime/CMakeFiles/test_clBuildProgram.dir/test_clBuildProgram.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clBuildProgram.dir/test_clBuildProgram.c.o -MF CMakeFiles/test_clBuildProgram.dir/test_clBuildProgram.c.o.d -o CMakeFiles/test_clBuildProgram.dir/test_clBuildProgram.c.o -c /<>/tests/runtime/test_clBuildProgram.c [ 71%] Linking CXX executable test_issue_577 cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_issue_577.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_issue_577.dir/test_issue_577.cpp.o -o test_issue_577 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 71%] Linking CXX executable test_id_dependent_computation cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_id_dependent_computation.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_id_dependent_computation.dir/test_id_dependent_computation.cpp.o -o test_id_dependent_computation ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 71%] Built target test_issue_577 make -f tests/runtime/CMakeFiles/test_link_error.dir/build.make tests/runtime/CMakeFiles/test_link_error.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_link_error.dir/DependInfo.cmake --color= In file included from /<>/tests/regression/test_autolocals_in_constexprs.cpp:30: /usr/include/CL/cl2.hpp:18:151: note: ‘#pragma message: cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.’ 18 | #pragma message("cl2.hpp has been renamed to opencl.hpp to make it clear that it supports all versions of OpenCL. Please include opencl.hpp directly.") | ^ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_link_error.dir/build.make tests/runtime/CMakeFiles/test_link_error.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 72%] Building C object tests/runtime/CMakeFiles/test_link_error.dir/test_link_error.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_link_error.dir/test_link_error.c.o -MF CMakeFiles/test_link_error.dir/test_link_error.c.o.d -o CMakeFiles/test_link_error.dir/test_link_error.c.o -c /<>/tests/runtime/test_link_error.c [ 72%] Linking C executable test_clBuildProgram cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clBuildProgram.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clBuildProgram.dir/test_clBuildProgram.c.o -o test_clBuildProgram ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 72%] Built target test_id_dependent_computation make -f tests/runtime/CMakeFiles/test_clSetEventCallback.dir/build.make tests/runtime/CMakeFiles/test_clSetEventCallback.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clSetEventCallback.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 72%] Built target test_clBuildProgram make -f tests/runtime/CMakeFiles/test_buffer-image-copy.dir/build.make tests/runtime/CMakeFiles/test_buffer-image-copy.dir/depend make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clSetEventCallback.dir/build.make tests/runtime/CMakeFiles/test_clSetEventCallback.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_buffer-image-copy.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 72%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/tanh.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/tanh.cl.bc -c /<>/lib/kernel/libclc-pocl/tanh.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 72%] Building C object tests/runtime/CMakeFiles/test_clSetEventCallback.dir/test_clSetEventCallback.c.o make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_buffer-image-copy.dir/build.make tests/runtime/CMakeFiles/test_buffer-image-copy.dir/build cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clSetEventCallback.dir/test_clSetEventCallback.c.o -MF CMakeFiles/test_clSetEventCallback.dir/test_clSetEventCallback.c.o.d -o CMakeFiles/test_clSetEventCallback.dir/test_clSetEventCallback.c.o -c /<>/tests/runtime/test_clSetEventCallback.c make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 72%] Linking C executable test_link_error cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_link_error.dir/link.txt --verbose=1 [ 72%] Building C object tests/runtime/CMakeFiles/test_buffer-image-copy.dir/test_buffer-image-copy.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_buffer-image-copy.dir/test_buffer-image-copy.c.o -MF CMakeFiles/test_buffer-image-copy.dir/test_buffer-image-copy.c.o.d -o CMakeFiles/test_buffer-image-copy.dir/test_buffer-image-copy.c.o -c /<>/tests/runtime/test_buffer-image-copy.c /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_link_error.dir/test_link_error.c.o -o test_link_error ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 72%] Built target test_link_error make -f tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/build.make tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/build.make tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 72%] Building C object tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/test_read-copy-write-buffer.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/test_read-copy-write-buffer.c.o -MF CMakeFiles/test_read-copy-write-buffer.dir/test_read-copy-write-buffer.c.o.d -o CMakeFiles/test_read-copy-write-buffer.dir/test_read-copy-write-buffer.c.o -c /<>/tests/runtime/test_read-copy-write-buffer.c [ 72%] Linking C executable test_clSetEventCallback cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clSetEventCallback.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clSetEventCallback.dir/test_clSetEventCallback.c.o -o test_clSetEventCallback ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 72%] Built target test_clSetEventCallback make -f tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/build.make tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/DependInfo.cmake --color= [ 72%] Linking CXX executable test_constant_array cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_constant_array.dir/link.txt --verbose=1 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/build.make tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/build /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_constant_array.dir/test_constant_array.cpp.o -o test_constant_array ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 73%] Linking C executable test_buffer-image-copy [ 73%] Building C object tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/test_clGetSupportedImageFormats.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_buffer-image-copy.dir/link.txt --verbose=1 cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/test_clGetSupportedImageFormats.c.o -MF CMakeFiles/test_clGetSupportedImageFormats.dir/test_clGetSupportedImageFormats.c.o.d -o CMakeFiles/test_clGetSupportedImageFormats.dir/test_clGetSupportedImageFormats.c.o -c /<>/tests/runtime/test_clGetSupportedImageFormats.c /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_buffer-image-copy.dir/test_buffer-image-copy.c.o -o test_buffer-image-copy ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 73%] Linking C executable test_read-copy-write-buffer cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_read-copy-write-buffer.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_read-copy-write-buffer.dir/test_read-copy-write-buffer.c.o -o test_read-copy-write-buffer ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 73%] Built target test_buffer-image-copy make -f tests/runtime/CMakeFiles/test_user_event.dir/build.make tests/runtime/CMakeFiles/test_user_event.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_user_event.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_user_event.dir/build.make tests/runtime/CMakeFiles/test_user_event.dir/build [ 73%] Built target test_read-copy-write-buffer make -f tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/build.make tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/DependInfo.cmake --color= [ 73%] Built target test_constant_array make -f tests/runtime/CMakeFiles/test_clGetEventInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetEventInfo.dir/depend [ 73%] Building C object tests/runtime/CMakeFiles/test_user_event.dir/test_user_event.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_user_event.dir/test_user_event.c.o -MF CMakeFiles/test_user_event.dir/test_user_event.c.o.d -o CMakeFiles/test_user_event.dir/test_user_event.c.o -c /<>/tests/runtime/test_user_event.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/build.make tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clGetEventInfo.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 73%] Building C object tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/test_clCreateProgramWithBinary.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/test_clCreateProgramWithBinary.c.o -MF CMakeFiles/test_clCreateProgramWithBinary.dir/test_clCreateProgramWithBinary.c.o.d -o CMakeFiles/test_clCreateProgramWithBinary.dir/test_clCreateProgramWithBinary.c.o -c /<>/tests/runtime/test_clCreateProgramWithBinary.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clGetEventInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetEventInfo.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 74%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sincos.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sincos.cl.bc -c /<>/lib/kernel/libclc-pocl/sincos.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 74%] Building C object tests/runtime/CMakeFiles/test_clGetEventInfo.dir/test_clGetEventInfo.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clGetEventInfo.dir/test_clGetEventInfo.c.o -MF CMakeFiles/test_clGetEventInfo.dir/test_clGetEventInfo.c.o.d -o CMakeFiles/test_clGetEventInfo.dir/test_clGetEventInfo.c.o -c /<>/tests/runtime/test_clGetEventInfo.c [ 74%] Linking C executable test_clGetSupportedImageFormats cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clGetSupportedImageFormats.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clGetSupportedImageFormats.dir/test_clGetSupportedImageFormats.c.o -o test_clGetSupportedImageFormats ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 75%] Linking C executable test_user_event cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_user_event.dir/link.txt --verbose=1 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_user_event.dir/test_user_event.c.o -o test_user_event ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 75%] Built target test_clGetSupportedImageFormats make -f tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/build.make tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/build.make tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 75%] Linking C executable test_clCreateProgramWithBinary cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clCreateProgramWithBinary.dir/link.txt --verbose=1 [ 75%] Built target test_user_event make -f tests/runtime/CMakeFiles/test_clFinish.dir/build.make tests/runtime/CMakeFiles/test_clFinish.dir/depend [ 75%] Building C object tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/test_clEnqueueNativeKernel.c.o make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clFinish.dir/DependInfo.cmake --color= cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/test_clEnqueueNativeKernel.c.o -MF CMakeFiles/test_clEnqueueNativeKernel.dir/test_clEnqueueNativeKernel.c.o.d -o CMakeFiles/test_clEnqueueNativeKernel.dir/test_clEnqueueNativeKernel.c.o -c /<>/tests/runtime/test_clEnqueueNativeKernel.c /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clCreateProgramWithBinary.dir/test_clCreateProgramWithBinary.c.o -o test_clCreateProgramWithBinary ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clFinish.dir/build.make tests/runtime/CMakeFiles/test_clFinish.dir/build [ 75%] Linking C executable test_clGetEventInfo make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clGetEventInfo.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clGetEventInfo.dir/test_clGetEventInfo.c.o -o test_clGetEventInfo ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 75%] Building C object tests/runtime/CMakeFiles/test_clFinish.dir/test_clFinish.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clFinish.dir/test_clFinish.c.o -MF CMakeFiles/test_clFinish.dir/test_clFinish.c.o.d -o CMakeFiles/test_clFinish.dir/test_clFinish.c.o -c /<>/tests/runtime/test_clFinish.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 75%] Built target test_clCreateProgramWithBinary make -f tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 75%] Building C object tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/test_clGetKernelArgInfo.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/test_clGetKernelArgInfo.c.o -MF CMakeFiles/test_clGetKernelArgInfo.dir/test_clGetKernelArgInfo.c.o.d -o CMakeFiles/test_clGetKernelArgInfo.dir/test_clGetKernelArgInfo.c.o -c /<>/tests/runtime/test_clGetKernelArgInfo.c [ 75%] Built target test_clGetEventInfo make -f tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/build [ 75%] Linking C executable test_clEnqueueNativeKernel cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clEnqueueNativeKernel.dir/link.txt --verbose=1 make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clEnqueueNativeKernel.dir/test_clEnqueueNativeKernel.c.o -o test_clEnqueueNativeKernel ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 76%] Building C object tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/test_clGetDeviceInfo.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/test_clGetDeviceInfo.c.o -MF CMakeFiles/test_clGetDeviceInfo.dir/test_clGetDeviceInfo.c.o.d -o CMakeFiles/test_clGetDeviceInfo.dir/test_clGetDeviceInfo.c.o -c /<>/tests/runtime/test_clGetDeviceInfo.c [ 76%] Linking C executable test_clFinish cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clFinish.dir/link.txt --verbose=1 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clFinish.dir/test_clFinish.c.o -o test_clFinish ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 76%] Built target test_clEnqueueNativeKernel make -f tests/runtime/CMakeFiles/test_event_cycle.dir/build.make tests/runtime/CMakeFiles/test_event_cycle.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_event_cycle.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_event_cycle.dir/build.make tests/runtime/CMakeFiles/test_event_cycle.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 77%] Building C object tests/runtime/CMakeFiles/test_event_cycle.dir/test_event_cycle.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_event_cycle.dir/test_event_cycle.c.o -MF CMakeFiles/test_event_cycle.dir/test_event_cycle.c.o.d -o CMakeFiles/test_event_cycle.dir/test_event_cycle.c.o -c /<>/tests/runtime/test_event_cycle.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 77%] Built target test_clFinish make -f tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/build.make tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/build.make tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/build [ 77%] Linking CXX executable test_fors_with_var_iteration_counts cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_fors_with_var_iteration_counts.dir/link.txt --verbose=1 make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 77%] Linking C executable test_clGetKernelArgInfo cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clGetKernelArgInfo.dir/link.txt --verbose=1 /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_fors_with_var_iteration_counts.dir/test_fors_with_var_iteration_counts.cpp.o -o test_fors_with_var_iteration_counts ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clGetKernelArgInfo.dir/test_clGetKernelArgInfo.c.o -o test_clGetKernelArgInfo ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 77%] Building C object tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/test_clCreateSubDevices.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/test_clCreateSubDevices.c.o -MF CMakeFiles/test_clCreateSubDevices.dir/test_clCreateSubDevices.c.o.d -o CMakeFiles/test_clCreateSubDevices.dir/test_clCreateSubDevices.c.o -c /<>/tests/runtime/test_clCreateSubDevices.c [ 77%] Linking C executable test_clGetDeviceInfo cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clGetDeviceInfo.dir/link.txt --verbose=1 [ 77%] Linking CXX executable test_issue_553 cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_issue_553.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clGetDeviceInfo.dir/test_clGetDeviceInfo.c.o -o test_clGetDeviceInfo ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_issue_553.dir/test_issue_553.cpp.o -o test_issue_553 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 77%] Linking C executable test_event_cycle cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_event_cycle.dir/link.txt --verbose=1 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_event_cycle.dir/test_event_cycle.c.o -o test_event_cycle ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 77%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sincos_helpers.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sincos_helpers.cl.bc -c /<>/lib/kernel/libclc-pocl/sincos_helpers.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 77%] Built target test_clGetKernelArgInfo make -f tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/build.make tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/depend [ 77%] Built target test_clGetDeviceInfo make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/DependInfo.cmake --color= [ 77%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/acosh.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/acosh.cl.bc -c /<>/lib/kernel/libclc-pocl/acosh.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/build.make tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/build [ 77%] Built target test_event_cycle make -f tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/build.make tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 77%] Building C object tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/test_cl_pocl_content_size.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/test_cl_pocl_content_size.c.o -MF CMakeFiles/test_cl_pocl_content_size.dir/test_cl_pocl_content_size.c.o.d -o CMakeFiles/test_cl_pocl_content_size.dir/test_cl_pocl_content_size.c.o -c /<>/tests/runtime/test_cl_pocl_content_size.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/build.make tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/build [ 77%] Built target test_fors_with_var_iteration_counts make -f tests/runtime/CMakeFiles/test_event_free.dir/build.make tests/runtime/CMakeFiles/test_event_free.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 77%] Built target test_issue_553 make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_event_free.dir/DependInfo.cmake --color= [ 77%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/asinh.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/asinh.cl.bc -c /<>/lib/kernel/libclc-pocl/asinh.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_event_free.dir/build.make tests/runtime/CMakeFiles/test_event_free.dir/build [ 78%] Building C object tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/test_buffer_ping_pong.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/test_buffer_ping_pong.c.o -MF CMakeFiles/test_buffer_ping_pong.dir/test_buffer_ping_pong.c.o.d -o CMakeFiles/test_buffer_ping_pong.dir/test_buffer_ping_pong.c.o -c /<>/tests/runtime/test_buffer_ping_pong.c make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 78%] Building C object tests/runtime/CMakeFiles/test_event_free.dir/test_event_free.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_event_free.dir/test_event_free.c.o -MF CMakeFiles/test_event_free.dir/test_event_free.c.o.d -o CMakeFiles/test_event_free.dir/test_event_free.c.o -c /<>/tests/runtime/test_event_free.c [ 78%] Linking C executable test_buffer_ping_pong cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_buffer_ping_pong.dir/link.txt --verbose=1 [ 78%] Linking C executable test_cl_pocl_content_size cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_cl_pocl_content_size.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_buffer_ping_pong.dir/test_buffer_ping_pong.c.o -o test_buffer_ping_pong ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 79%] Linking C executable test_clCreateSubDevices cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clCreateSubDevices.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_cl_pocl_content_size.dir/test_cl_pocl_content_size.c.o -o test_cl_pocl_content_size ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clCreateSubDevices.dir/test_clCreateSubDevices.c.o -o test_clCreateSubDevices ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 79%] Built target test_buffer_ping_pong make -f tests/runtime/CMakeFiles/test_event_double_wait.dir/build.make tests/runtime/CMakeFiles/test_event_double_wait.dir/depend [ 80%] Linking C executable test_event_free cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_event_free.dir/link.txt --verbose=1 make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_event_double_wait.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_event_free.dir/test_event_free.c.o -o test_event_free ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_event_double_wait.dir/build.make tests/runtime/CMakeFiles/test_event_double_wait.dir/build [ 80%] Built target test_cl_pocl_content_size make -f tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/build.make tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/depend [ 80%] Built target test_clCreateSubDevices make -f tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/build.make tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/DependInfo.cmake --color= [ 80%] Building C object tests/runtime/CMakeFiles/test_event_double_wait.dir/test_event_double_wait.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_event_double_wait.dir/test_event_double_wait.c.o -MF CMakeFiles/test_event_double_wait.dir/test_event_double_wait.c.o.d -o CMakeFiles/test_event_double_wait.dir/test_event_double_wait.c.o -c /<>/tests/runtime/test_event_double_wait.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/build.make tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/build.make tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 80%] Building C object tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/test_clSetMemObjectDestructorCallback.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/test_clSetMemObjectDestructorCallback.c.o -MF CMakeFiles/test_clSetMemObjectDestructorCallback.dir/test_clSetMemObjectDestructorCallback.c.o.d -o CMakeFiles/test_clSetMemObjectDestructorCallback.dir/test_clSetMemObjectDestructorCallback.c.o -c /<>/tests/runtime/test_clSetMemObjectDestructorCallback.c [ 81%] Building C object tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/test_clCreateKernelsInProgram.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/test_clCreateKernelsInProgram.c.o -MF CMakeFiles/test_clCreateKernelsInProgram.dir/test_clCreateKernelsInProgram.c.o.d -o CMakeFiles/test_clCreateKernelsInProgram.dir/test_clCreateKernelsInProgram.c.o -c /<>/tests/runtime/test_clCreateKernelsInProgram.c [ 81%] Built target test_event_free make -f tests/runtime/CMakeFiles/test_buffer_migration.dir/build.make tests/runtime/CMakeFiles/test_buffer_migration.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_buffer_migration.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_buffer_migration.dir/build.make tests/runtime/CMakeFiles/test_buffer_migration.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 81%] Linking CXX executable test_autolocals_in_constexprs cd /<>/obj-riscv64-linux-gnu/tests/regression && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_autolocals_in_constexprs.dir/link.txt --verbose=1 [ 81%] Building C object tests/runtime/CMakeFiles/test_buffer_migration.dir/test_buffer_migration.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_buffer_migration.dir/test_buffer_migration.c.o -MF CMakeFiles/test_buffer_migration.dir/test_buffer_migration.c.o.d -o CMakeFiles/test_buffer_migration.dir/test_buffer_migration.c.o -c /<>/tests/runtime/test_buffer_migration.c /usr/bin/c++ -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_autolocals_in_constexprs.dir/test_autolocals_in_constexprs.cpp.o -o test_autolocals_in_constexprs ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 81%] Linking C executable test_event_double_wait cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_event_double_wait.dir/link.txt --verbose=1 [ 82%] Linking C executable test_clSetMemObjectDestructorCallback cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clSetMemObjectDestructorCallback.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_event_double_wait.dir/test_event_double_wait.c.o -o test_event_double_wait ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 82%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atanh.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atanh.cl.bc -c /<>/lib/kernel/libclc-pocl/atanh.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clSetMemObjectDestructorCallback.dir/test_clSetMemObjectDestructorCallback.c.o -o test_clSetMemObjectDestructorCallback ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 82%] Linking C executable test_clCreateKernelsInProgram cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_clCreateKernelsInProgram.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_clCreateKernelsInProgram.dir/test_clCreateKernelsInProgram.c.o -o test_clCreateKernelsInProgram ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 82%] Built target test_event_double_wait make -f tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/build.make tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/DependInfo.cmake --color= [ 82%] Built target test_clSetMemObjectDestructorCallback make -f tests/runtime/CMakeFiles/test_fill-buffer.dir/build.make tests/runtime/CMakeFiles/test_fill-buffer.dir/depend [ 82%] Built target test_autolocals_in_constexprs make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_fill-buffer.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/build.make tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 82%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/ep_log.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/ep_log.cl.bc -c /<>/lib/kernel/libclc-pocl/ep_log.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_fill-buffer.dir/build.make tests/runtime/CMakeFiles/test_fill-buffer.dir/build [ 82%] Built target test_clCreateKernelsInProgram make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make -f tests/workgroup/CMakeFiles/run_kernel.dir/build.make tests/workgroup/CMakeFiles/run_kernel.dir/depend [ 82%] Building C object tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/test_enqueue_kernel_from_binary.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/test_enqueue_kernel_from_binary.c.o -MF CMakeFiles/test_enqueue_kernel_from_binary.dir/test_enqueue_kernel_from_binary.c.o.d -o CMakeFiles/test_enqueue_kernel_from_binary.dir/test_enqueue_kernel_from_binary.c.o -c /<>/tests/runtime/test_enqueue_kernel_from_binary.c make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/workgroup /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/workgroup /<>/obj-riscv64-linux-gnu/tests/workgroup/CMakeFiles/run_kernel.dir/DependInfo.cmake --color= [ 82%] Building C object tests/runtime/CMakeFiles/test_fill-buffer.dir/test_fill-buffer.c.o cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/runtime/CMakeFiles/test_fill-buffer.dir/test_fill-buffer.c.o -MF CMakeFiles/test_fill-buffer.dir/test_fill-buffer.c.o.d -o CMakeFiles/test_fill-buffer.dir/test_fill-buffer.c.o -c /<>/tests/runtime/test_fill-buffer.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/workgroup/CMakeFiles/run_kernel.dir/build.make tests/workgroup/CMakeFiles/run_kernel.dir/build [ 82%] Linking C executable test_buffer_migration make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_buffer_migration.dir/link.txt --verbose=1 [ 83%] Building C object tests/workgroup/CMakeFiles/run_kernel.dir/run_kernel.c.o cd /<>/obj-riscv64-linux-gnu/tests/workgroup && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/tests/workgroup\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT tests/workgroup/CMakeFiles/run_kernel.dir/run_kernel.c.o -MF CMakeFiles/run_kernel.dir/run_kernel.c.o.d -o CMakeFiles/run_kernel.dir/run_kernel.c.o -c /<>/tests/workgroup/run_kernel.c [ 84%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/radians.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/radians.cl.bc -c /<>/lib/kernel/libclc-pocl/radians.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_buffer_migration.dir/test_buffer_migration.c.o -o test_buffer_migration ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 84%] Built target test_buffer_migration make -f examples/example0/CMakeFiles/example0.dir/build.make examples/example0/CMakeFiles/example0.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/example0 /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/example0 /<>/obj-riscv64-linux-gnu/examples/example0/CMakeFiles/example0.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/example0/CMakeFiles/example0.dir/build.make examples/example0/CMakeFiles/example0.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 84%] Linking C executable run_kernel cd /<>/obj-riscv64-linux-gnu/tests/workgroup && /usr/bin/cmake -E cmake_link_script CMakeFiles/run_kernel.dir/link.txt --verbose=1 [ 85%] Building C object examples/example0/CMakeFiles/example0.dir/example0.c.o [ 85%] Linking C executable test_fill-buffer cd /<>/obj-riscv64-linux-gnu/examples/example0 && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/example0/CMakeFiles/example0.dir/example0.c.o -MF CMakeFiles/example0.dir/example0.c.o.d -o CMakeFiles/example0.dir/example0.c.o -c /<>/examples/example0/example0.c cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_fill-buffer.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/run_kernel.dir/run_kernel.c.o -o run_kernel ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_fill-buffer.dir/test_fill-buffer.c.o -o test_fill-buffer ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 85%] Built target run_kernel make -f examples/example1/CMakeFiles/example1.dir/build.make examples/example1/CMakeFiles/example1.dir/depend [ 85%] Linking C executable test_enqueue_kernel_from_binary cd /<>/obj-riscv64-linux-gnu/tests/runtime && /usr/bin/cmake -E cmake_link_script CMakeFiles/test_enqueue_kernel_from_binary.dir/link.txt --verbose=1 make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/example1 /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/example1 /<>/obj-riscv64-linux-gnu/examples/example1/CMakeFiles/example1.dir/DependInfo.cmake --color= [ 85%] Built target test_fill-buffer make -f examples/example2/CMakeFiles/example2.dir/build.make examples/example2/CMakeFiles/example2.dir/depend /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/test_enqueue_kernel_from_binary.dir/test_enqueue_kernel_from_binary.c.o -o test_enqueue_kernel_from_binary ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/example2 /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/example2 /<>/obj-riscv64-linux-gnu/examples/example2/CMakeFiles/example2.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/example1/CMakeFiles/example1.dir/build.make examples/example1/CMakeFiles/example1.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/example2/CMakeFiles/example2.dir/build.make examples/example2/CMakeFiles/example2.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 85%] Building C object examples/example1/CMakeFiles/example1.dir/example1.c.o cd /<>/obj-riscv64-linux-gnu/examples/example1 && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/example1/CMakeFiles/example1.dir/example1.c.o -MF CMakeFiles/example1.dir/example1.c.o.d -o CMakeFiles/example1.dir/example1.c.o -c /<>/examples/example1/example1.c [ 85%] Building C object examples/example2/CMakeFiles/example2.dir/example2.c.o cd /<>/obj-riscv64-linux-gnu/examples/example2 && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/example2/CMakeFiles/example2.dir/example2.c.o -MF CMakeFiles/example2.dir/example2.c.o.d -o CMakeFiles/example2.dir/example2.c.o -c /<>/examples/example2/example2.c [ 85%] Building C object examples/example0/CMakeFiles/example0.dir/example0_exec.c.o cd /<>/obj-riscv64-linux-gnu/examples/example0 && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/example0/CMakeFiles/example0.dir/example0_exec.c.o -MF CMakeFiles/example0.dir/example0_exec.c.o.d -o CMakeFiles/example0.dir/example0_exec.c.o -c /<>/examples/example0/example0_exec.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 85%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/degrees.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/degrees.cl.bc -c /<>/lib/kernel/libclc-pocl/degrees.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 85%] Built target test_enqueue_kernel_from_binary make -f examples/example2a/CMakeFiles/example2a.dir/build.make examples/example2a/CMakeFiles/example2a.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/example2a /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/example2a /<>/obj-riscv64-linux-gnu/examples/example2a/CMakeFiles/example2a.dir/DependInfo.cmake --color= make -f examples/matrix1/CMakeFiles/matrix1.dir/build.make examples/matrix1/CMakeFiles/matrix1.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/matrix1 /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/matrix1 /<>/obj-riscv64-linux-gnu/examples/matrix1/CMakeFiles/matrix1.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/example2a/CMakeFiles/example2a.dir/build.make examples/example2a/CMakeFiles/example2a.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make -f examples/scalarwave/CMakeFiles/scalarwave.dir/build.make examples/scalarwave/CMakeFiles/scalarwave.dir/depend [ 85%] Building C object examples/example2a/CMakeFiles/example2a.dir/example2a.c.o make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/scalarwave /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/scalarwave /<>/obj-riscv64-linux-gnu/examples/scalarwave/CMakeFiles/scalarwave.dir/DependInfo.cmake --color= cd /<>/obj-riscv64-linux-gnu/examples/example2a && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/example2a/CMakeFiles/example2a.dir/example2a.c.o -MF CMakeFiles/example2a.dir/example2a.c.o.d -o CMakeFiles/example2a.dir/example2a.c.o -c /<>/examples/example2a/example2a.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/matrix1/CMakeFiles/matrix1.dir/build.make examples/matrix1/CMakeFiles/matrix1.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make -f examples/trig/CMakeFiles/trig.dir/build.make examples/trig/CMakeFiles/trig.dir/depend make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/scalarwave/CMakeFiles/scalarwave.dir/build.make examples/scalarwave/CMakeFiles/scalarwave.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/trig /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/trig /<>/obj-riscv64-linux-gnu/examples/trig/CMakeFiles/trig.dir/DependInfo.cmake --color= [ 85%] Building C object examples/matrix1/CMakeFiles/matrix1.dir/matrix1.c.o cd /<>/obj-riscv64-linux-gnu/examples/matrix1 && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -std=c99 -MD -MT examples/matrix1/CMakeFiles/matrix1.dir/matrix1.c.o -MF CMakeFiles/matrix1.dir/matrix1.c.o.d -o CMakeFiles/matrix1.dir/matrix1.c.o -c /<>/examples/matrix1/matrix1.c make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/trig/CMakeFiles/trig.dir/build.make examples/trig/CMakeFiles/trig.dir/build [ 85%] Building C object examples/scalarwave/CMakeFiles/scalarwave.dir/scalarwave.c.o cd /<>/obj-riscv64-linux-gnu/examples/scalarwave && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/examples/scalarwave\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -std=c99 -MD -MT examples/scalarwave/CMakeFiles/scalarwave.dir/scalarwave.c.o -MF CMakeFiles/scalarwave.dir/scalarwave.c.o.d -o CMakeFiles/scalarwave.dir/scalarwave.c.o -c /<>/examples/scalarwave/scalarwave.c make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 86%] Building C object examples/trig/CMakeFiles/trig.dir/trig.c.o cd /<>/obj-riscv64-linux-gnu/examples/trig && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/examples/trig\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/trig/CMakeFiles/trig.dir/trig.c.o -MF CMakeFiles/trig.dir/trig.c.o.d -o CMakeFiles/trig.dir/trig.c.o -c /<>/examples/trig/trig.c [ 86%] Linking C executable example2 cd /<>/obj-riscv64-linux-gnu/examples/example2 && /usr/bin/cmake -E cmake_link_script CMakeFiles/example2.dir/link.txt --verbose=1 [ 86%] Linking C executable example0 cd /<>/obj-riscv64-linux-gnu/examples/example0 && /usr/bin/cmake -E cmake_link_script CMakeFiles/example0.dir/link.txt --verbose=1 [ 86%] Building C object examples/example1/CMakeFiles/example1.dir/example1_exec.c.o cd /<>/obj-riscv64-linux-gnu/examples/example1 && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/example1/CMakeFiles/example1.dir/example1_exec.c.o -MF CMakeFiles/example1.dir/example1_exec.c.o.d -o CMakeFiles/example1.dir/example1_exec.c.o -c /<>/examples/example1/example1_exec.c /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/example2.dir/example2.c.o -o example2 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/example0.dir/example0.c.o CMakeFiles/example0.dir/example0_exec.c.o -o example0 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /<>/examples/scalarwave/scalarwave.c: In function ‘main’: /<>/examples/scalarwave/scalarwave.c:162:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 162 | fread(source, source_size, 1, source_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 86%] Linking C executable example2a cd /<>/obj-riscv64-linux-gnu/examples/example2a && /usr/bin/cmake -E cmake_link_script CMakeFiles/example2a.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/example2a.dir/example2a.c.o -o example2a ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic /<>/examples/trig/trig.c: In function ‘main’: /<>/examples/trig/trig.c:59:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 59 | fread (source, source_size, 1, source_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 86%] Built target example0 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 86%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/log2.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/log2.cl.bc -c /<>/lib/kernel/libclc-pocl/log2.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 86%] Built target example2 make -f examples/vecadd/CMakeFiles/vecadd.dir/build.make examples/vecadd/CMakeFiles/vecadd.dir/depend [ 86%] Built target example2a make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/vecadd /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/vecadd /<>/obj-riscv64-linux-gnu/examples/vecadd/CMakeFiles/vecadd.dir/DependInfo.cmake --color= [ 86%] Building C object examples/trig/CMakeFiles/trig.dir/trig_exec.c.o cd /<>/obj-riscv64-linux-gnu/examples/trig && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/examples/trig\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/trig/CMakeFiles/trig.dir/trig_exec.c.o -MF CMakeFiles/trig.dir/trig_exec.c.o.d -o CMakeFiles/trig.dir/trig_exec.c.o -c /<>/examples/trig/trig_exec.c [ 86%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/logb.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/logb.cl.bc -c /<>/lib/kernel/libclc-pocl/logb.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/vecadd/CMakeFiles/vecadd.dir/build.make examples/vecadd/CMakeFiles/vecadd.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 87%] Linking C executable example1 cd /<>/obj-riscv64-linux-gnu/examples/example1 && /usr/bin/cmake -E cmake_link_script CMakeFiles/example1.dir/link.txt --verbose=1 [ 87%] Building C object examples/vecadd/CMakeFiles/vecadd.dir/vecadd.c.o cd /<>/obj-riscv64-linux-gnu/examples/vecadd && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/vecadd/CMakeFiles/vecadd.dir/vecadd.c.o -MF CMakeFiles/vecadd.dir/vecadd.c.o.d -o CMakeFiles/vecadd.dir/vecadd.c.o -c /<>/examples/vecadd/vecadd.c /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/example1.dir/example1.c.o CMakeFiles/example1.dir/example1_exec.c.o -o example1 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 87%] Linking C executable scalarwave cd /<>/obj-riscv64-linux-gnu/examples/scalarwave && /usr/bin/cmake -E cmake_link_script CMakeFiles/scalarwave.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/scalarwave.dir/scalarwave.c.o -o scalarwave ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 87%] Built target example1 [ 87%] Building C object examples/vecadd/CMakeFiles/vecadd.dir/vecadd_exec.c.o cd /<>/obj-riscv64-linux-gnu/examples/vecadd && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/vecadd/CMakeFiles/vecadd.dir/vecadd_exec.c.o -MF CMakeFiles/vecadd.dir/vecadd_exec.c.o.d -o CMakeFiles/vecadd.dir/vecadd_exec.c.o -c /<>/examples/vecadd/vecadd_exec.c [ 87%] Linking C executable matrix1 cd /<>/obj-riscv64-linux-gnu/examples/matrix1 && /usr/bin/cmake -E cmake_link_script CMakeFiles/matrix1.dir/link.txt --verbose=1 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 87%] Linking C executable trig cd /<>/obj-riscv64-linux-gnu/examples/trig && /usr/bin/cmake -E cmake_link_script CMakeFiles/trig.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/matrix1.dir/matrix1.c.o -o matrix1 ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 87%] Built target scalarwave make -f examples/matadd/CMakeFiles/matadd.dir/build.make examples/matadd/CMakeFiles/matadd.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/matadd /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/matadd /<>/obj-riscv64-linux-gnu/examples/matadd/CMakeFiles/matadd.dir/DependInfo.cmake --color= make -f examples/boxadd/CMakeFiles/boxadd.dir/build.make examples/boxadd/CMakeFiles/boxadd.dir/depend [ 88%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pown.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pown.cl.bc -c /<>/lib/kernel/libclc-pocl/pown.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/boxadd /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/boxadd /<>/obj-riscv64-linux-gnu/examples/boxadd/CMakeFiles/boxadd.dir/DependInfo.cmake --color= /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/trig.dir/trig.c.o CMakeFiles/trig.dir/trig_exec.c.o -o trig ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/matadd/CMakeFiles/matadd.dir/build.make examples/matadd/CMakeFiles/matadd.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/boxadd/CMakeFiles/boxadd.dir/build.make examples/boxadd/CMakeFiles/boxadd.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 88%] Building C object examples/matadd/CMakeFiles/matadd.dir/matadd.c.o cd /<>/obj-riscv64-linux-gnu/examples/matadd && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/matadd/CMakeFiles/matadd.dir/matadd.c.o -MF CMakeFiles/matadd.dir/matadd.c.o.d -o CMakeFiles/matadd.dir/matadd.c.o -c /<>/examples/matadd/matadd.c [ 88%] Built target matrix1 [ 88%] Building C object examples/boxadd/CMakeFiles/boxadd.dir/boxadd.c.o cd /<>/obj-riscv64-linux-gnu/examples/boxadd && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/boxadd/CMakeFiles/boxadd.dir/boxadd.c.o -MF CMakeFiles/boxadd.dir/boxadd.c.o.d -o CMakeFiles/boxadd.dir/boxadd.c.o -c /<>/examples/boxadd/boxadd.c [ 88%] Building C object examples/boxadd/CMakeFiles/boxadd.dir/boxadd_exec.c.o cd /<>/obj-riscv64-linux-gnu/examples/boxadd && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/boxadd/CMakeFiles/boxadd.dir/boxadd_exec.c.o -MF CMakeFiles/boxadd.dir/boxadd_exec.c.o.d -o CMakeFiles/boxadd.dir/boxadd_exec.c.o -c /<>/examples/boxadd/boxadd_exec.c [ 89%] Linking C executable vecadd cd /<>/obj-riscv64-linux-gnu/examples/vecadd && /usr/bin/cmake -E cmake_link_script CMakeFiles/vecadd.dir/link.txt --verbose=1 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/vecadd.dir/vecadd.c.o CMakeFiles/vecadd.dir/vecadd_exec.c.o -o vecadd ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 89%] Built target trig [ 89%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/powr.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/powr.cl.bc -c /<>/lib/kernel/libclc-pocl/powr.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 89%] Building C object examples/matadd/CMakeFiles/matadd.dir/matadd_exec.c.o cd /<>/obj-riscv64-linux-gnu/examples/matadd && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT examples/matadd/CMakeFiles/matadd.dir/matadd_exec.c.o -MF CMakeFiles/matadd.dir/matadd_exec.c.o.d -o CMakeFiles/matadd.dir/matadd_exec.c.o -c /<>/examples/matadd/matadd_exec.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 89%] Built target vecadd make -f examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/build.make examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/EinsteinToolkit /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/EinsteinToolkit /<>/obj-riscv64-linux-gnu/examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/DependInfo.cmake --color= [ 89%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pow.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pow.cl.bc -c /<>/lib/kernel/libclc-pocl/pow.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 90%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/rootn.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/rootn.cl.bc -c /<>/lib/kernel/libclc-pocl/rootn.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/build.make examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 90%] Linking C executable boxadd cd /<>/obj-riscv64-linux-gnu/examples/boxadd && /usr/bin/cmake -E cmake_link_script CMakeFiles/boxadd.dir/link.txt --verbose=1 [ 90%] Building C object examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/EinsteinToolkit.c.o /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/boxadd.dir/boxadd.c.o CMakeFiles/boxadd.dir/boxadd_exec.c.o -o boxadd ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic cd /<>/obj-riscv64-linux-gnu/examples/EinsteinToolkit && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -DSRCDIR=\"/<>/examples/EinsteinToolkit\" -I/<>/include -I/<>/obj-riscv64-linux-gnu -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIE -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -std=c99 -MD -MT examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/EinsteinToolkit.c.o -MF CMakeFiles/EinsteinToolkit.dir/EinsteinToolkit.c.o.d -o CMakeFiles/EinsteinToolkit.dir/EinsteinToolkit.c.o -c /<>/examples/EinsteinToolkit/EinsteinToolkit.c make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 90%] Built target boxadd [ 90%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pow_helpers.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/pow_helpers.cl.bc -c /<>/lib/kernel/libclc-pocl/pow_helpers.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 91%] Linking C executable matadd cd /<>/obj-riscv64-linux-gnu/examples/matadd && /usr/bin/cmake -E cmake_link_script CMakeFiles/matadd.dir/link.txt --verbose=1 /<>/examples/EinsteinToolkit/EinsteinToolkit.c: In function ‘main’: /<>/examples/EinsteinToolkit/EinsteinToolkit.c:1434:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1434 | fread(source1, source1_size, 1, source1_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/examples/EinsteinToolkit/EinsteinToolkit.c:1444:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1444 | fread(source2, source2_size, 1, source2_file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/matadd.dir/matadd.c.o CMakeFiles/matadd.dir/matadd_exec.c.o -o matadd ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic [ 91%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fmod.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fmod.cl.bc -c /<>/lib/kernel/libclc-pocl/fmod.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 91%] Built target matadd [ 91%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/remainder.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/remainder.cl.bc -c /<>/lib/kernel/libclc-pocl/remainder.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 91%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/remquo.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/remquo.cl.bc -c /<>/lib/kernel/libclc-pocl/remquo.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 91%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/ocml_helpers.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/ocml_helpers.cl.bc -c /<>/lib/kernel/libclc-pocl/ocml_helpers.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 91%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isinf.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isinf.cl.bc -c /<>/lib/kernel/libclc-pocl/isinf.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 91%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isnan.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isnan.cl.bc -c /<>/lib/kernel/libclc-pocl/isnan.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 91%] Linking C executable EinsteinToolkit cd /<>/obj-riscv64-linux-gnu/examples/EinsteinToolkit && /usr/bin/cmake -E cmake_link_script CMakeFiles/EinsteinToolkit.dir/link.txt --verbose=1 /usr/bin/cc -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -pie -rdynamic CMakeFiles/EinsteinToolkit.dir/EinsteinToolkit.c.o -o EinsteinToolkit ../../lib/poclu/libpoclu.a -lOpenCL -lm -latomic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 91%] Built target EinsteinToolkit [ 91%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isfinite.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isfinite.cl.bc -c /<>/lib/kernel/libclc-pocl/isfinite.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 91%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isnormal.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/isnormal.cl.bc -c /<>/lib/kernel/libclc-pocl/isnormal.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vtables_fp32.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vtables_fp32.cl.bc -c /<>/lib/kernel/libclc/vtables_fp32.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vtables_fp64.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/vtables_fp64.cl.bc -c /<>/lib/kernel/libclc/vtables_fp64.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/normalize.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/normalize.cl.bc -c /<>/lib/kernel/libclc/normalize.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/length.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/length.cl.bc -c /<>/lib/kernel/libclc/length.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -I /<>/lib/kernel/libclc [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sleef_glue.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sleef_glue.cl.bc -c /<>/lib/kernel/sleef/libm/sleef_glue.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/scalars.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/scalars.cl.bc -c /<>/lib/kernel/sleef-pocl/scalars.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/acos.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/acos.cl.bc -c /<>/lib/kernel/sleef-pocl/acos.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/asin.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/asin.cl.bc -c /<>/lib/kernel/sleef-pocl/asin.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atan2.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atan2.cl.bc -c /<>/lib/kernel/sleef-pocl/atan2.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atan.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/atan.cl.bc -c /<>/lib/kernel/sleef-pocl/atan.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/cbrt.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/cbrt.cl.bc -c /<>/lib/kernel/sleef-pocl/cbrt.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/ceil.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/ceil.cl.bc -c /<>/lib/kernel/sleef-pocl/ceil.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/copysign.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/copysign.cl.bc -c /<>/lib/kernel/sleef-pocl/copysign.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 92%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/erfc.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/erfc.cl.bc -c /<>/lib/kernel/sleef-pocl/erfc.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 93%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/erf.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/erf.cl.bc -c /<>/lib/kernel/sleef-pocl/erf.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 93%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/exp10.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/exp10.cl.bc -c /<>/lib/kernel/sleef-pocl/exp10.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 93%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/exp2.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/exp2.cl.bc -c /<>/lib/kernel/sleef-pocl/exp2.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 93%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/exp.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/exp.cl.bc -c /<>/lib/kernel/sleef-pocl/exp.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 94%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/expm1.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/expm1.cl.bc -c /<>/lib/kernel/sleef-pocl/expm1.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 94%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fabs.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fabs.cl.bc -c /<>/lib/kernel/sleef-pocl/fabs.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 95%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fdim.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fdim.cl.bc -c /<>/lib/kernel/sleef-pocl/fdim.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 95%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/floor.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/floor.cl.bc -c /<>/lib/kernel/sleef-pocl/floor.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 95%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fma.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fma.cl.bc -c /<>/lib/kernel/sleef-pocl/fma.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 95%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fmax.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fmax.cl.bc -c /<>/lib/kernel/sleef-pocl/fmax.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 95%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fmin.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/fmin.cl.bc -c /<>/lib/kernel/sleef-pocl/fmin.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 95%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/expfrexp.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/expfrexp.cl.bc -c /<>/lib/kernel/sleef-pocl/expfrexp.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 95%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/frfrexp.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/frfrexp.cl.bc -c /<>/lib/kernel/sleef-pocl/frfrexp.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 95%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/frexp.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/frexp.cl.bc -c /<>/lib/kernel/sleef-pocl/frexp.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 95%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/hypot.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/hypot.cl.bc -c /<>/lib/kernel/sleef-pocl/hypot.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 95%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/ilogb.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/ilogb.cl.bc -c /<>/lib/kernel/sleef-pocl/ilogb.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 96%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/ldexp.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/ldexp.cl.bc -c /<>/lib/kernel/sleef-pocl/ldexp.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 96%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/lgamma.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/lgamma.cl.bc -c /<>/lib/kernel/sleef-pocl/lgamma.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 96%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/lgamma_r.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/lgamma_r.cl.bc -c /<>/lib/kernel/sleef-pocl/lgamma_r.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 97%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/log10.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/log10.cl.bc -c /<>/lib/kernel/sleef-pocl/log10.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 97%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/log1p.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/log1p.cl.bc -c /<>/lib/kernel/sleef-pocl/log1p.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 97%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/log.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/log.cl.bc -c /<>/lib/kernel/sleef-pocl/log.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 98%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/modf.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/modf.cl.bc -c /<>/lib/kernel/sleef-pocl/modf.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 98%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_cos.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_cos.cl.bc -c /<>/lib/kernel/sleef-pocl/native_cos.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 98%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_sin.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_sin.cl.bc -c /<>/lib/kernel/sleef-pocl/native_sin.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 98%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_tan.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/native_tan.cl.bc -c /<>/lib/kernel/sleef-pocl/native_tan.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 98%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/nextafter.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/nextafter.cl.bc -c /<>/lib/kernel/sleef-pocl/nextafter.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 98%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/rint.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/rint.cl.bc -c /<>/lib/kernel/sleef-pocl/rint.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 98%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/round.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/round.cl.bc -c /<>/lib/kernel/sleef-pocl/round.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 98%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sqrt.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sqrt.cl.bc -c /<>/lib/kernel/sleef-pocl/sqrt.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 98%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/tgamma.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/tgamma.cl.bc -c /<>/lib/kernel/sleef-pocl/tgamma.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 98%] Building CL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/trunc.cl.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -Wall -Wno-unused-local-typedef -Xclang -cl-std=CL1.2 -D__OPENCL_C_VERSION__=120 -xcl -fno-stack-protector -fPIC -Wno-psabi -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/trunc.cl.bc -c /<>/lib/kernel/sleef-pocl/trunc.cl -include /<>/include/_kernel.h -include /<>/include/_enable_all_exts.h -DMAX_PRECISION -I /<>/lib/kernel/sleef/include -include /<>/obj-riscv64-linux-gnu/sleef_config_temp_GENERIC.h [ 98%] Building LL to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/spir_wrapper64.ll.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/bin/llvm-as-11 -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/spir_wrapper64.ll.bc /<>/lib/kernel/host/../host/spir_wrapper64.ll [ 99%] Building C to LLVM bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mem_fence.c.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/lib/llvm-11/bin/clang-11 --target=riscv64-unknown-linux-gnu -D_CL_DISABLE_HALF -emit-llvm -ffp-contract=off -D__OPENCL_VERSION__=120 -DPOCL_DEVICE_ADDRESS_BITS=64 -Dcl_khr_int64 -Dcl_khr_global_int32_base_atomics -Dcl_khr_local_int32_base_atomics -Dcl_khr_3d_image_writes -Dcl_khr_fp64 -Xclang -cl-ext=-all,+cl_khr_global_int32_base_atomics,+cl_khr_local_int32_base_atomics,+cl_khr_3d_image_writes,+cl_khr_fp64, -O1 -xc -std=c11 -D__CBUILD__ -fno-math-errno -fno-stack-protector -fPIC -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/mem_fence.c.bc -c /<>/lib/kernel/mem_fence.c -I/<>/include -include /<>/include/_kernel_c.h [ 99%] Linking & optimizing SLEEF for GENERIC: /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sleef.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/bin/llvm-link-11 -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/sleef.bc /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleefsp.c.bc /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleefdp.c.bc /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/c_sleef_glue_auto.c.bc [ 99%] Linking & optimizing Kernel bitcode /<>/obj-riscv64-linux-gnu/lib/kernel/host/kernel-riscv64-unknown-linux-gnu-GENERIC.bc cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/bin/xargs /usr/bin/llvm-link-11 -o kernel-riscv64-unknown-linux-gnu-GENERIC-unoptimized.bc < /<>/obj-riscv64-linux-gnu/CMakeFiles/kernel_riscv64-unknown-linux-gnu-GENERIC_linklist.txt warning: Linking two modules of different data layouts: '/<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/addrspace_operators.ll.bc' is 'e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128' whereas 'llvm-link' is 'e-m:e-p:64:64-i64:64-i128:128-n64-S128' warning: Linking two modules of different target triples: /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/addrspace_operators.ll.bc' is 'x86_64-pc-linux-gnu' whereas 'llvm-link' is 'riscv64-unknown-linux-gnu' warning: Linking two modules of different data layouts: '/<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/barrier.ll.bc' is '' whereas 'llvm-link' is 'e-m:e-p:64:64-i64:64-i128:128-n64-S128' warning: Linking two modules of different data layouts: '/<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/spir_wrapper64.ll.bc' is 'e-i64:64-v16:16-v24:32-v32:32-v48:64-v96:128-v192:256-v256:256-v512:512-v1024:1024' whereas 'llvm-link' is 'e-m:e-p:64:64-i64:64-i128:128-n64-S128' warning: Linking two modules of different target triples: /<>/obj-riscv64-linux-gnu/lib/kernel/host/GENERIC/spir_wrapper64.ll.bc' is 'spir64-unknown-unknown' whereas 'llvm-link' is 'riscv64-unknown-linux-gnu' cd /<>/obj-riscv64-linux-gnu/lib/kernel/host && /usr/bin/opt-11 -relocation-model=pic -mtriple=riscv64-unknown-linux-gnu -O3 -fp-contract=off -o /<>/obj-riscv64-linux-gnu/lib/kernel/host/kernel-riscv64-unknown-linux-gnu-GENERIC.bc kernel-riscv64-unknown-linux-gnu-GENERIC-unoptimized.bc Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) 'x86-64' is not a recognized processor for this target (ignoring processor) '+fxsr' is not a recognized feature for this target (ignoring feature) '+mmx' is not a recognized feature for this target (ignoring feature) '+sse' is not a recognized feature for this target (ignoring feature) '+sse2' is not a recognized feature for this target (ignoring feature) '+x87' is not a recognized feature for this target (ignoring feature) 'x86-64' is not a recognized processor for this target (ignoring processor) 'x86-64' is not a recognized processor for this target (ignoring processor) '+fxsr' is not a recognized feature for this target (ignoring feature) '+mmx' is not a recognized feature for this target (ignoring feature) '+sse' is not a recognized feature for this target (ignoring feature) '+sse2' is not a recognized feature for this target (ignoring feature) '+x87' is not a recognized feature for this target (ignoring feature) 'x86-64' is not a recognized processor for this target (ignoring processor) Hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi) make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 99%] Built target kernel_host_GENERIC make -f lib/kernel/CMakeFiles/kernellib_hash.dir/build.make lib/kernel/CMakeFiles/kernellib_hash.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/kernel /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/kernel /<>/obj-riscv64-linux-gnu/lib/kernel/CMakeFiles/kernellib_hash.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/kernel/CMakeFiles/kernellib_hash.dir/build.make lib/kernel/CMakeFiles/kernellib_hash.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 99%] Generating SHA1 of all kernel libs... cd /<>/obj-riscv64-linux-gnu/lib/kernel && /usr/bin/cmake "-DKERNEL_BC_LIST_ESCAPED='/<>/obj-riscv64-linux-gnu/lib/kernel/host/kernel-riscv64-unknown-linux-gnu-GENERIC.bc'" "-DINCLUDEDIR='/<>/include'" "-DOUTPUT='/<>/obj-riscv64-linux-gnu/kernellib_hash.h'" -P /<>/cmake/kernellib_hash.cmake -- Renaming /<>/obj-riscv64-linux-gnu/kernellib_hash.h.new to /<>/obj-riscv64-linux-gnu/kernellib_hash.h make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 99%] Built target kernellib_hash make -f lib/CL/CMakeFiles/pocl_cache.dir/build.make lib/CL/CMakeFiles/pocl_cache.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL /<>/obj-riscv64-linux-gnu/lib/CL/CMakeFiles/pocl_cache.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/CMakeFiles/pocl_cache.dir/build.make lib/CL/CMakeFiles/pocl_cache.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 99%] Building C object lib/CL/CMakeFiles/pocl_cache.dir/pocl_cache.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/CMakeFiles/pocl_cache.dir/pocl_cache.c.o -MF CMakeFiles/pocl_cache.dir/pocl_cache.c.o.d -o CMakeFiles/pocl_cache.dir/pocl_cache.c.o -c /<>/lib/CL/pocl_cache.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/include/pocl_cache.h:27, from /<>/lib/CL/pocl_cache.c:38: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/pocl_cache.c: In function ‘pocl_cache_write_kernel_parallel_bc’: /<>/lib/CL/pocl_cache.c:339:67: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 339 | pocl_cache_kernel_cachedir_path (kernel_parallel_path, program, device_i, | ^~~~~~~~ make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 99%] Built target pocl_cache make -f lib/CL/CMakeFiles/pocl.dir/build.make lib/CL/CMakeFiles/pocl.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL /<>/obj-riscv64-linux-gnu/lib/CL/CMakeFiles/pocl.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/CMakeFiles/pocl.dir/build.make lib/CL/CMakeFiles/pocl.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 99%] Linking CXX shared library libpocl.so cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cmake -E cmake_link_script CMakeFiles/pocl.dir/link.txt --verbose=1 /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -flto -fno-fat-lto-objects -L/usr/lib/llvm-11/lib -Wl,-Bsymbolic -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libpocl.so.2 -o libpocl.so.2.8.0 CMakeFiles/libpocl_unlinked_objs.dir/clCreateContextFromType.c.o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseContext.c.o CMakeFiles/libpocl_unlinked_objs.dir/clRetainContext.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetContextInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueue.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateCommandQueueWithProperties.c.o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseCommandQueue.c.o CMakeFiles/libpocl_unlinked_objs.dir/clRetainCommandQueue.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetCommandQueueInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateBuffer.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubBuffer.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillImage.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueFillBuffer.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBuffer.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadBufferRect.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapBuffer.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueUnmapMemObject.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarkerWithWaitList.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrierWithWaitList.c.o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseMemObject.c.o CMakeFiles/libpocl_unlinked_objs.dir/clRetainMemObject.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetMemObjectInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clSetMemObjectDestructorCallback.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithSource.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBinary.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithIL.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateProgramWithBuiltInKernels.c.o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseProgram.c.o CMakeFiles/libpocl_unlinked_objs.dir/clRetainProgram.c.o CMakeFiles/libpocl_unlinked_objs.dir/clBuildProgram.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_build.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCompileProgram.c.o CMakeFiles/libpocl_unlinked_objs.dir/clLinkProgram.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernel.c.o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseKernel.c.o CMakeFiles/libpocl_unlinked_objs.dir/clRetainKernel.c.o CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArg.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNDRangeKernel.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueNativeKernel.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateKernelsInProgram.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelArgInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformIDs.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetPlatformInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceIDs.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetDeviceInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateContext.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramBuildInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBuffer.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteBufferRect.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBuffer.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferRect.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyBufferToImage.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImageToBuffer.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMigrateMemObjects.c.o CMakeFiles/libpocl_unlinked_objs.dir/clFinish.c.o CMakeFiles/libpocl_unlinked_objs.dir/clFlush.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueBarrier.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMarker.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetKernelWorkGroupInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetProgramInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetEventProfilingInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clWaitForEvents.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWaitForEvents.c.o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseEvent.c.o CMakeFiles/libpocl_unlinked_objs.dir/clRetainEvent.c.o CMakeFiles/libpocl_unlinked_objs.dir/clSetEventCallback.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetEventInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateUserEvent.c.o CMakeFiles/libpocl_unlinked_objs.dir/clSetUserEventStatus.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueTask.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage2D.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateImage3D.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueReadImage.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueWriteImage.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateSampler.c.o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseSampler.c.o CMakeFiles/libpocl_unlinked_objs.dir/clRetainSampler.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetSamplerInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueCopyImage.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueMapImage.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetImageInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture2D.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateFromGLTexture3D.c.o CMakeFiles/libpocl_unlinked_objs.dir/clUnloadCompiler.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetSupportedImageFormats.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddress.c.o CMakeFiles/libpocl_unlinked_objs.dir/clGetExtensionFunctionAddressForPlatform.c.o CMakeFiles/libpocl_unlinked_objs.dir/clIcdGetPlatformIDsKHR.c.o CMakeFiles/libpocl_unlinked_objs.dir/clReleaseDevice.c.o CMakeFiles/libpocl_unlinked_objs.dir/clRetainDevice.c.o CMakeFiles/libpocl_unlinked_objs.dir/clCreateSubDevices.c.o CMakeFiles/libpocl_unlinked_objs.dir/clUnloadPlatformCompiler.c.o CMakeFiles/libpocl_unlinked_objs.dir/clSetContentSizeBufferPoCL.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_util.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_image_util.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_img_buf_cpy.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_tracing.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_runtime_config.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_mem_management.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_hash.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_file_util.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_debug.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_timing.c.o CMakeFiles/libpocl_unlinked_objs.dir/clSVMAlloc.c.o CMakeFiles/libpocl_unlinked_objs.dir/clSVMFree.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMFree.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMap.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMUnmap.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemcpy.c.o CMakeFiles/libpocl_unlinked_objs.dir/clEnqueueSVMMemFill.c.o CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelArgSVMPointer.c.o CMakeFiles/libpocl_unlinked_objs.dir/clSetKernelExecInfo.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_binary.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_opengl.c.o CMakeFiles/libpocl_unlinked_objs.dir/pocl_cq_profiling.c.o CMakeFiles/pocl_cache.dir/pocl_cache.c.o devices/CMakeFiles/pocl-devices.dir/devices.c.o devices/CMakeFiles/pocl-devices.dir/bufalloc.c.o devices/CMakeFiles/pocl-devices.dir/common.c.o devices/CMakeFiles/pocl-devices.dir/pocl_local_size.c.o devices/CMakeFiles/pocl-devices.dir/common_driver.c.o devices/CMakeFiles/pocl-devices.dir/cpuinfo.c.o devices/CMakeFiles/pocl-devices.dir/signal_handlers.c.o devices/topology/CMakeFiles/pocl-devices-topology.dir/pocl_topology.c.o ../llvmopencl/CMakeFiles/llvmpasses.dir/AllocasToEntry.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/AutomaticLocals.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/BarrierTailReplication.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/BreakConstantGEPs.cpp.o ../llvmopencl/CMakeFiles/llvmpasses.dir/CanonicalizeBarriers.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/DebugHelpers.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/Flatten.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/FlattenGlobals.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/FlattenBarrierSubs.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/HandleSamplerInitialization.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/ImplicitConditionalBarriers.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/ImplicitLoopBarriers.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/InlineKernels.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/IsolateRegions.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/Kernel.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/linker.cpp.o ../llvmopencl/CMakeFiles/llvmpasses.dir/LLVMUtils.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/LoopBarriers.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/OptimizeWorkItemFuncCalls.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/PHIsToAllocas.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/ParallelRegion.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/RemoveBarrierCalls.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/RemoveOptnoneFromWIFunc.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/VariableUniformityAnalysis.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/WorkItemAliasAnalysis.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/Workgroup.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemHandler.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemHandlerChooser.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemLoops.cc.o ../llvmopencl/CMakeFiles/llvmpasses.dir/WorkitemReplication.cc.o CMakeFiles/lib_cl_llvm.dir/pocl_llvm_build.cc.o CMakeFiles/lib_cl_llvm.dir/pocl_llvm_metadata.cc.o CMakeFiles/lib_cl_llvm.dir/pocl_llvm_utils.cc.o CMakeFiles/lib_cl_llvm.dir/pocl_llvm_wg.cc.o -Wl,-rpath,/usr/lib/llvm-11/lib: -lhwloc /usr/lib/llvm-11/lib/libclang-cpp.so /usr/lib/llvm-11/lib/libLLVM-11.so -lrt -lm -ldl -latomic cd /<>/obj-riscv64-linux-gnu/lib/CL && /usr/bin/cmake -E cmake_symlink_library libpocl.so.2.8.0 libpocl.so.2 libpocl.so make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 99%] Built target pocl make -f lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build.make lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices/basic /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL/devices/basic /<>/obj-riscv64-linux-gnu/lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build.make lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 99%] Building C object lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/basic.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices/basic && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -Dpocl_devices_basic_EXPORTS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/basic.c.o -MF CMakeFiles/pocl-devices-basic.dir/basic.c.o.d -o CMakeFiles/pocl-devices-basic.dir/basic.c.o -c /<>/lib/CL/devices/basic/basic.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/basic/basic.h:39, from /<>/lib/CL/devices/basic/basic.c:25: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_build_hash’: /<>/lib/CL/devices/basic/basic.c:143:37: warning: unused parameter ‘device’ [-Wunused-parameter] 143 | pocl_basic_build_hash (cl_device_id device) | ~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_probe’: /<>/lib/CL/devices/basic/basic.c:165:10: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 165 | return env_count; | ^~~~~~~~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_init’: /<>/lib/CL/devices/basic/basic.c:169:27: warning: unused parameter ‘j’ [-Wunused-parameter] 169 | pocl_basic_init (unsigned j, cl_device_id device, const char* parameters) | ~~~~~~~~~^ /<>/lib/CL/devices/basic/basic.c:169:63: warning: unused parameter ‘parameters’ [-Wunused-parameter] 169 | pocl_basic_init (unsigned j, cl_device_id device, const char* parameters) | ~~~~~~~~~~~~^~~~~~~~~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_alloc_mem_obj’: /<>/lib/CL/devices/basic/basic.c:249:66: warning: unused parameter ‘host_ptr’ [-Wunused-parameter] 249 | pocl_basic_alloc_mem_obj (cl_device_id device, cl_mem mem, void* host_ptr) | ~~~~~~^~~~~~~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_run’: /<>/lib/CL/devices/basic/basic.c:394:32: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘uint’ {aka ‘unsigned int’} may change value [-Wconversion] 394 | pc->printf_buffer_capacity = cmd->device->printf_buffer_size; | ^~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_run_native’: /<>/lib/CL/devices/basic/basic.c:459:30: warning: unused parameter ‘data’ [-Wunused-parameter] 459 | pocl_basic_run_native (void *data, _cl_command_node *cmd) | ~~~~~~^~~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_uninit’: /<>/lib/CL/devices/basic/basic.c:480:29: warning: unused parameter ‘j’ [-Wunused-parameter] 480 | pocl_basic_uninit (unsigned j, cl_device_id device) | ~~~~~~~~~^ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_reinit’: /<>/lib/CL/devices/basic/basic.c:491:29: warning: unused parameter ‘j’ [-Wunused-parameter] 491 | pocl_basic_reinit (unsigned j, cl_device_id device) | ~~~~~~~~~^ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_submit’: /<>/lib/CL/devices/basic/basic.c:529:61: warning: unused parameter ‘cq’ [-Wunused-parameter] 529 | pocl_basic_submit (_cl_command_node *node, cl_command_queue cq) | ~~~~~~~~~~~~~~~~~^~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_flush’: /<>/lib/CL/devices/basic/basic.c:547:62: warning: unused parameter ‘cq’ [-Wunused-parameter] 547 | void pocl_basic_flush (cl_device_id device, cl_command_queue cq) | ~~~~~~~~~~~~~~~~~^~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_join’: /<>/lib/CL/devices/basic/basic.c:557:56: warning: unused parameter ‘cq’ [-Wunused-parameter] 557 | pocl_basic_join (cl_device_id device, cl_command_queue cq) | ~~~~~~~~~~~~~~~~~^~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_compile_kernel’: /<>/lib/CL/devices/basic/basic.c:599:61: warning: unused parameter ‘kernel’ [-Wunused-parameter] 599 | pocl_basic_compile_kernel (_cl_command_node *cmd, cl_kernel kernel, | ~~~~~~~~~~^~~~~~ /<>/lib/CL/devices/basic/basic.c:600:41: warning: unused parameter ‘device’ [-Wunused-parameter] 600 | cl_device_id device, int specialize) | ~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_fill_image’: /<>/lib/CL/devices/basic/basic.c:774:30: warning: unused parameter ‘data’ [-Wunused-parameter] 774 | pocl_basic_fill_image (void *data, cl_mem image, | ~~~~~~^~~~ /<>/lib/CL/devices/basic/basic.c:776:55: warning: unused parameter ‘orig_pixel’ [-Wunused-parameter] 776 | const size_t *region, cl_uint4 orig_pixel, | ~~~~~~~~~^~~~~~~~~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_svm_free’: /<>/lib/CL/devices/basic/basic.c:813:35: warning: unused parameter ‘dev’ [-Wunused-parameter] 813 | pocl_basic_svm_free (cl_device_id dev, void *svm_ptr) | ~~~~~~~~~~~~~^~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_svm_alloc’: /<>/lib/CL/devices/basic/basic.c:821:36: warning: unused parameter ‘dev’ [-Wunused-parameter] 821 | pocl_basic_svm_alloc (cl_device_id dev, cl_svm_mem_flags flags, size_t size) | ~~~~~~~~~~~~~^~~ /<>/lib/CL/devices/basic/basic.c:821:58: warning: unused parameter ‘flags’ [-Wunused-parameter] 821 | pocl_basic_svm_alloc (cl_device_id dev, cl_svm_mem_flags flags, size_t size) | ~~~~~~~~~~~~~~~~~^~~~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_svm_copy’: /<>/lib/CL/devices/basic/basic.c:828:35: warning: unused parameter ‘dev’ [-Wunused-parameter] 828 | pocl_basic_svm_copy (cl_device_id dev, void *__restrict__ dst, | ~~~~~~~~~~~~~^~~ /<>/lib/CL/devices/basic/basic.c: In function ‘pocl_basic_run’: /<>/lib/CL/devices/basic/basic.c:415:7: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 415 | write (STDOUT_FILENO, pc->printf_buffer, position); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 99%] Linking C shared library libpocl-devices-basic.so cd /<>/obj-riscv64-linux-gnu/lib/CL/devices/basic && /usr/bin/cmake -E cmake_link_script CMakeFiles/pocl-devices-basic.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-flto -Wl,-z,relro -Wl,-z,now -Wl,-z,ibtplt -Wl,-z,ibt -Wl,-z,shstk -Wl,-z,notext -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libpocl-devices-basic.so -o libpocl-devices-basic.so CMakeFiles/pocl-devices-basic.dir/basic.c.o -Wl,-rpath,/<>/obj-riscv64-linux-gnu/lib/CL: ../../libpocl.so.2.8.0 -latomic /usr/bin/ld: warning: -z ibtplt ignored /usr/bin/ld: warning: -z ibt ignored /usr/bin/ld: warning: -z shstk ignored make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 99%] Built target pocl-devices-basic make -f lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/build.make lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices/pthread /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL/devices/pthread /<>/obj-riscv64-linux-gnu/lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/build.make lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' [ 99%] Building C object lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/pthread_utils.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices/pthread && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -Dpocl_devices_pthread_EXPORTS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/pthread_utils.c.o -MF CMakeFiles/pocl-devices-pthread.dir/pthread_utils.c.o.d -o CMakeFiles/pocl-devices-pthread.dir/pthread_utils.c.o -c /<>/lib/CL/devices/pthread/pthread_utils.c [ 99%] Building C object lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/pthread_scheduler.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices/pthread && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -Dpocl_devices_pthread_EXPORTS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/pthread_scheduler.c.o -MF CMakeFiles/pocl-devices-pthread.dir/pthread_scheduler.c.o.d -o CMakeFiles/pocl-devices-pthread.dir/pthread_scheduler.c.o -c /<>/lib/CL/devices/pthread/pthread_scheduler.c [ 99%] Building C object lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/pthread.c.o cd /<>/obj-riscv64-linux-gnu/lib/CL/devices/pthread && /usr/bin/cc -DCL_TARGET_OPENCL_VERSION=300 -DCL_USE_DEPRECATED_OPENCL_1_0_APIS -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -DCL_USE_DEPRECATED_OPENCL_1_2_APIS -DCL_USE_DEPRECATED_OPENCL_2_0_APIS -DCL_USE_DEPRECATED_OPENCL_2_1_APIS -D_FORTIFY_SOURCE=2 -D_GLIBCXX_ASSERTIONS -Dpocl_devices_pthread_EXPORTS -I/<>/include -I/<>/obj-riscv64-linux-gnu -I/<>/lib/CL/devices -I/<>/lib/CL/. -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -fPIC -Wall -Wextra -Wconversion -Wformat -Wformat-security -Werror=format-security -fno-strict-aliasing -fno-common -fstack-clash-protection -lvi-load-hardening -lvi-cfi -fstack-protector -fstack-protector-strong -Werror=implicit-function-declaration -Wincompatible-pointer-types -Wno-ignored-attributes -fvisibility=hidden -MD -MT lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/pthread.c.o -MF CMakeFiles/pocl-devices-pthread.dir/pthread.c.o.d -o CMakeFiles/pocl-devices-pthread.dir/pthread.c.o -c /<>/lib/CL/devices/pthread/pthread.c In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/pthread/pocl-pthread_utils.h:28, from /<>/lib/CL/devices/pthread/pthread_utils.c:26: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/pthread/pocl-pthread_scheduler.h:25, from /<>/lib/CL/devices/pthread/pthread_scheduler.c:35: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/devices/pthread/pthread_scheduler.c: In function ‘pthread_scheduler_init’: /<>/lib/CL/devices/pthread/pthread_scheduler.c:99:27: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 99 | scheduler.num_threads = num_worker_threads; | ^~~~~~~~~~~~~~~~~~ /<>/lib/CL/devices/pthread/pthread_scheduler.c:101:31: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 101 | scheduler.printf_buf_size = device->printf_buffer_size; | ^~~~~~ /<>/lib/CL/devices/pthread/pthread_scheduler.c: In function ‘get_wg_index_range’: /<>/lib/CL/devices/pthread/pthread_scheduler.c:214:35: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 214 | const unsigned wgs_per_thread = (1 + (k->remaining_wgs - 1) / num_threads); | ^ In file included from /<>/lib/CL/devices/pthread/pocl-pthread_scheduler.h:25, from /<>/lib/CL/devices/pthread/pthread_scheduler.c:35: /<>/lib/CL/./pocl_cl.h:1493:18: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 1493 | #define min(a,b) (((a) < (b)) ? (a) : (b)) | ^ /<>/lib/CL/devices/pthread/pthread_scheduler.c:216:13: note: in expansion of macro ‘min’ 216 | max_wgs = min (max_wgs, k->remaining_wgs); | ^~~ /<>/lib/CL/devices/pthread/pthread_scheduler.c:219:18: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 219 | *start_index = k->wgs_dealt; | ^ /<>/lib/CL/devices/pthread/pthread_scheduler.c:220:16: warning: conversion from ‘size_t’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 220 | *end_index = k->wgs_dealt + max_wgs-1; | ^ /<>/lib/CL/devices/pthread/pthread_scheduler.c: In function ‘translate_wg_index_to_3d_index’: /<>/lib/CL/devices/pthread/pthread_scheduler.c:230:72: warning: unused parameter ‘k’ [-Wunused-parameter] 230 | inline static void translate_wg_index_to_3d_index (kernel_run_command *k, | ~~~~~~~~~~~~~~~~~~~~^ /<>/lib/CL/devices/pthread/pthread_scheduler.c: In function ‘work_group_scheduler’: /<>/lib/CL/devices/pthread/pthread_scheduler.c:284:25: warning: conversion from ‘ulong’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 284 | unsigned slice_size = k->pc.num_groups[0] * k->pc.num_groups[1]; | ^ /<>/lib/CL/devices/pthread/pthread_scheduler.c:285:23: warning: conversion from ‘ulong’ {aka ‘long unsigned int’} to ‘unsigned int’ may change value [-Wconversion] 285 | unsigned row_size = k->pc.num_groups[0]; | ^ /<>/lib/CL/devices/pthread/pthread_scheduler.c: In function ‘finalize_kernel_command’: /<>/lib/CL/devices/pthread/pthread_scheduler.c:326:51: warning: unused parameter ‘thread_data’ [-Wunused-parameter] 326 | finalize_kernel_command (struct pool_thread_data *thread_data, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ In file included from /usr/include/ocl_icd.h:46, from /<>/lib/CL/./pocl_icd.h:26, from /<>/lib/CL/./pocl_cl.h:56, from /<>/lib/CL/devices/pthread/pocl-pthread.h:27, from /<>/lib/CL/devices/pthread/pthread.c:43: /usr/include/CL/cl_gl_ext.h:18:9: note: ‘#pragma message: All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.’ 18 | #pragma message("All OpenGL-related extensions have been moved into cl_gl.h. Please include cl_gl.h directly.") | ^~~~~~~ /<>/lib/CL/devices/pthread/pthread_utils.c: In function ‘align_ptr’: /<>/lib/CL/devices/pthread/pthread_utils.c:94:13: warning: unsigned conversion from ‘int’ to ‘uintptr_t’ {aka ‘long unsigned int’} changes value from ‘-128’ to ‘18446744073709551488’ [-Wsign-conversion] 94 | r = r & (~(MAX_EXTENDED_ALIGNMENT - 1)); | ^ /<>/lib/CL/devices/pthread/pthread_scheduler.c: In function ‘work_group_scheduler’: /<>/lib/CL/devices/pthread/pthread_scheduler.c:316:7: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 316 | write (STDOUT_FILENO, pc.printf_buffer, position); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_build_hash’: /<>/lib/CL/devices/pthread/pthread.c:101:39: warning: unused parameter ‘device’ [-Wunused-parameter] 101 | pocl_pthread_build_hash (cl_device_id device) | ~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_probe’: /<>/lib/CL/devices/pthread/pthread.c:122:10: warning: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Wsign-conversion] 122 | return env_count; | ^~~~~~~~~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_init’: /<>/lib/CL/devices/pthread/pthread.c:184:18: warning: conversion to ‘int’ from ‘cl_uint’ {aka ‘unsigned int’} may change the sign of the result [-Wsign-conversion] 184 | int fallback = (device->max_compute_units == 0) ? FALLBACK_MAX_THREAD_COUNT | ^ /<>/lib/CL/devices/pthread/pthread.c:200:7: warning: conversion to ‘cl_uint’ {aka ‘unsigned int’} from ‘int’ may change the sign of the result [-Wsign-conversion] 200 | magic[0] | magic[1] << 8 | magic[2] << 16 | magic[3] << 24; | ^~~~~ /<>/lib/CL/devices/pthread/pthread.c:133:65: warning: unused parameter ‘parameters’ [-Wunused-parameter] 133 | pocl_pthread_init (unsigned j, cl_device_id device, const char* parameters) | ~~~~~~~~~~~~^~~~~~~~~~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_uninit’: /<>/lib/CL/devices/pthread/pthread.c:222:31: warning: unused parameter ‘j’ [-Wunused-parameter] 222 | pocl_pthread_uninit (unsigned j, cl_device_id device) | ~~~~~~~~~^ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_reinit’: /<>/lib/CL/devices/pthread/pthread.c:238:31: warning: unused parameter ‘j’ [-Wunused-parameter] 238 | pocl_pthread_reinit (unsigned j, cl_device_id device) | ~~~~~~~~~^ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_run’: /<>/lib/CL/devices/pthread/pthread.c:259:25: warning: unused parameter ‘data’ [-Wunused-parameter] 259 | pocl_pthread_run (void *data, _cl_command_node *cmd) | ~~~~~~^~~~ /<>/lib/CL/devices/pthread/pthread.c:259:49: warning: unused parameter ‘cmd’ [-Wunused-parameter] 259 | pocl_pthread_run (void *data, _cl_command_node *cmd) | ~~~~~~~~~~~~~~~~~~^~~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_submit’: /<>/lib/CL/devices/pthread/pthread.c:265:63: warning: unused parameter ‘cq’ [-Wunused-parameter] 265 | pocl_pthread_submit (_cl_command_node *node, cl_command_queue cq) | ~~~~~~~~~~~~~~~~~^~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_flush’: /<>/lib/CL/devices/pthread/pthread.c:278:33: warning: unused parameter ‘device’ [-Wunused-parameter] 278 | pocl_pthread_flush(cl_device_id device, cl_command_queue cq) | ~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/devices/pthread/pthread.c:278:58: warning: unused parameter ‘cq’ [-Wunused-parameter] 278 | pocl_pthread_flush(cl_device_id device, cl_command_queue cq) | ~~~~~~~~~~~~~~~~~^~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_join’: /<>/lib/CL/devices/pthread/pthread.c:284:32: warning: unused parameter ‘device’ [-Wunused-parameter] 284 | pocl_pthread_join(cl_device_id device, cl_command_queue cq) | ~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_notify’: /<>/lib/CL/devices/pthread/pthread.c:305:35: warning: unused parameter ‘device’ [-Wunused-parameter] 305 | pocl_pthread_notify (cl_device_id device, cl_event event, cl_event finished) | ~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_update_event’: /<>/lib/CL/devices/pthread/pthread.c:350:41: warning: unused parameter ‘device’ [-Wunused-parameter] 350 | pocl_pthread_update_event (cl_device_id device, cl_event event) | ~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_wait_event’: /<>/lib/CL/devices/pthread/pthread.c:363:44: warning: unused parameter ‘device’ [-Wunused-parameter] 363 | void pocl_pthread_wait_event (cl_device_id device, cl_event event) | ~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_init_queue’: /<>/lib/CL/devices/pthread/pthread.c:384:39: warning: unused parameter ‘device’ [-Wunused-parameter] 384 | pocl_pthread_init_queue (cl_device_id device, cl_command_queue queue) | ~~~~~~~~~~~~~^~~~~~ /<>/lib/CL/devices/pthread/pthread.c: In function ‘pocl_pthread_free_queue’: /<>/lib/CL/devices/pthread/pthread.c:395:39: warning: unused parameter ‘device’ [-Wunused-parameter] 395 | pocl_pthread_free_queue (cl_device_id device, cl_command_queue queue) | ~~~~~~~~~~~~~^~~~~~ [100%] Linking C shared library libpocl-devices-pthread.so cd /<>/obj-riscv64-linux-gnu/lib/CL/devices/pthread && /usr/bin/cmake -E cmake_link_script CMakeFiles/pocl-devices-pthread.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-flto -Wl,-z,relro -Wl,-z,now -Wl,-z,ibtplt -Wl,-z,ibt -Wl,-z,shstk -Wl,-z,notext -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libpocl-devices-pthread.so -o libpocl-devices-pthread.so CMakeFiles/pocl-devices-pthread.dir/pthread.c.o CMakeFiles/pocl-devices-pthread.dir/pthread_scheduler.c.o CMakeFiles/pocl-devices-pthread.dir/pthread_utils.c.o -Wl,-rpath,/<>/obj-riscv64-linux-gnu/lib/CL/devices/basic:/<>/obj-riscv64-linux-gnu/lib/CL: ../basic/libpocl-devices-basic.so ../../libpocl.so.2.8.0 -latomic /usr/bin/ld: warning: -z ibtplt ignored /usr/bin/ld: warning: -z ibt ignored /usr/bin/ld: warning: -z shstk ignored make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [100%] Built target pocl-devices-pthread make[2]: Leaving directory '/<>/obj-riscv64-linux-gnu' /usr/bin/cmake -E cmake_progress_start /<>/obj-riscv64-linux-gnu/CMakeFiles 0 make[1]: Leaving directory '/<>/obj-riscv64-linux-gnu' dh: command-omitted: The call to "debian/rules override_dh_auto_test-arch" was omitted due to "DEB_BUILD_OPTIONS=nocheck" create-stamp debian/debhelper-build-stamp dh_testroot -a -O--buildsystem=cmake dh_prep -a -O--buildsystem=cmake dh_auto_install -a -O--buildsystem=cmake cd obj-riscv64-linux-gnu && make -j8 install DESTDIR=/<>/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/<>/obj-riscv64-linux-gnu' /usr/bin/cmake -S/<> -B/<>/obj-riscv64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /<>/obj-riscv64-linux-gnu/CMakeFiles /<>/obj-riscv64-linux-gnu//CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory '/<>/obj-riscv64-linux-gnu' make -f lib/kernel/host/CMakeFiles/sleef_config_GENERIC.dir/build.make lib/kernel/host/CMakeFiles/sleef_config_GENERIC.dir/depend make -f lib/llvmopencl/CMakeFiles/llvmpasses.dir/build.make lib/llvmopencl/CMakeFiles/llvmpasses.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/kernel/host /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/kernel/host /<>/obj-riscv64-linux-gnu/lib/kernel/host/CMakeFiles/sleef_config_GENERIC.dir/DependInfo.cmake --color= make -f lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/build.make lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/depend make -f lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build.make lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/llvmopencl /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/llvmopencl /<>/obj-riscv64-linux-gnu/lib/llvmopencl/CMakeFiles/llvmpasses.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices/topology /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL/devices/topology /<>/obj-riscv64-linux-gnu/lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/DependInfo.cmake --color= make -f lib/CL/CMakeFiles/lib_cl_llvm.dir/build.make lib/CL/CMakeFiles/lib_cl_llvm.dir/depend make -f lib/CL/devices/CMakeFiles/pocl-devices.dir/build.make lib/CL/devices/CMakeFiles/pocl-devices.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL /<>/obj-riscv64-linux-gnu/lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL /<>/obj-riscv64-linux-gnu/lib/CL/CMakeFiles/lib_cl_llvm.dir/DependInfo.cmake --color= make -f lib/poclu/CMakeFiles/poclu.dir/build.make lib/poclu/CMakeFiles/poclu.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL/devices /<>/obj-riscv64-linux-gnu/lib/CL/devices/CMakeFiles/pocl-devices.dir/DependInfo.cmake --color= make -f bin/CMakeFiles/poclcc.dir/build.make bin/CMakeFiles/poclcc.dir/depend make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/poclu /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/poclu /<>/obj-riscv64-linux-gnu/lib/poclu/CMakeFiles/poclu.dir/DependInfo.cmake --color= make -f lib/kernel/host/CMakeFiles/sleef_config_GENERIC.dir/build.make lib/kernel/host/CMakeFiles/sleef_config_GENERIC.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/bin /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/bin /<>/obj-riscv64-linux-gnu/bin/CMakeFiles/poclcc.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target pocl-devices-topology make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/build.make lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/kernel/host/CMakeFiles/sleef_config_GENERIC.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target poclcc make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f bin/CMakeFiles/poclcc.dir/build.make bin/CMakeFiles/poclcc.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/CL/devices/topology/CMakeFiles/pocl-devices-topology.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target poclu make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/poclu/CMakeFiles/poclu.dir/build.make lib/poclu/CMakeFiles/poclu.dir/build [ 1%] Built target sleef_config_GENERIC make -f tests/runtime/CMakeFiles/test_dlopen.dir/build.make tests/runtime/CMakeFiles/test_dlopen.dir/depend Consolidate compiler generated dependencies of target pocl-devices make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/poclu/CMakeFiles/poclu.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/devices/CMakeFiles/pocl-devices.dir/build.make lib/CL/devices/CMakeFiles/pocl-devices.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'bin/CMakeFiles/poclcc.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_dlopen.dir/DependInfo.cmake --color= [ 1%] Built target pocl-devices-topology make -f lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/build.make lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/CL/devices/CMakeFiles/pocl-devices.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 1%] Built target poclu [ 2%] Built target poclcc make -f tests/kernel/CMakeFiles/test_shuffle.dir/build.make tests/kernel/CMakeFiles/test_shuffle.dir/depend make -f tests/kernel/CMakeFiles/image_query_funcs.dir/build.make tests/kernel/CMakeFiles/image_query_funcs.dir/depend Consolidate compiler generated dependencies of target test_dlopen make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/kernel /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/kernel /<>/obj-riscv64-linux-gnu/tests/kernel/CMakeFiles/test_shuffle.dir/DependInfo.cmake --color= make -f tests/runtime/CMakeFiles/test_dlopen.dir/build.make tests/runtime/CMakeFiles/test_dlopen.dir/build Consolidate compiler generated dependencies of target lib_cl_llvm make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/kernel/host /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/kernel/host /<>/obj-riscv64-linux-gnu/lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/CMakeFiles/lib_cl_llvm.dir/build.make lib/CL/CMakeFiles/lib_cl_llvm.dir/build [ 4%] Built target pocl-devices make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/kernel /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/kernel /<>/obj-riscv64-linux-gnu/tests/kernel/CMakeFiles/image_query_funcs.dir/DependInfo.cmake --color= make -f tests/kernel/CMakeFiles/sampler_address_clamp.dir/build.make tests/kernel/CMakeFiles/sampler_address_clamp.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_dlopen.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/kernel /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/kernel /<>/obj-riscv64-linux-gnu/tests/kernel/CMakeFiles/sampler_address_clamp.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/build.make lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/build [ 5%] Built target test_dlopen make -f tests/kernel/CMakeFiles/kernel.dir/build.make tests/kernel/CMakeFiles/kernel.dir/depend Consolidate compiler generated dependencies of target image_query_funcs make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/kernel/CMakeFiles/image_query_funcs.dir/build.make tests/kernel/CMakeFiles/image_query_funcs.dir/build Consolidate compiler generated dependencies of target test_shuffle make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target sampler_address_clamp make -f tests/kernel/CMakeFiles/test_shuffle.dir/build.make tests/kernel/CMakeFiles/test_shuffle.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/kernel /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/kernel /<>/obj-riscv64-linux-gnu/tests/kernel/CMakeFiles/kernel.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/kernel/CMakeFiles/image_query_funcs.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/kernel/CMakeFiles/sampler_address_clamp.dir/build.make tests/kernel/CMakeFiles/sampler_address_clamp.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/kernel/CMakeFiles/sampler_address_clamp.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target kernel make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/kernel/CMakeFiles/kernel.dir/build.make tests/kernel/CMakeFiles/kernel.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/CL/CMakeFiles/lib_cl_llvm.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/kernel/CMakeFiles/test_shuffle.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/kernel/CMakeFiles/kernel.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 5%] Built target sampler_address_clamp make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/kernel/host/CMakeFiles/kernel_host_GENERIC.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/depend [ 6%] Built target image_query_funcs make -f tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/build.make tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/depend [ 6%] Built target kernel [ 7%] Built target lib_cl_llvm make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_structs_as_args.dir/build.make tests/regression/CMakeFiles/test_structs_as_args.dir/depend [ 21%] Built target test_shuffle make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/build.make tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/depend [ 45%] Built target kernel_host_GENERIC make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_structs_as_args.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_issue_893.dir/build.make tests/regression/CMakeFiles/test_issue_893.dir/depend Consolidate compiler generated dependencies of target libpocl_unlinked_objs make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build.make lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_893.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_alignment_with_dynamic_wg3 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_structs_as_args make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_structs_as_args.dir/build.make tests/regression/CMakeFiles/test_structs_as_args.dir/build Consolidate compiler generated dependencies of target test_program_from_binary_with_local_1_1_1 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/build.make tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/build Consolidate compiler generated dependencies of target test_issue_893 Consolidate compiler generated dependencies of target test_simple_for_with_a_barrier make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_alignment_with_dynamic_wg3.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/build.make tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/build make -f tests/regression/CMakeFiles/test_issue_893.dir/build.make tests/regression/CMakeFiles/test_issue_893.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/CL/CMakeFiles/libpocl_unlinked_objs.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_structs_as_args.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_program_from_binary_with_local_1_1_1.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_simple_for_with_a_barrier.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_alignment_with_dynamic_wg2 make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_issue_893.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/build [ 66%] Built target libpocl_unlinked_objs make -f tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/build.make tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/depend [ 67%] Built target test_alignment_with_dynamic_wg3 make -f tests/regression/CMakeFiles/test_barrier_before_return.dir/build.make tests/regression/CMakeFiles/test_barrier_before_return.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_barrier_before_return.dir/DependInfo.cmake --color= [ 67%] Built target test_issue_893 make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_alignment_with_dynamic_wg2.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_locals.dir/build.make tests/regression/CMakeFiles/test_locals.dir/depend [ 67%] Built target test_structs_as_args make -f tests/regression/CMakeFiles/test_infinite_loop.dir/build.make tests/regression/CMakeFiles/test_infinite_loop.dir/depend [ 67%] Built target test_program_from_binary_with_local_1_1_1 make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_locals.dir/DependInfo.cmake --color= [ 68%] Built target test_simple_for_with_a_barrier make -f tests/regression/CMakeFiles/test_issue_231.dir/build.make tests/regression/CMakeFiles/test_issue_231.dir/depend make -f tests/regression/CMakeFiles/test_issue_757.dir/build.make tests/regression/CMakeFiles/test_issue_757.dir/depend Consolidate compiler generated dependencies of target test_multi_level_loops_with_barriers make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_infinite_loop.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_231.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_barrier_before_return make -f tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/build.make tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 68%] Built target test_alignment_with_dynamic_wg2 make -f tests/regression/CMakeFiles/test_barrier_before_return.dir/build.make tests/regression/CMakeFiles/test_barrier_before_return.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_757.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_early_return.dir/build.make tests/regression/CMakeFiles/test_early_return.dir/depend Consolidate compiler generated dependencies of target test_locals make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_locals.dir/build.make tests/regression/CMakeFiles/test_locals.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_early_return.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_multi_level_loops_with_barriers.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_infinite_loop make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target llvmpasses make -f tests/regression/CMakeFiles/test_infinite_loop.dir/build.make tests/regression/CMakeFiles/test_infinite_loop.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/llvmopencl/CMakeFiles/llvmpasses.dir/build.make lib/llvmopencl/CMakeFiles/llvmpasses.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_barrier_before_return.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_issue_757 Consolidate compiler generated dependencies of target test_issue_231 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_issue_231.dir/build.make tests/regression/CMakeFiles/test_issue_231.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_locals.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_infinite_loop.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_issue_757.dir/build.make tests/regression/CMakeFiles/test_issue_757.dir/build Consolidate compiler generated dependencies of target test_early_return [ 68%] Built target test_multi_level_loops_with_barriers make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_early_return.dir/build.make tests/regression/CMakeFiles/test_early_return.dir/build make -f tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/build.make tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_issue_757.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_issue_231.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/DependInfo.cmake --color= [ 68%] Built target test_barrier_before_return make -f tests/regression/CMakeFiles/test_issue_445.dir/build.make tests/regression/CMakeFiles/test_issue_445.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_early_return.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 69%] Built target test_infinite_loop make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/llvmopencl/CMakeFiles/llvmpasses.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/build.make tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_445.dir/DependInfo.cmake --color= [ 69%] Built target test_issue_231 make -f tests/regression/CMakeFiles/test_vectors_as_args.dir/build.make tests/regression/CMakeFiles/test_vectors_as_args.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/DependInfo.cmake --color= [ 70%] Built target test_locals make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/depend [ 76%] Built target llvmpasses Consolidate compiler generated dependencies of target test_for_with_var_iteration_count make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_vectors_as_args.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/build.make tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/depend make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 77%] Built target test_issue_757 make -f tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/build.make tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/build [ 77%] Built target test_early_return make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_issue_445 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_issue_445.dir/build.make tests/regression/CMakeFiles/test_issue_445.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_loop_phi_replication.dir/build.make tests/regression/CMakeFiles/test_loop_phi_replication.dir/depend make -f tests/regression/CMakeFiles/test_setargs.dir/build.make tests/regression/CMakeFiles/test_setargs.dir/depend Consolidate compiler generated dependencies of target test_flatten_barrier_subs make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_loop_phi_replication.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/build.make tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_for_with_var_iteration_count.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_setargs.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_issue_445.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_alignment_with_dynamic_wg make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/build.make tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_flatten_barrier_subs.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 79%] Built target test_for_with_var_iteration_count [ 79%] Built target test_issue_445 make -f tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/build.make tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/depend Consolidate compiler generated dependencies of target test_vectors_as_args make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_vectors_as_args.dir/build.make tests/regression/CMakeFiles/test_vectors_as_args.dir/build Consolidate compiler generated dependencies of target test_loop_phi_replication make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_alignment_with_dynamic_wg.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_assign_loop_variable_to_privvar_makes_it_local_2 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/build.make tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/build Consolidate compiler generated dependencies of target test_setargs make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 79%] Built target test_flatten_barrier_subs make -f tests/regression/CMakeFiles/test_loop_phi_replication.dir/build.make tests/regression/CMakeFiles/test_loop_phi_replication.dir/build make -f tests/regression/CMakeFiles/test_setargs.dir/build.make tests/regression/CMakeFiles/test_setargs.dir/build make -f tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/build.make tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_vectors_as_args.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local_2.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_assign_loop_variable_to_privvar_makes_it_local make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_loop_phi_replication.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/build.make tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_undominated_variable.dir/build.make tests/regression/CMakeFiles/test_undominated_variable.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_assign_loop_variable_to_privvar_makes_it_local.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_setargs.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 79%] Built target test_alignment_with_dynamic_wg make -f tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/build.make tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_undominated_variable.dir/DependInfo.cmake --color= [ 79%] Built target test_assign_loop_variable_to_privvar_makes_it_local_2 [ 79%] Built target test_vectors_as_args make -f tests/regression/CMakeFiles/test_null_arg.dir/build.make tests/regression/CMakeFiles/test_null_arg.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_id_dependent_computation.dir/build.make tests/regression/CMakeFiles/test_id_dependent_computation.dir/depend [ 79%] Built target test_loop_phi_replication make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_null_arg.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_issue_577.dir/build.make tests/regression/CMakeFiles/test_issue_577.dir/depend [ 79%] Built target test_assign_loop_variable_to_privvar_makes_it_local Consolidate compiler generated dependencies of target test_llvm_segfault_debian_bug_975931 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/build.make tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_id_dependent_computation.dir/DependInfo.cmake --color= [ 80%] Built target test_setargs make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_577.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_constant_array.dir/build.make tests/regression/CMakeFiles/test_constant_array.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_llvm_segfault_debian_bug_975931.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/build.make tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/depend Consolidate compiler generated dependencies of target test_undominated_variable make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_constant_array.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_barrier_between_for_loops make -f tests/regression/CMakeFiles/test_undominated_variable.dir/build.make tests/regression/CMakeFiles/test_undominated_variable.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_null_arg make -f tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/build.make tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_null_arg.dir/build.make tests/regression/CMakeFiles/test_null_arg.dir/build [ 80%] Built target test_llvm_segfault_debian_bug_975931 Consolidate compiler generated dependencies of target test_id_dependent_computation make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_issue_577 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_id_dependent_computation.dir/build.make tests/regression/CMakeFiles/test_id_dependent_computation.dir/build make -f tests/regression/CMakeFiles/test_issue_577.dir/build.make tests/regression/CMakeFiles/test_issue_577.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_undominated_variable.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_barrier_between_for_loops.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_constant_array make -f tests/regression/CMakeFiles/test_issue_553.dir/build.make tests/regression/CMakeFiles/test_issue_553.dir/depend Consolidate compiler generated dependencies of target test_fors_with_var_iteration_counts make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_constant_array.dir/build.make tests/regression/CMakeFiles/test_constant_array.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_id_dependent_computation.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_issue_553.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/build.make tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_null_arg.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_issue_577.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 80%] Built target test_undominated_variable make -f tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/build.make tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/depend [ 81%] Built target test_barrier_between_for_loops make -f tests/runtime/CMakeFiles/test_version.dir/build.make tests/runtime/CMakeFiles/test_version.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_constant_array.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/regression /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/regression /<>/obj-riscv64-linux-gnu/tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_fors_with_var_iteration_counts.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_version.dir/DependInfo.cmake --color= [ 81%] Built target test_id_dependent_computation make -f tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/build.make tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/depend [ 81%] Built target test_issue_577 Consolidate compiler generated dependencies of target test_issue_553 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/regression/CMakeFiles/test_issue_553.dir/build.make tests/regression/CMakeFiles/test_issue_553.dir/build [ 82%] Built target test_null_arg make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/DependInfo.cmake --color= [ 82%] Built target test_constant_array [ 82%] Built target test_fors_with_var_iteration_counts make -f tests/runtime/CMakeFiles/test_clCreateKernel.dir/build.make tests/runtime/CMakeFiles/test_clCreateKernel.dir/depend make -f tests/runtime/CMakeFiles/test_clBuildProgram.dir/build.make tests/runtime/CMakeFiles/test_clBuildProgram.dir/depend Consolidate compiler generated dependencies of target test_version make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_autolocals_in_constexprs make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clCreateKernel.dir/DependInfo.cmake --color= make -f tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/build.make tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clBuildProgram.dir/DependInfo.cmake --color= make -f tests/runtime/CMakeFiles/test_version.dir/build.make tests/runtime/CMakeFiles/test_version.dir/build Consolidate compiler generated dependencies of target test_kernel_cache_includes make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_link_error.dir/build.make tests/runtime/CMakeFiles/test_link_error.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/build.make tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/build make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_issue_553.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/regression/CMakeFiles/test_autolocals_in_constexprs.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_link_error.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_version.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clSetEventCallback.dir/build.make tests/runtime/CMakeFiles/test_clSetEventCallback.dir/depend Consolidate compiler generated dependencies of target test_clBuildProgram make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clBuildProgram.dir/build.make tests/runtime/CMakeFiles/test_clBuildProgram.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_kernel_cache_includes.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clSetEventCallback.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_clCreateKernel [ 83%] Built target test_autolocals_in_constexprs make -f tests/runtime/CMakeFiles/test_buffer-image-copy.dir/build.make tests/runtime/CMakeFiles/test_buffer-image-copy.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clBuildProgram.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_link_error make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 83%] Built target test_version make -f tests/runtime/CMakeFiles/test_clCreateKernel.dir/build.make tests/runtime/CMakeFiles/test_clCreateKernel.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_buffer-image-copy.dir/DependInfo.cmake --color= make -f tests/runtime/CMakeFiles/test_link_error.dir/build.make tests/runtime/CMakeFiles/test_link_error.dir/build [ 83%] Built target test_issue_553 make -f tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/build.make tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clCreateKernel.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_clSetEventCallback make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 83%] Built target test_kernel_cache_includes make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_link_error.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clSetEventCallback.dir/build.make tests/runtime/CMakeFiles/test_clSetEventCallback.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/DependInfo.cmake --color= [ 83%] Built target test_clBuildProgram make -f tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/build.make tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/depend Consolidate compiler generated dependencies of target test_buffer-image-copy make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_buffer-image-copy.dir/build.make tests/runtime/CMakeFiles/test_buffer-image-copy.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/DependInfo.cmake --color= make -f tests/runtime/CMakeFiles/test_user_event.dir/build.make tests/runtime/CMakeFiles/test_user_event.dir/depend make -f tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/build.make tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_user_event.dir/DependInfo.cmake --color= [ 84%] Built target test_link_error make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clSetEventCallback.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_buffer-image-copy.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 84%] Built target test_clCreateKernel make -f tests/runtime/CMakeFiles/test_clGetEventInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetEventInfo.dir/depend make -f tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/build.make tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clGetEventInfo.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_read-copy-write-buffer make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/build.make tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/build [ 84%] Built target test_clSetEventCallback make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/DependInfo.cmake --color= make -f tests/runtime/CMakeFiles/test_clFinish.dir/build.make tests/runtime/CMakeFiles/test_clFinish.dir/depend Consolidate compiler generated dependencies of target test_clGetSupportedImageFormats make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 84%] Built target test_buffer-image-copy Consolidate compiler generated dependencies of target test_clGetEventInfo make -f tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/build.make tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_clCreateProgramWithBinary make -f tests/runtime/CMakeFiles/test_clGetEventInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetEventInfo.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clFinish.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_read-copy-write-buffer.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/build.make tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/build Consolidate compiler generated dependencies of target test_user_event make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clGetEventInfo.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clGetSupportedImageFormats.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_user_event.dir/build.make tests/runtime/CMakeFiles/test_user_event.dir/build make -f tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clCreateProgramWithBinary.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_user_event.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_clFinish make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clFinish.dir/build.make tests/runtime/CMakeFiles/test_clFinish.dir/build Consolidate compiler generated dependencies of target test_clEnqueueNativeKernel [ 84%] Built target test_read-copy-write-buffer make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/build.make tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/build [ 85%] Built target test_clGetSupportedImageFormats make -f tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/depend make -f tests/runtime/CMakeFiles/test_event_cycle.dir/build.make tests/runtime/CMakeFiles/test_event_cycle.dir/depend [ 85%] Built target test_clCreateProgramWithBinary make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clEnqueueNativeKernel.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clFinish.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/build.make tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/depend [ 85%] Built target test_clGetEventInfo make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_event_cycle.dir/DependInfo.cmake --color= make -f tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/build.make tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/depend Consolidate compiler generated dependencies of target test_clGetKernelArgInfo make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/DependInfo.cmake --color= make -f tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/build [ 86%] Built target test_user_event Consolidate compiler generated dependencies of target test_clGetDeviceInfo make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/build.make tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/DependInfo.cmake --color= [ 86%] Built target test_clFinish make -f tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/build.make tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/depend [ 86%] Built target test_clEnqueueNativeKernel make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clGetKernelArgInfo.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clGetDeviceInfo.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_event_free.dir/build.make tests/runtime/CMakeFiles/test_event_free.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_event_cycle make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_event_cycle.dir/build.make tests/runtime/CMakeFiles/test_event_cycle.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_event_free.dir/DependInfo.cmake --color= make -f tests/runtime/CMakeFiles/test_event_double_wait.dir/build.make tests/runtime/CMakeFiles/test_event_double_wait.dir/depend Consolidate compiler generated dependencies of target test_cl_pocl_content_size Consolidate compiler generated dependencies of target test_clCreateSubDevices make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 87%] Built target test_clGetDeviceInfo make -f tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/build.make tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/build [ 87%] Built target test_clGetKernelArgInfo make -f tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/build.make tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_event_double_wait.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_event_cycle.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/build.make tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clCreateSubDevices.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_cl_pocl_content_size.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_event_free Consolidate compiler generated dependencies of target test_buffer_ping_pong make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_event_free.dir/build.make tests/runtime/CMakeFiles/test_event_free.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/DependInfo.cmake --color= make -f tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/build.make tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/build [ 88%] Built target test_event_cycle make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_event_free.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/build.make tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/depend [ 88%] Built target test_cl_pocl_content_size make -f tests/runtime/CMakeFiles/test_buffer_migration.dir/build.make tests/runtime/CMakeFiles/test_buffer_migration.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_buffer_ping_pong.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target test_event_double_wait [ 89%] Built target test_clCreateSubDevices make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/DependInfo.cmake --color= make -f tests/runtime/CMakeFiles/test_event_double_wait.dir/build.make tests/runtime/CMakeFiles/test_event_double_wait.dir/build Consolidate compiler generated dependencies of target test_clSetMemObjectDestructorCallback make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_buffer_migration.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/build.make tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/build [ 90%] Built target test_event_free make -f tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/build.make tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_event_double_wait.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_fill-buffer.dir/build.make tests/runtime/CMakeFiles/test_fill-buffer.dir/depend Consolidate compiler generated dependencies of target test_clCreateKernelsInProgram make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clSetMemObjectDestructorCallback.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/DependInfo.cmake --color= make -f tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/build.make tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/runtime /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/runtime /<>/obj-riscv64-linux-gnu/tests/runtime/CMakeFiles/test_fill-buffer.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target test_buffer_migration make -f tests/workgroup/CMakeFiles/run_kernel.dir/build.make tests/workgroup/CMakeFiles/run_kernel.dir/depend make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 90%] Built target test_event_double_wait make -f tests/runtime/CMakeFiles/test_buffer_migration.dir/build.make tests/runtime/CMakeFiles/test_buffer_migration.dir/build [ 91%] Built target test_buffer_ping_pong make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/tests/workgroup /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/tests/workgroup /<>/obj-riscv64-linux-gnu/tests/workgroup/CMakeFiles/run_kernel.dir/DependInfo.cmake --color= make -f examples/example0/CMakeFiles/example0.dir/build.make examples/example0/CMakeFiles/example0.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_clCreateKernelsInProgram.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/example1/CMakeFiles/example1.dir/build.make examples/example1/CMakeFiles/example1.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/example0 /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/example0 /<>/obj-riscv64-linux-gnu/examples/example0/CMakeFiles/example0.dir/DependInfo.cmake --color= make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_buffer_migration.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/example1 /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/example1 /<>/obj-riscv64-linux-gnu/examples/example1/CMakeFiles/example1.dir/DependInfo.cmake --color= [ 92%] Built target test_clSetMemObjectDestructorCallback make -f examples/example2/CMakeFiles/example2.dir/build.make examples/example2/CMakeFiles/example2.dir/depend [ 93%] Built target test_clCreateKernelsInProgram Consolidate compiler generated dependencies of target test_fill-buffer Consolidate compiler generated dependencies of target test_enqueue_kernel_from_binary Consolidate compiler generated dependencies of target run_kernel make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_fill-buffer.dir/build.make tests/runtime/CMakeFiles/test_fill-buffer.dir/build Consolidate compiler generated dependencies of target example1 Consolidate compiler generated dependencies of target example0 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/build.make tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/build make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/example2 /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/example2 /<>/obj-riscv64-linux-gnu/examples/example2/CMakeFiles/example2.dir/DependInfo.cmake --color= make -f tests/workgroup/CMakeFiles/run_kernel.dir/build.make tests/workgroup/CMakeFiles/run_kernel.dir/build make -f examples/example0/CMakeFiles/example0.dir/build.make examples/example0/CMakeFiles/example0.dir/build [ 93%] Built target test_buffer_migration make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_enqueue_kernel_from_binary.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/example1/CMakeFiles/example1.dir/build.make examples/example1/CMakeFiles/example1.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/runtime/CMakeFiles/test_fill-buffer.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'tests/workgroup/CMakeFiles/run_kernel.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'examples/example0/CMakeFiles/example0.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/example2a/CMakeFiles/example2a.dir/build.make examples/example2a/CMakeFiles/example2a.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'examples/example1/CMakeFiles/example1.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/example2a /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/example2a /<>/obj-riscv64-linux-gnu/examples/example2a/CMakeFiles/example2a.dir/DependInfo.cmake --color= make -f examples/matrix1/CMakeFiles/matrix1.dir/build.make examples/matrix1/CMakeFiles/matrix1.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/matrix1 /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/matrix1 /<>/obj-riscv64-linux-gnu/examples/matrix1/CMakeFiles/matrix1.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target example2 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/example2/CMakeFiles/example2.dir/build.make examples/example2/CMakeFiles/example2.dir/build [ 94%] Built target example0 [ 94%] Built target test_fill-buffer Consolidate compiler generated dependencies of target example2a [ 94%] Built target test_enqueue_kernel_from_binary make -f examples/scalarwave/CMakeFiles/scalarwave.dir/build.make examples/scalarwave/CMakeFiles/scalarwave.dir/depend make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 95%] Built target run_kernel make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'examples/example2/CMakeFiles/example2.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/example2a/CMakeFiles/example2a.dir/build.make examples/example2a/CMakeFiles/example2a.dir/build Consolidate compiler generated dependencies of target matrix1 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/matrix1/CMakeFiles/matrix1.dir/build.make examples/matrix1/CMakeFiles/matrix1.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/scalarwave /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/scalarwave /<>/obj-riscv64-linux-gnu/examples/scalarwave/CMakeFiles/scalarwave.dir/DependInfo.cmake --color= make -f examples/trig/CMakeFiles/trig.dir/build.make examples/trig/CMakeFiles/trig.dir/depend [ 96%] Built target example1 make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'examples/example2a/CMakeFiles/example2a.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'examples/matrix1/CMakeFiles/matrix1.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/trig /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/trig /<>/obj-riscv64-linux-gnu/examples/trig/CMakeFiles/trig.dir/DependInfo.cmake --color= make -f examples/vecadd/CMakeFiles/vecadd.dir/build.make examples/vecadd/CMakeFiles/vecadd.dir/depend [ 96%] Built target example2 make -f examples/matadd/CMakeFiles/matadd.dir/build.make examples/matadd/CMakeFiles/matadd.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/vecadd /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/vecadd /<>/obj-riscv64-linux-gnu/examples/vecadd/CMakeFiles/vecadd.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target scalarwave [ 96%] Built target example2a make -f examples/boxadd/CMakeFiles/boxadd.dir/build.make examples/boxadd/CMakeFiles/boxadd.dir/depend make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/matadd /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/matadd /<>/obj-riscv64-linux-gnu/examples/matadd/CMakeFiles/matadd.dir/DependInfo.cmake --color= make -f examples/scalarwave/CMakeFiles/scalarwave.dir/build.make examples/scalarwave/CMakeFiles/scalarwave.dir/build make -f examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/build.make examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target trig cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/boxadd /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/boxadd /<>/obj-riscv64-linux-gnu/examples/boxadd/CMakeFiles/boxadd.dir/DependInfo.cmake --color= [ 96%] Built target matrix1 make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/trig/CMakeFiles/trig.dir/build.make examples/trig/CMakeFiles/trig.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'examples/scalarwave/CMakeFiles/scalarwave.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/examples/EinsteinToolkit /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/examples/EinsteinToolkit /<>/obj-riscv64-linux-gnu/examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/DependInfo.cmake --color= make -f lib/kernel/CMakeFiles/kernellib_hash.dir/build.make lib/kernel/CMakeFiles/kernellib_hash.dir/depend Consolidate compiler generated dependencies of target vecadd make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/vecadd/CMakeFiles/vecadd.dir/build.make examples/vecadd/CMakeFiles/vecadd.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'examples/trig/CMakeFiles/trig.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/kernel /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/kernel /<>/obj-riscv64-linux-gnu/lib/kernel/CMakeFiles/kernellib_hash.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target matadd make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/matadd/CMakeFiles/matadd.dir/build.make examples/matadd/CMakeFiles/matadd.dir/build [ 96%] Built target scalarwave Consolidate compiler generated dependencies of target boxadd make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/boxadd/CMakeFiles/boxadd.dir/build.make examples/boxadd/CMakeFiles/boxadd.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'examples/vecadd/CMakeFiles/vecadd.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' Consolidate compiler generated dependencies of target EinsteinToolkit make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/build.make examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'examples/matadd/CMakeFiles/matadd.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/kernel/CMakeFiles/kernellib_hash.dir/build.make lib/kernel/CMakeFiles/kernellib_hash.dir/build [ 97%] Built target trig make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'examples/boxadd/CMakeFiles/boxadd.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'examples/EinsteinToolkit/CMakeFiles/EinsteinToolkit.dir/build'. make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/kernel/CMakeFiles/kernellib_hash.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 98%] Built target vecadd [ 99%] Built target matadd [ 99%] Built target boxadd [ 99%] Built target kernellib_hash make -f lib/CL/CMakeFiles/pocl_cache.dir/build.make lib/CL/CMakeFiles/pocl_cache.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL /<>/obj-riscv64-linux-gnu/lib/CL/CMakeFiles/pocl_cache.dir/DependInfo.cmake --color= [ 99%] Built target EinsteinToolkit Consolidate compiler generated dependencies of target pocl_cache make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/CMakeFiles/pocl_cache.dir/build.make lib/CL/CMakeFiles/pocl_cache.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/CL/CMakeFiles/pocl_cache.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 99%] Built target pocl_cache make -f lib/CL/CMakeFiles/pocl.dir/build.make lib/CL/CMakeFiles/pocl.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL /<>/obj-riscv64-linux-gnu/lib/CL/CMakeFiles/pocl.dir/DependInfo.cmake --color= make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/CMakeFiles/pocl.dir/build.make lib/CL/CMakeFiles/pocl.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/CL/CMakeFiles/pocl.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 99%] Built target pocl make -f lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build.make lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices/basic /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL/devices/basic /<>/obj-riscv64-linux-gnu/lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target pocl-devices-basic make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build.make lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/CL/devices/basic/CMakeFiles/pocl-devices-basic.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [ 99%] Built target pocl-devices-basic make -f lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/build.make lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/depend make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' cd /<>/obj-riscv64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /<> /<>/lib/CL/devices/pthread /<>/obj-riscv64-linux-gnu /<>/obj-riscv64-linux-gnu/lib/CL/devices/pthread /<>/obj-riscv64-linux-gnu/lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/DependInfo.cmake --color= Consolidate compiler generated dependencies of target pocl-devices-pthread make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' make -f lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/build.make lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/build make[3]: Entering directory '/<>/obj-riscv64-linux-gnu' make[3]: Nothing to be done for 'lib/CL/devices/pthread/CMakeFiles/pocl-devices-pthread.dir/build'. make[3]: Leaving directory '/<>/obj-riscv64-linux-gnu' [100%] Built target pocl-devices-pthread make[2]: Leaving directory '/<>/obj-riscv64-linux-gnu' /usr/bin/cmake -E cmake_progress_start /<>/obj-riscv64-linux-gnu/CMakeFiles 0 make -f CMakeFiles/Makefile2 preinstall make[2]: Entering directory '/<>/obj-riscv64-linux-gnu' make[2]: Nothing to be done for 'preinstall'. make[2]: Leaving directory '/<>/obj-riscv64-linux-gnu' Install the project... /usr/bin/cmake -P cmake_install.cmake -- Install configuration: "None" -- Installing: /<>/debian/tmp/usr/share/pocl/include/opencl-c.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/opencl-c-base.h -- Installing: /<>/debian/tmp/etc/OpenCL/vendors/pocl.icd -- Installing: /<>/debian/tmp/usr/lib/riscv64-linux-gnu/pkgconfig/pocl.pc -- Installing: /<>/debian/tmp/usr/share/pocl/include/_enable_all_exts.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/_builtin_renames.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/_kernel.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/_clang_opencl.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/_kernel_c.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/_kernel_constants.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/_libclang_versions_checks.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/pocl_types.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/pocl_device.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/pocl.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/pocl_spir.h -- Installing: /<>/debian/tmp/usr/share/pocl/include/pocl_image_types.h -- Installing: /<>/debian/tmp/usr/share/pocl/kernel-riscv64-unknown-linux-gnu-GENERIC.bc -- Installing: /<>/debian/tmp/usr/lib/riscv64-linux-gnu/libpocl.so.2.8.0 -- Installing: /<>/debian/tmp/usr/lib/riscv64-linux-gnu/libpocl.so.2 -- Set runtime path of "/<>/debian/tmp/usr/lib/riscv64-linux-gnu/libpocl.so.2.8.0" to "" -- Installing: /<>/debian/tmp/usr/lib/riscv64-linux-gnu/libpocl.so -- Installing: /<>/debian/tmp/usr/lib/riscv64-linux-gnu/pocl/libpocl-devices-basic.so -- Set runtime path of "/<>/debian/tmp/usr/lib/riscv64-linux-gnu/pocl/libpocl-devices-basic.so" to "" -- Installing: /<>/debian/tmp/usr/lib/riscv64-linux-gnu/pocl/libpocl-devices-pthread.so -- Set runtime path of "/<>/debian/tmp/usr/lib/riscv64-linux-gnu/pocl/libpocl-devices-pthread.so" to "" -- Installing: /<>/debian/tmp/usr/bin/poclcc make[1]: Leaving directory '/<>/obj-riscv64-linux-gnu' dh_install -a -O--buildsystem=cmake dh_installdocs -a -O--buildsystem=cmake dh_installchangelogs -a -O--buildsystem=cmake dh_installsystemduser -a -O--buildsystem=cmake dh_lintian -a -O--buildsystem=cmake dh_perl -a -O--buildsystem=cmake dh_link -a -O--buildsystem=cmake dh_strip_nondeterminism -a -O--buildsystem=cmake dh_compress -a -O--buildsystem=cmake dh_fixperms -a -O--buildsystem=cmake dh_missing -a -O--buildsystem=cmake dh_dwz -a -O--buildsystem=cmake dwz: debian/libpocl2/usr/lib/riscv64-linux-gnu/libpocl.so.2.8.0: DWARF compression not beneficial - old size 21481603 new size 21541593 dh_strip -a -O--buildsystem=cmake d266cf1c17e2cc0fd06335ed5ec820ea273b9a45 17417e6fccecdb7b3640ef655196c5dc8b147809 debugedit: debian/libpocl2/usr/lib/riscv64-linux-gnu/pocl/libpocl-devices-basic.so: Unknown DWARF DW_FORM_0x1f20 ee42b76b48d9e8f61fd0a599ca073423b92d452b debugedit: debian/libpocl2/usr/lib/riscv64-linux-gnu/pocl/libpocl-devices-pthread.so: Unknown DWARF DW_FORM_0x1f21 567edd081a83060c9e137c05c9937d2b110c7461 debian/rules override_dh_makeshlibs make[1]: Entering directory '/<>' dh_makeshlibs dpkg-gensymbols: warning: debian/libpocl2/DEBIAN/symbols doesn't match completely debian/libpocl2.symbols --- debian/libpocl2.symbols (libpocl2_1.8-2_riscv64) +++ dpkg-gensymbolsX1_faB 2021-12-02 18:19:23.672432825 +0000 @@ -15,26 +15,26 @@ _Z20getModuleIntMetadataRKN4llvm6ModuleEPKcRm@Base 1.8 _Z21getModuleBoolMetadataRKN4llvm6ModuleEPKcRb@Base 1.8 _Z23getModuleStringMetadataRKN4llvm6ModuleEPKcRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE@Base 1.8 -#MISSING: 1.8# (optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12emplace_backIJS5_EEEvDpOT_@Base 0.11 -#MISSING: 1.8# (optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base 0.13-9~llvm3.8+gcc7 -#MISSING: 1.8# (optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base 0.13-9~llvm3.8+gcc7 -#MISSING: 1.8# (optional=templinst)_ZNSt6vectorIPKcSaIS1_EE17_M_realloc_insertIJS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_@Base 0.13-9~llvm3.8+gcc7 -#MISSING: 1.8# (optional=templinst|subst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceE{size_t}{size_t}PKc{size_t}@Base 1.6-2~hardening +#MISSING: 1.8-2# (optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12emplace_backIJS5_EEEvDpOT_@Base 0.11 +#MISSING: 1.8-2# (optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base 0.13-9~llvm3.8+gcc7 +#MISSING: 1.8-2# (optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base 0.13-9~llvm3.8+gcc7 +#MISSING: 1.8-2# (optional=templinst)_ZNSt6vectorIPKcSaIS1_EE17_M_realloc_insertIJS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_@Base 0.13-9~llvm3.8+gcc7 +#MISSING: 1.8-2# (optional=templinst|subst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceE{size_t}{size_t}PKc{size_t}@Base 1.6-2~hardening #MISSING: 1.8# (optional=templinst|arch=mipsel)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag@Base 1.1-6~llvm6.0+gcc8 -#MISSING: 1.8# (optional=templinst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4swapERS4_@Base 1.6-2~hardening -#MISSING: 1.8# (optional=templinst|subst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKc{size_t}@Base 1.6-2~hardening -#MISSING: 1.8# (optional=templinst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_@Base 1.6-2~hardening -#MISSING: 1.8# (optional=templinst|subst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateE{size_t}{size_t}PKc{size_t}@Base 1.6-2~hardening -#MISSING: 1.8# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE24_M_get_insert_unique_posERKS5_@Base 1.0 -#MISSING: 1.8# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERKS5_@Base 1.0 -#MISSING: 1.8# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE8_M_eraseEPSt13_Rb_tree_nodeIS5_E@Base 1.0 -#MISSING: 1.8# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E@Base 1.1-2~llvm5.0 -#MISSING: 1.8# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIvESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E@Base 1.7-3~llvm10 -#MISSING: 1.8# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE24_M_get_insert_unique_posERS7_@Base 0.11 -#MISSING: 1.8# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS7_@Base 0.11 -#MISSING: 1.8# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE24_M_get_insert_unique_posERS7_@Base 1.0 -#MISSING: 1.8# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS7_@Base 1.0 -#MISSING: 1.8# (optional=templinst)_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_@Base 1.6-2~hardening +#MISSING: 1.8-2# (optional=templinst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4swapERS4_@Base 1.6-2~hardening +#MISSING: 1.8-2# (optional=templinst|subst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKc{size_t}@Base 1.6-2~hardening +#MISSING: 1.8-2# (optional=templinst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_@Base 1.6-2~hardening +#MISSING: 1.8-2# (optional=templinst|subst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateE{size_t}{size_t}PKc{size_t}@Base 1.6-2~hardening +#MISSING: 1.8-2# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE24_M_get_insert_unique_posERKS5_@Base 1.0 +#MISSING: 1.8-2# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS5_ERKS5_@Base 1.0 +#MISSING: 1.8-2# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE8_M_eraseEPSt13_Rb_tree_nodeIS5_E@Base 1.0 +#MISSING: 1.8-2# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E@Base 1.1-2~llvm5.0 +#MISSING: 1.8-2# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_S5_ESt10_Select1stIS8_ESt4lessIvESaIS8_EE8_M_eraseEPSt13_Rb_tree_nodeIS8_E@Base 1.7-3~llvm10 +#MISSING: 1.8-2# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE24_M_get_insert_unique_posERS7_@Base 0.11 +#MISSING: 1.8-2# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_iESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS7_@Base 0.11 +#MISSING: 1.8-2# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE24_M_get_insert_unique_posERS7_@Base 1.0 +#MISSING: 1.8-2# (optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4pairIKS5_jESt10_Select1stIS8_ESt4lessIS5_ESaIS8_EE29_M_get_insert_hint_unique_posESt23_Rb_tree_const_iteratorIS8_ERS7_@Base 1.0 +#MISSING: 1.8-2# (optional=templinst)_ZStplIcSt11char_traitsIcESaIcEENSt7__cxx1112basic_stringIT_T0_T1_EEPKS5_RKS8_@Base 1.6-2~hardening (arch=armel riscv64)_ZTIN9__gnu_cxx7__mutexE@Base 1.4-5~llvm9 (arch=armel riscv64)_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE1EE@Base 0.10 (arch=!armel !riscv64)_ZTISt11_Mutex_baseILN9__gnu_cxx12_Lock_policyE2EE@Base 0.10 + test -f debian/stamp-failed-testsuite *** The testsuite was *NOT* run! *** dh override_dh_makeshlibs --with pkgkde_symbolshelper --buildsystem=cmake make[1]: Leaving directory '/<>' debian/rules override_dh_shlibdeps make[1]: Entering directory '/<>' dh_shlibdeps -l/usr/lib/riscv64-linux-gnu/pocl -- --warnings=7 make[1]: Leaving directory '/<>' dh_installdeb -a -O--buildsystem=cmake debian/rules override_dh_gencontrol make[1]: Entering directory '/<>' dh_gencontrol -- \ -V'LLVM:Version=11' \ make[1]: Leaving directory '/<>' dh_md5sums -a -O--buildsystem=cmake dh_builddeb -a -O--buildsystem=cmake INFO: pkgstriptranslations version 149 INFO: pkgstriptranslations version 149 INFO: pkgstriptranslations version 149 pkgstriptranslations: processing libpocl-dev-dbgsym (in debian/.debhelper/libpocl-dev/dbgsym-root); do_strip: , oemstrip: INFO: pkgstriptranslations version 149 INFO: pkgstriptranslations version 149 pkgstriptranslations: processing libpocl-dev (in debian/libpocl-dev); do_strip: , oemstrip: pkgstriptranslations: processing pocl-opencl-icd (in debian/pocl-opencl-icd); do_strip: , oemstrip: pkgstriptranslations: processing libpocl2 (in debian/libpocl2); do_strip: , oemstrip: pkgstriptranslations: processing libpocl2-dbgsym (in debian/.debhelper/libpocl2/dbgsym-root); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/.debhelper/libpocl-dev/dbgsym-root/DEBIAN/control, package libpocl-dev-dbgsym, directory debian/.debhelper/libpocl-dev/dbgsym-root dpkg-deb: building package 'libpocl-dev-dbgsym' in 'debian/.debhelper/scratch-space/build-libpocl-dev/libpocl-dev-dbgsym_1.8-2_riscv64.deb'. pkgstripfiles: processing control file: debian/libpocl-dev/DEBIAN/control, package libpocl-dev, directory debian/libpocl-dev INFO: pkgstripfiles: waiting for lock (libpocl-dev) ... pkgstripfiles: processing control file: debian/pocl-opencl-icd/DEBIAN/control, package pocl-opencl-icd, directory debian/pocl-opencl-icd Searching for duplicated docs in dependency libpocl2... pkgstripfiles: processing control file: debian/.debhelper/libpocl2/dbgsym-root/DEBIAN/control, package libpocl2-dbgsym, directory debian/.debhelper/libpocl2/dbgsym-root dpkg-deb: building package 'libpocl2-dbgsym' in 'debian/.debhelper/scratch-space/build-libpocl2/libpocl2-dbgsym_1.8-2_riscv64.deb'. symlinking changelog.Debian.gz in pocl-opencl-icd to file in libpocl2 INFO: pkgstripfiles: waiting for lock (libpocl-dev) ... Renaming libpocl-dev-dbgsym_1.8-2_riscv64.deb to libpocl-dev-dbgsym_1.8-2_riscv64.ddeb pkgstripfiles: Running PNG optimization (using 8 cpus) for package pocl-opencl-icd ... pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: No PNG files. dpkg-deb: building package 'pocl-opencl-icd' in '../pocl-opencl-icd_1.8-2_riscv64.deb'. INFO: pkgstripfiles: waiting for lock (libpocl-dev) ... INFO: pkgstripfiles: waiting for lock (libpocl-dev) ... INFO: pkgstripfiles: waiting for lock (libpocl-dev) ... pkgstripfiles: processing control file: debian/libpocl2/DEBIAN/control, package libpocl2, directory debian/libpocl2 INFO: pkgstripfiles: waiting for lock (libpocl-dev) ... pkgstripfiles: Truncating usr/share/doc/libpocl2/changelog.Debian.gz to topmost ten records pkgstripfiles: Running PNG optimization (using 8 cpus) for package libpocl2 ... pkgstripfiles: No PNG files. dpkg-deb: building package 'libpocl2' in '../libpocl2_1.8-2_riscv64.deb'. Searching for duplicated docs in dependency libpocl2... symlinking changelog.Debian.gz in libpocl-dev to file in libpocl2 pkgstripfiles: Running PNG optimization (using 8 cpus) for package libpocl-dev ... pkgstripfiles: No PNG files. dpkg-deb: building package 'libpocl-dev' in '../libpocl-dev_1.8-2_riscv64.deb'. Renaming libpocl2-dbgsym_1.8-2_riscv64.deb to libpocl2-dbgsym_1.8-2_riscv64.ddeb dpkg-genbuildinfo --build=any dpkg-genchanges --build=any -mLaunchpad Build Daemon >../pocl_1.8-2_riscv64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) -------------------------------------------------------------------------------- Build finished at 2021-12-02T18:22:59Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ pocl_1.8-2_riscv64.changes: --------------------------- Format: 1.8 Date: Mon, 22 Nov 2021 18:00:18 +0100 Source: pocl Binary: libpocl-dev libpocl2 pocl-opencl-icd Built-For-Profiles: noudeb Architecture: riscv64 Version: 1.8-2 Distribution: jammy-proposed Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Andreas Beckmann Description: libpocl-dev - development files for the pocl library libpocl2 - Portable Computing Language library pocl-opencl-icd - pocl ICD Closes: 974797 Changes: pocl (1.8-2) experimental; urgency=medium . * Add printf() tests for more vector types. * Ignore llvm-10/llvm-11/llvm-12 segmentation fault (#975931) on armel/armhf, seems fixed in llvm-13. * Switch to llvm 11. (Closes: #974797) * Upload to experimental. Checksums-Sha1: 3a7821bee8fb017698cf16a0282646d9b556ce7b 22350 libpocl-dev-dbgsym_1.8-2_riscv64.ddeb 005b4f1211558e68461ac668b9cf960e764ce108 11880 libpocl-dev_1.8-2_riscv64.deb 1930445728fd6f488a5b77512f96e1e7165bbd5c 9413036 libpocl2-dbgsym_1.8-2_riscv64.ddeb 7e8db3f478c5d8c24eca7443c1fff816f0557eb5 2053766 libpocl2_1.8-2_riscv64.deb 072fba15121f2e6007a1ddfe17461dc31d28fd84 4512 pocl-opencl-icd_1.8-2_riscv64.deb 11ccd7cf35c834d8a8cba063972a15150a1f6be0 12738 pocl_1.8-2_riscv64.buildinfo Checksums-Sha256: 93fa57428d01c0a3b34820401a60350ef4ea071bbfe958c93f38bb65286a19c2 22350 libpocl-dev-dbgsym_1.8-2_riscv64.ddeb 975445ede715091e9adb09dd63cde658836814c0aec8e8fae65b880ab2a41e16 11880 libpocl-dev_1.8-2_riscv64.deb b50c536bbca6946347d3493919d709f35bc729351774daf4ea01d9bb9269daf6 9413036 libpocl2-dbgsym_1.8-2_riscv64.ddeb c280c0fcb990e9039a97052276df04a09f3fcabc4012f7551a999b352c9dc239 2053766 libpocl2_1.8-2_riscv64.deb d6f8102f1b215a5e311b1c8c0df6fd16453c8aeacad4c53dafae174725437d25 4512 pocl-opencl-icd_1.8-2_riscv64.deb 21d589122cfecd59a1e4a985992666efc32dc3d0323e20c0f3ff248d4029b6b6 12738 pocl_1.8-2_riscv64.buildinfo Files: a1adb7e8911432c5f9474e23664378d1 22350 debug optional libpocl-dev-dbgsym_1.8-2_riscv64.ddeb a3baf8dcf1105179ebbba238cf17f48c 11880 libdevel optional libpocl-dev_1.8-2_riscv64.deb d5e439cfdf6ec15fa08966cac297571e 9413036 debug optional libpocl2-dbgsym_1.8-2_riscv64.ddeb 1c0353d35ea2a7a9dc35a5448fe907f3 2053766 libs optional libpocl2_1.8-2_riscv64.deb 40017b027467ebdc413d26c024d8f3ed 4512 libs optional pocl-opencl-icd_1.8-2_riscv64.deb c389f90c9ef3f719d2c2ea0297580a92 12738 libs optional pocl_1.8-2_riscv64.buildinfo /<>/pocl_1.8-2_riscv64.changes.new could not be renamed to /<>/pocl_1.8-2_riscv64.changes: Illegal seek Distribution field may be wrong!!! +------------------------------------------------------------------------------+ | Buildinfo | +------------------------------------------------------------------------------+ Format: 1.0 Source: pocl Binary: libpocl-dev libpocl-dev-dbgsym libpocl2 libpocl2-dbgsym pocl-opencl-icd Architecture: riscv64 Version: 1.8-2 Checksums-Md5: a1adb7e8911432c5f9474e23664378d1 22350 libpocl-dev-dbgsym_1.8-2_riscv64.ddeb a3baf8dcf1105179ebbba238cf17f48c 11880 libpocl-dev_1.8-2_riscv64.deb d5e439cfdf6ec15fa08966cac297571e 9413036 libpocl2-dbgsym_1.8-2_riscv64.ddeb 1c0353d35ea2a7a9dc35a5448fe907f3 2053766 libpocl2_1.8-2_riscv64.deb 40017b027467ebdc413d26c024d8f3ed 4512 pocl-opencl-icd_1.8-2_riscv64.deb Checksums-Sha1: 3a7821bee8fb017698cf16a0282646d9b556ce7b 22350 libpocl-dev-dbgsym_1.8-2_riscv64.ddeb 005b4f1211558e68461ac668b9cf960e764ce108 11880 libpocl-dev_1.8-2_riscv64.deb 1930445728fd6f488a5b77512f96e1e7165bbd5c 9413036 libpocl2-dbgsym_1.8-2_riscv64.ddeb 7e8db3f478c5d8c24eca7443c1fff816f0557eb5 2053766 libpocl2_1.8-2_riscv64.deb 072fba15121f2e6007a1ddfe17461dc31d28fd84 4512 pocl-opencl-icd_1.8-2_riscv64.deb Checksums-Sha256: 93fa57428d01c0a3b34820401a60350ef4ea071bbfe958c93f38bb65286a19c2 22350 libpocl-dev-dbgsym_1.8-2_riscv64.ddeb 975445ede715091e9adb09dd63cde658836814c0aec8e8fae65b880ab2a41e16 11880 libpocl-dev_1.8-2_riscv64.deb b50c536bbca6946347d3493919d709f35bc729351774daf4ea01d9bb9269daf6 9413036 libpocl2-dbgsym_1.8-2_riscv64.ddeb c280c0fcb990e9039a97052276df04a09f3fcabc4012f7551a999b352c9dc239 2053766 libpocl2_1.8-2_riscv64.deb d6f8102f1b215a5e311b1c8c0df6fd16453c8aeacad4c53dafae174725437d25 4512 pocl-opencl-icd_1.8-2_riscv64.deb Build-Origin: Ubuntu Build-Architecture: riscv64 Build-Date: Thu, 02 Dec 2021 18:22:51 +0000 Build-Path: /<> Build-Tainted-By: merged-usr-via-aliased-dirs usr-local-has-programs Installed-Build-Depends: autoconf (= 2.71-2), automake (= 1:1.16.5-1.1), autopoint (= 0.21-4ubuntu3), autotools-dev (= 20180224.1+nmu1), base-files (= 12ubuntu2), base-passwd (= 3.5.52), bash (= 5.1-5ubuntu1), binutils (= 2.37-10ubuntu1), binutils-common (= 2.37-10ubuntu1), binutils-riscv64-linux-gnu (= 2.37-10ubuntu1), bsdextrautils (= 2.37.2-4ubuntu1), bsdutils (= 1:2.37.2-4ubuntu1), build-essential (= 12.9ubuntu2), bzip2 (= 1.0.8-4ubuntu4), clang-11 (= 1:11.1.0-4), clinfo (= 3.0.21.02.21-1), cmake (= 3.21.4-1ubuntu1), cmake-data (= 3.21.4-1ubuntu1), coreutils (= 8.32-4ubuntu3), cpp (= 4:11.2.0-1ubuntu1), cpp-11 (= 11.2.0-12ubuntu1), dash (= 0.5.11+git20210903+057cd650a4ed-3), debconf (= 1.5.79), debhelper (= 13.5.2ubuntu1), debianutils (= 5.5-1ubuntu1), debugedit (= 1:5.0-3), dh-autoreconf (= 20), dh-elpa-helper (= 2.0.8ubuntu1), dh-strip-nondeterminism (= 1.12.1-1), diffstat (= 1.64-1build1), diffutils (= 1:3.8-0ubuntu1), dpkg (= 1.20.9ubuntu2), dpkg-dev (= 1.20.9ubuntu2), dwz (= 0.14-1build1), emacsen-common (= 3.0.4), file (= 1:5.41-2), findutils (= 4.8.0-1ubuntu2), g++ (= 4:11.2.0-1ubuntu1), g++-11 (= 11.2.0-12ubuntu1), gcc (= 4:11.2.0-1ubuntu1), gcc-11 (= 11.2.0-12ubuntu1), gcc-11-base (= 11.2.0-12ubuntu1), gettext (= 0.21-4ubuntu3), gettext-base (= 0.21-4ubuntu3), gpg (= 2.2.27-2ubuntu1), gpgconf (= 2.2.27-2ubuntu1), grep (= 3.7-1), groff-base (= 1.22.4-7), gzip (= 1.10-4ubuntu2), hostname (= 3.23ubuntu1), icu-devtools (= 67.1-7ubuntu1), init-system-helpers (= 1.60build1), intltool-debian (= 0.35.0+20060710.5), libacl1 (= 2.2.53-10ubuntu2), libaliased-perl (= 0.34-1.1), libapt-pkg-perl (= 0.1.40build1), libapt-pkg6.0 (= 2.3.13), libarchive-zip-perl (= 1.68-1), libarchive13 (= 3.4.3-2build1), libasan6 (= 11.2.0-12ubuntu1), libassuan0 (= 2.5.5-1), libatomic1 (= 11.2.0-12ubuntu1), libattr1 (= 1:2.5.1-1), libaudit-common (= 1:3.0-2ubuntu3), libaudit1 (= 1:3.0-2ubuntu3), libb-hooks-endofscope-perl (= 0.25-1), libb-hooks-op-check-perl (= 0.22-1build4), libbinutils (= 2.37-10ubuntu1), libblkid1 (= 2.37.2-4ubuntu1), libbrotli1 (= 1.0.9-2build4), libbsd0 (= 0.11.3-1ubuntu3), libbz2-1.0 (= 1.0.8-4ubuntu4), libc-bin (= 2.34-0ubuntu3), libc-dev-bin (= 2.34-0ubuntu3), libc6 (= 2.34-0ubuntu3), libc6-dev (= 2.34-0ubuntu3), libcap-ng0 (= 0.7.9-2.2build2), libcap2 (= 1:2.44-1build2), libcapture-tiny-perl (= 0.48-1), libcc1-0 (= 11.2.0-12ubuntu1), libclang-11-dev (= 1:11.1.0-4), libclang-common-11-dev (= 1:11.1.0-4), libclang-cpp11 (= 1:11.1.0-4), libclang-cpp11-dev (= 1:11.1.0-4), libclang1-11 (= 1:11.1.0-4), libclass-data-inheritable-perl (= 0.08-3), libclass-method-modifiers-perl (= 2.13-1), libclass-xsaccessor-perl (= 1.19-3build8), libclone-perl (= 0.45-1build2), libcom-err2 (= 1.46.4-1ubuntu1), libconfig-tiny-perl (= 2.27-1), libconst-fast-perl (= 0.014-1.1), libcpanel-json-xs-perl (= 4.27-1), libcrypt-dev (= 1:4.4.26-1), libcrypt1 (= 1:4.4.26-1), libctf-nobfd0 (= 2.37-10ubuntu1), libctf0 (= 2.37-10ubuntu1), libcurl4 (= 7.74.0-1.3ubuntu2), libdata-dpath-perl (= 0.58-1), libdata-messagepack-perl (= 1.01-2), libdata-optlist-perl (= 0.112-1), libdata-validate-domain-perl (= 0.10-1.1), libdb5.3 (= 5.3.28+dfsg1-0.8ubuntu2), libdebconfclient0 (= 0.256ubuntu4), libdebhelper-perl (= 13.5.2ubuntu1), libdevel-callchecker-perl (= 0.008-1ubuntu3), libdevel-size-perl (= 0.83-1build3), libdevel-stacktrace-perl (= 2.0400-1), libdpkg-perl (= 1.20.9ubuntu2), libdw1 (= 0.186-1), libdynaloader-functions-perl (= 0.003-1.1), libedit2 (= 3.1-20210910-1), libelf1 (= 0.186-1), libemail-address-xs-perl (= 1.04-1build5), libexception-class-perl (= 1.45-1), libexpat1 (= 2.4.1-3), libexporter-tiny-perl (= 1.002002-1), libffi-dev (= 3.4.2-1ubuntu5), libffi8 (= 3.4.2-1ubuntu5), libfile-basedir-perl (= 0.09-1), libfile-find-rule-perl (= 0.34-1), libfile-stripnondeterminism-perl (= 1.12.1-1), libfont-ttf-perl (= 1.06-1.1), libgc1 (= 1:8.0.4-3build1), libgcc-11-dev (= 11.2.0-12ubuntu1), libgcc-s1 (= 11.2.0-12ubuntu1), libgcrypt20 (= 1.9.4-3ubuntu2), libgdbm-compat4 (= 1.22-1), libgdbm6 (= 1.22-1), libglib2.0-0 (= 2.70.1-1), libgmp10 (= 2:6.2.1+dfsg-1ubuntu3), libgnutls30 (= 3.7.2-2ubuntu1), libgomp1 (= 11.2.0-12ubuntu1), libgpg-error0 (= 1.42-3), libgssapi-krb5-2 (= 1.19.2-0ubuntu1), libhogweed6 (= 3.7.3-1build1), libhtml-html5-entities-perl (= 0.004-1.1), libhwloc-dev (= 2.6.0-1), libhwloc15 (= 2.6.0-1), libicu-dev (= 67.1-7ubuntu1), libicu67 (= 67.1-7ubuntu1), libidn2-0 (= 2.3.2-2), libimport-into-perl (= 1.002005-1), libio-interactive-perl (= 1.023-1), libio-prompt-tiny-perl (= 0.003-1), libio-string-perl (= 1.08-3.1), libipc-run3-perl (= 0.048-2), libipc-system-simple-perl (= 1.30-1), libisl23 (= 0.24-2), libiterator-perl (= 0.03+ds1-1.1), libiterator-util-perl (= 0.02+ds1-1.1), libjson-maybexs-perl (= 1.004003-1), libjsoncpp24 (= 1.9.4-5), libk5crypto3 (= 1.19.2-0ubuntu1), libkeyutils1 (= 1.6.1-2ubuntu2), libkrb5-3 (= 1.19.2-0ubuntu1), libkrb5support0 (= 1.19.2-0ubuntu1), libldap-2.5-0 (= 2.5.6+dfsg-1~exp1ubuntu1), liblist-compare-perl (= 0.55-1), liblist-moreutils-perl (= 0.430-2), liblist-moreutils-xs-perl (= 0.430-2build1), liblist-someutils-perl (= 0.58-1), liblist-utilsby-perl (= 0.11-1), libllvm11 (= 1:11.1.0-4), libltdl-dev (= 2.4.6-15build1), libltdl7 (= 2.4.6-15build1), liblz4-1 (= 1.9.3-2build1), liblzma5 (= 5.2.5-2build1), liblzo2-2 (= 2.10-2build2), libmagic-mgc (= 1:5.41-2), libmagic1 (= 1:5.41-2), libmarkdown2 (= 2.2.6-1ubuntu2), libmd0 (= 1.0.4-1), libmodule-implementation-perl (= 0.09-1.1), libmodule-runtime-perl (= 0.016-1), libmoo-perl (= 2.005004-2), libmoox-aliases-perl (= 0.001006-1.1), libmount1 (= 2.37.2-4ubuntu1), libmouse-perl (= 2.5.10-1build3), libmpc3 (= 1.2.1-1), libmpdec3 (= 2.5.1-2build1), libmpfr6 (= 4.1.0-3build2), libnamespace-clean-perl (= 0.27-1), libncurses-dev (= 6.3-1), libncurses6 (= 6.3-1), libncursesw6 (= 6.3-1), libnet-domain-tld-perl (= 1.75-1.1), libnettle8 (= 3.7.3-1build1), libnghttp2-14 (= 1.43.0-1build2), libnsl-dev (= 1.3.0-2build1), libnsl2 (= 1.3.0-2build1), libnuma-dev (= 2.0.14-3ubuntu1), libnuma1 (= 2.0.14-3ubuntu1), libnumber-compare-perl (= 0.03-2), libobjc-11-dev (= 11.2.0-12ubuntu1), libobjc4 (= 11.2.0-12ubuntu1), libp11-kit0 (= 0.24.0-5), libpackage-stash-perl (= 0.39-1), libpam-modules (= 1.4.0-10ubuntu1), libpam-modules-bin (= 1.4.0-10ubuntu1), libpam-runtime (= 1.4.0-10ubuntu1), libpam0g (= 1.4.0-10ubuntu1), libparams-classify-perl (= 0.015-1build4), libparams-util-perl (= 1.102-1build2), libpath-tiny-perl (= 0.120-1), libpcre2-8-0 (= 10.39-3), libpcre3 (= 2:8.39-13build4), libperl5.32 (= 5.32.1-3ubuntu3), libperlio-gzip-perl (= 0.19-1build7), libperlio-utf8-strict-perl (= 0.008-1build2), libpfm4 (= 4.11.1+git32-gd0b85fb-1), libpipeline1 (= 1.5.4-1), libproc-processtable-perl (= 0.634-1), libprocps8 (= 2:3.3.17-5ubuntu3), libpsl5 (= 0.21.0-1.2build1), libpython3-stdlib (= 3.9.7-4), libpython3.9-minimal (= 3.9.9-1build1), libpython3.9-stdlib (= 3.9.9-1build1), libreadline8 (= 8.1-2build1), librhash0 (= 1.4.2-1), librole-tiny-perl (= 2.002004-1), librtmp1 (= 2.4+20151223.gitfa8646d.1-2build3), libsasl2-2 (= 2.1.27+dfsg2-2build1), libsasl2-modules-db (= 2.1.27+dfsg2-2build1), libselinux1 (= 3.3-1), libsereal-decoder-perl (= 4.018+ds-1build2), libsereal-encoder-perl (= 4.018+ds-1build2), libsigsegv2 (= 2.13-1ubuntu2), libsmartcols1 (= 2.37.2-4ubuntu1), libsort-versions-perl (= 1.62-1), libsqlite3-0 (= 3.36.0-2), libssh-4 (= 0.9.6-1), libssl1.1 (= 1.1.1l-1ubuntu1), libssl3 (= 3.0.0-1ubuntu1), libstdc++-11-dev (= 11.2.0-12ubuntu1), libstdc++6 (= 11.2.0-12ubuntu1), libstrictures-perl (= 2.000006-1), libsub-exporter-perl (= 0.988-1), libsub-exporter-progressive-perl (= 0.001013-1), libsub-identify-perl (= 0.14-1build4), libsub-install-perl (= 0.928-1.1), libsub-name-perl (= 0.26-1build2), libsub-override-perl (= 0.09-2), libsub-quote-perl (= 2.006006-1), libsystemd0 (= 249.5-2ubuntu1), libtasn1-6 (= 4.18.0-4), libterm-readkey-perl (= 2.38-1build3), libtext-glob-perl (= 0.11-2), libtext-levenshteinxs-perl (= 0.03-4build9), libtext-markdown-discount-perl (= 0.13-1), libtext-xslate-perl (= 3.5.9-1), libtime-duration-perl (= 1.21-1), libtime-moment-perl (= 0.44-1build5), libtimedate-perl (= 2.3300-2), libtinfo-dev (= 6.3-1), libtinfo6 (= 6.3-1), libtirpc-common (= 1.3.2-2), libtirpc-dev (= 1.3.2-2), libtirpc3 (= 1.3.2-2), libtool (= 2.4.6-15build1), libtry-tiny-perl (= 0.31-1), libtype-tiny-perl (= 1.012004-1), libuchardet0 (= 0.0.7-1build1), libudev1 (= 249.5-2ubuntu1), libunicode-utf8-perl (= 0.62-1build3), libunistring2 (= 0.9.10-6), liburi-perl (= 5.10-1), libuuid1 (= 2.37.2-4ubuntu1), libuv1 (= 1.40.0-2ubuntu1), libvariable-magic-perl (= 0.62-1build4), libxml-libxml-perl (= 2.0134+dfsg-2build2), libxml-namespacesupport-perl (= 1.12-1.1), libxml-sax-base-perl (= 1.09-1.1), libxml-sax-perl (= 1.02+dfsg-3), libxml2 (= 2.9.12+dfsg-5), libxml2-dev (= 2.9.12+dfsg-5), libxxhash0 (= 0.8.0-2build1), libyaml-0-2 (= 0.2.2-1build1), libyaml-libyaml-perl (= 0.83+ds-1), libz3-4 (= 4.8.12-1), libz3-dev (= 4.8.12-1), libzstd1 (= 1.4.8+dfsg-3), lintian (= 2.111.0ubuntu2), linux-libc-dev (= 5.15.0-13.13), llvm-11 (= 1:11.1.0-4), llvm-11-dev (= 1:11.1.0-4), llvm-11-linker-tools (= 1:11.1.0-4), llvm-11-runtime (= 1:11.1.0-4), llvm-11-tools (= 1:11.1.0-4), login (= 1:4.8.1-2ubuntu1), lsb-base (= 11.1.0ubuntu3), lto-disabled-list (= 17), lzip (= 1.22-4), lzop (= 1.04-2build1), m4 (= 1.4.18-5ubuntu1), make (= 4.3-4ubuntu2), man-db (= 2.9.4-2build1), mawk (= 1.3.4.20200120-2build1), media-types (= 4.0.0), ncurses-base (= 6.3-1), ncurses-bin (= 6.3-1), ocl-icd-dev (= 2.2.14-3), ocl-icd-libopencl1 (= 2.2.14-3), ocl-icd-opencl-dev (= 2.2.14-3), opencl-c-headers (= 3.0~2021.06.30-2), opencl-clhpp-headers (= 3.0~2.0.15-1ubuntu1), patch (= 2.7.6-7build1), patchutils (= 0.4.2-1build1), perl (= 5.32.1-3ubuntu3), perl-base (= 5.32.1-3ubuntu3), perl-modules-5.32 (= 5.32.1-3ubuntu3), pkg-config (= 0.29.2-1ubuntu2), pkg-kde-tools (= 0.15.32ubuntu4), po-debconf (= 1.0.21+nmu1), procps (= 2:3.3.17-5ubuntu3), python3 (= 3.9.7-4), python3-minimal (= 3.9.7-4), python3-pkg-resources (= 59.2.0-1), python3-pygments (= 2.7.1+dfsg-2.1), python3-yaml (= 5.4.1-1), python3.9 (= 3.9.9-1build1), python3.9-minimal (= 3.9.9-1build1), readline-common (= 8.1-2build1), rpcsvc-proto (= 1.4.2-0ubuntu5), sed (= 4.8-1), sensible-utils (= 0.0.17), sysvinit-utils (= 2.96-7ubuntu2), t1utils (= 1.41-4build1), tar (= 1.34+dfsg-1build2), tzdata (= 2021e-1ubuntu1), ucf (= 3.0043), unzip (= 6.0-26ubuntu2), util-linux (= 2.37.2-4ubuntu1), xz-utils (= 5.2.5-2build1), zlib1g (= 1:1.2.11.dfsg-2ubuntu7) Environment: DEB_BUILD_OPTIONS="nocheck parallel=8" DEB_BUILD_PROFILES="noudeb" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1637600418" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ libpocl-dev_1.8-2_riscv64.deb ----------------------------- new Debian package, version 2.0. size 11880 bytes: control archive=917 bytes. 1181 bytes, 24 lines control 197 bytes, 3 lines md5sums Package: libpocl-dev Source: pocl Version: 1.8-2 Architecture: riscv64 Maintainer: Ubuntu Developers Original-Maintainer: Debian OpenCL Maintainers Installed-Size: 49 Depends: libpocl2 (= 1.8-2), libc6 (>= 2.34), ocl-icd-libopencl1 | libopencl1 Section: libdevel Priority: optional Homepage: http://portablecl.org Description: development files for the pocl library Portable Computing Language is an open source implementation of the OpenCL standard which can be easily adapted for new targets. One of the goals of the project is improving performance portability of OpenCL programs, avoiding the need for target-dependent manual optimizations. A "native" target is included, which allows running OpenCL kernels on the host (CPU). . This package provides the development files for the pocl library. Unless very specific needs, this package is useless. This package is only required to link directly and explicitly with pocl. . To develop OpenCL programs (that can be run with pocl), the opencl-dev virtual package (provided by ocl-icd-opencl-dev for example) is required, not this one. drwxr-xr-x root/root 0 2021-11-22 17:00 ./ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/bin/ -rwxr-xr-x root/root 22968 2021-11-22 17:00 ./usr/bin/poclcc drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/lib/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/lib/riscv64-linux-gnu/ lrwxrwxrwx root/root 0 2021-11-22 17:00 ./usr/lib/riscv64-linux-gnu/libpocl.so -> libpocl.so.2 drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/lib/riscv64-linux-gnu/pkgconfig/ -rw-r--r-- root/root 230 2021-11-22 17:00 ./usr/lib/riscv64-linux-gnu/pkgconfig/pocl.pc drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/doc/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/doc/libpocl-dev/ lrwxrwxrwx root/root 0 2021-11-22 17:00 ./usr/share/doc/libpocl-dev/changelog.Debian.gz -> ../libpocl2/changelog.Debian.gz -rw-r--r-- root/root 6284 2021-11-22 17:00 ./usr/share/doc/libpocl-dev/copyright libpocl2_1.8-2_riscv64.deb -------------------------- new Debian package, version 2.0. size 2053766 bytes: control archive=2101 bytes. 1084 bytes, 23 lines control 567 bytes, 7 lines md5sums 28 bytes, 1 lines shlibs 3460 bytes, 89 lines symbols 74 bytes, 2 lines triggers Package: libpocl2 Source: pocl Version: 1.8-2 Architecture: riscv64 Maintainer: Ubuntu Developers Original-Maintainer: Debian OpenCL Maintainers Installed-Size: 6974 Depends: libpocl2-common (= 1.8-2), clang-11, libc6 (>= 2.34), libclang-cpp11 (>= 1:11.1.0), libgcc-s1 (>= 3.4), libhwloc15 (>= 2.6.0), libllvm11 (>= 1:9~svn298832-1~), libstdc++6 (>= 11) Recommends: pocl-opencl-icd Breaks: libpocl1-common (<< 0.13-9) Replaces: libpocl1-common (<< 0.13-9) Section: libs Priority: optional Multi-Arch: same Homepage: http://portablecl.org Description: Portable Computing Language library Portable Computing Language is an open source implementation of the OpenCL standard which can be easily adapted for new targets. One of the goals of the project is improving performance portability of OpenCL programs, avoiding the need for target-dependent manual optimizations. A "native" target is included, which allows running OpenCL kernels on the host (CPU). . This package provides the core of pocl. drwxr-xr-x root/root 0 2021-11-22 17:00 ./ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/lib/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/lib/riscv64-linux-gnu/ lrwxrwxrwx root/root 0 2021-11-22 17:00 ./usr/lib/riscv64-linux-gnu/libpocl.so.2 -> libpocl.so.2.8.0 -rw-r--r-- root/root 640600 2021-11-22 17:00 ./usr/lib/riscv64-linux-gnu/libpocl.so.2.8.0 drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/lib/riscv64-linux-gnu/pocl/ -rw-r--r-- root/root 18760 2021-11-22 17:00 ./usr/lib/riscv64-linux-gnu/pocl/libpocl-devices-basic.so -rw-r--r-- root/root 18592 2021-11-22 17:00 ./usr/lib/riscv64-linux-gnu/pocl/libpocl-devices-pthread.so drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/doc/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/doc/libpocl2/ -rw-r--r-- root/root 1052 2021-11-22 17:00 ./usr/share/doc/libpocl2/changelog.Debian.gz -rw-r--r-- root/root 6284 2021-11-22 17:00 ./usr/share/doc/libpocl2/copyright drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/lintian/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 128 2021-11-22 17:00 ./usr/share/lintian/overrides/libpocl2 drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/pocl/ -rw-r--r-- root/root 6426376 2021-11-22 17:00 ./usr/share/pocl/kernel-riscv64-unknown-linux-gnu-GENERIC.bc pocl-opencl-icd_1.8-2_riscv64.deb --------------------------------- new Debian package, version 2.0. size 4512 bytes: control archive=864 bytes. 29 bytes, 1 lines conffiles 904 bytes, 22 lines control 292 bytes, 4 lines md5sums Package: pocl-opencl-icd Source: pocl Version: 1.8-2 Architecture: riscv64 Maintainer: Ubuntu Developers Original-Maintainer: Debian OpenCL Maintainers Installed-Size: 31 Depends: libpocl2 (= 1.8-2) Provides: opencl-icd, opencl-icd-1.1-1, opencl-icd-1.2-1 Section: libs Priority: optional Multi-Arch: same Homepage: http://portablecl.org Description: pocl ICD Portable Computing Language is an open source implementation of the OpenCL standard which can be easily adapted for new targets. One of the goals of the project is improving performance portability of OpenCL programs, avoiding the need for target-dependent manual optimizations. A "native" target is included, which allows running OpenCL kernels on the host (CPU). . This package allows one to use pocl as an installable client driver (ICD) for OpenCL. drwxr-xr-x root/root 0 2021-11-22 17:00 ./ drwxr-xr-x root/root 0 2021-11-22 17:00 ./etc/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./etc/OpenCL/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./etc/OpenCL/vendors/ -rw-r--r-- root/root 16 2021-11-22 17:00 ./etc/OpenCL/vendors/pocl.icd drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/doc/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/doc/pocl-opencl-icd/ -rw-r--r-- root/root 396 2021-10-12 14:33 ./usr/share/doc/pocl-opencl-icd/README -rw-r--r-- root/root 1410 2021-10-12 14:33 ./usr/share/doc/pocl-opencl-icd/TODO lrwxrwxrwx root/root 0 2021-11-22 17:00 ./usr/share/doc/pocl-opencl-icd/changelog.Debian.gz -> ../libpocl2/changelog.Debian.gz -rw-r--r-- root/root 6284 2021-11-22 17:00 ./usr/share/doc/pocl-opencl-icd/copyright drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/lintian/ drwxr-xr-x root/root 0 2021-11-22 17:00 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 74 2021-11-22 17:00 ./usr/share/lintian/overrides/pocl-opencl-icd +------------------------------------------------------------------------------+ | Post Build | +------------------------------------------------------------------------------+ +------------------------------------------------------------------------------+ | Cleanup | +------------------------------------------------------------------------------+ Purging /<> Not removing build depends: as requested +------------------------------------------------------------------------------+ | Summary | +------------------------------------------------------------------------------+ Build Architecture: riscv64 Build Type: any Build-Space: 365188 Build-Time: 1858 Distribution: jammy-proposed Host Architecture: riscv64 Install-Time: 651 Job: pocl_1.8-2.dsc Machine Architecture: riscv64 Package: pocl Package-Time: 2550 Source-Version: 1.8-2 Space: 365188 Status: successful Version: 1.8-2 -------------------------------------------------------------------------------- Finished at 2021-12-02T18:22:59Z Build needed 00:42:30, 365188k disk space Adding user buildd to group lxd RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-22579410 Scanning for processes to kill in build PACKAGEBUILD-22579410 RUN: /usr/share/launchpad-buildd/bin/in-target umount-chroot --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-22579410 Stopping target for build PACKAGEBUILD-22579410 RUN: /usr/share/launchpad-buildd/bin/in-target remove-build --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-22579410 Removing build PACKAGEBUILD-22579410