[all-commits] [llvm/llvm-project] c359c5: [X86] Centalize the 'sse4' hack to a single place ...

topperc via All-commits all-commits at lists.llvm.org
Mon Jul 6 15:01:12 PDT 2020


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

  Changed paths:
    M clang/lib/Basic/Targets/X86.cpp

  Log Message:
  -----------
  [X86] Centalize the 'sse4' hack to a single place in X86TargetInfo::setFeatureEnabledImpl. NFCI

Instead of detecting the string in 2 places. Just swap the string
to 'sse4.1' or 'sse4.2' at the top of the function.

Prep work for a patch to switch the rest of this function to a
table based system. And I don't want to include 'sse4a' in the
table.




More information about the All-commits mailing list