[all-commits] [llvm/llvm-project] f1d290: [X86] Merge the FEATURE_64BIT and FEATURE_EM64T bi...

topperc via All-commits all-commits at lists.llvm.org
Tue Jul 7 18:01:33 PDT 2020


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

  Changed paths:
    M llvm/include/llvm/Support/X86TargetParser.def
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/lib/Support/Host.cpp
    M llvm/lib/Support/X86TargetParser.cpp

  Log Message:
  -----------
  [X86] Merge the FEATURE_64BIT and FEATURE_EM64T bits in X86TargetParser.def.

These represent the same thing but 64BIT only showed up from
getHostCPUFeatures providing a list of featuers to clang. While
EM64T showed up from getting the features for a named CPU.

EM64T didn't have a string specifically so it would not be passed
up to clang when getting features for a named CPU. While 64bit
needed a name since that's how it is index.

Merge them by filtering 64bit out before sending features to clang
for named CPUs.




More information about the All-commits mailing list