[all-commits] [llvm/llvm-project] 51b0da: Recommit "[X86] Merge the FEATURE_64BIT and FEATUR...

topperc via All-commits all-commits at lists.llvm.org
Tue Jul 7 19:04:16 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 51b0da731af75c68dd521e04cc576d5a611b1612
      https://github.com/llvm/llvm-project/commit/51b0da731af75c68dd521e04cc576d5a611b1612
  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/Support/Host.cpp
    M llvm/lib/Support/X86TargetParser.cpp

  Log Message:
  -----------
  Recommit "[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