[all-commits] [llvm/llvm-project] c96877: [X86] Remove unnecessary union from getHostCPUFeat...

topperc via All-commits all-commits at lists.llvm.org
Wed Jul 8 23:45:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c96877ff62253aeeaba4ea165861045263d25207
      https://github.com/llvm/llvm-project/commit/c96877ff62253aeeaba4ea165861045263d25207
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

  Changed paths:
    M llvm/lib/Support/Host.cpp

  Log Message:
  -----------
  [X86] Remove unnecessary union from getHostCPUFeatures. NFC

This seems to be leftover copied from an older implementation
of getHostCPUName where we needed this to check the name of
CPU vendor. We don't check the CPU vendor at all in
getHostCPUFeatures so this union and the variable are unneeded.




More information about the All-commits mailing list