https://bugs.llvm.org/show_bug.cgi?id=45659

            Bug ID: 45659
           Summary: SingleSource/UnitTests/Vector/AVX512F/Vector-AVX512F-c
                    onvert missing link symbol
                    "llvm.x86.avx512.mask.vcvtph2ps.512.v16f32.v16i16.v16f
                    32.i16.i32"
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Programs Tests
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

Using latest clang 500d378ee5064274ed397b2b904e34c7dae496dd. AFAIK,
"llvm.x86.avx512.mask.vcvtph2ps.512.v16f32.v16i16.v16f32.i16.i32" is not
supposed to emitted as a library symbol.

$ bin/clang --version
clang version 11.0.0 (/tmp/persistent/llvm-src/clang
500d378ee5064274ed397b2b904e34c7dae496dd)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /tmp/persistent/llvm-build/bin


[1/2] Linking C executable
SingleSource/UnitTests/Vector/AVX512F/Vector-AVX512F-convert
FAILED: SingleSource/UnitTests/Vector/AVX512F/Vector-AVX512F-convert
: && /tmp/runci_temp-iat6b73j/testsuite-build/tools/timeit --summary
SingleSource/UnitTests/Vector/AVX512F/Vector-AVX512F-convert.link.time
/tmp/persistent/llvm-install/bin/clang -O3 -DNDEBUG  
SingleSource/UnitTests/Vector/AVX512F/CMakeFiles/Vector-AVX512F-convert.dir/convert.c.o
 -o SingleSource/UnitTests/Vector/AVX512F/Vector-AVX512F-convert  -lm && cd
/tmp/runci_temp-iat6b73j/testsuite-build/SingleSource/UnitTests/Vector/AVX512F
&& /home/meinersbur/install/cmake/release/bin/cmake -E create_symlink
/tmp/persistent/testsuite-src/SingleSource/UnitTests/Vector/AVX512F/convert.reference_output
/tmp/runci_temp-iat6b73j/testsuite-build/SingleSource/UnitTests/Vector/AVX512F/convert.reference_output
SingleSource/UnitTests/Vector/AVX512F/CMakeFiles/Vector-AVX512F-convert.dir/convert.c.o:
In function `float16_converts':
convert.c:(.text+0x268): undefined reference to
`llvm.x86.avx512.mask.vcvtph2ps.512.v16f32.v16i16.v16f32.i16.i32'
convert.c:(.text+0x2c9): undefined reference to
`llvm.x86.avx512.mask.vcvtph2ps.512.v16f32.v16i16.v16f32.i16.i32'
convert.c:(.text+0x324): undefined reference to
`llvm.x86.avx512.mask.vcvtph2ps.512.v16f32.v16i16.v16f32.i16.i32'
clang-11: error: linker command failed with exit code 1 (use -v to see
invocation)
ninja: build stopped: subcommand failed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to