[all-commits] [llvm/llvm-project] 57b41a: [X86] Rename FeatureCMPXCHG8B/FeatureCMPXCHG16B to...

Craig Topper via All-commits all-commits at lists.llvm.org
Sat Mar 19 12:39:32 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57b41af838ddf82ab0360e3d1c25e56a951dcf09
      https://github.com/llvm/llvm-project/commit/57b41af838ddf82ab0360e3d1c25e56a951dcf09
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2022-03-19 (Sat, 19 Mar 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86.td
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/lib/Target/X86/X86InstrCompiler.td
    M llvm/lib/Target/X86/X86InstrInfo.td
    M llvm/lib/Target/X86/X86Subtarget.h
    M llvm/lib/Target/X86/X86TargetTransformInfo.h

  Log Message:
  -----------
  [X86] Rename FeatureCMPXCHG8B/FeatureCMPXCHG16B to FeatureCX8/CX16 to match CPUID.

Rename hasCMPXCHG16B() to canUseCMPXCHG16B() to make it less like other
feature functions. Add a similar canUseCMPXCHG8B() that aliases
hasCX8() to keep similar naming.

Differential Revision: https://reviews.llvm.org/D121978




More information about the All-commits mailing list