[llvm-bugs] [Bug 47264] New: [X86] Merge df9a9bb7beb7bc04ca4188fe0e527baac2900ff1 to 11.0 branch

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 21 00:02:50 PDT 2020


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

            Bug ID: 47264
           Summary: [X86] Merge df9a9bb7beb7bc04ca4188fe0e527baac2900ff1
                    to 11.0 branch
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: builtins
          Assignee: unassignedbugs at nondot.org
          Reporter: craig.topper at gmail.com
                CC: llvm-bugs at lists.llvm.org

__builtin_cpu_is and function multiversioning will fail to correctly detect
skylake-avx512 and cascadelake cpus without this. This code was broken in a
refactoring in June.

Unfortunately, we don't have a good way to test it since it the function
depends on executing CPUID on the host. We should really figure out a way to
mock this interface so we can write tests for this code.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200821/50ea1fa6/attachment.html>


More information about the llvm-bugs mailing list