[all-commits] [llvm/llvm-project] 8158f0: [X86] Use X86_MC::ParseX86Triple to add mode featu...

topperc via All-commits all-commits at lists.llvm.org
Fri Jul 24 10:48:46 PDT 2020


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

  Changed paths:
    M llvm/lib/Target/X86/X86Subtarget.cpp
    M llvm/lib/Target/X86/X86Subtarget.h

  Log Message:
  -----------
  [X86] Use X86_MC::ParseX86Triple to add mode features to feature string in X86Subtarget::initSubtargetFeatures.

Remove mode flags from constructor and remove calls to
ToggleFeature for the mode bits.

By adding them to the feature string we handle initializing the
mode member variables in X86Subtarget and the feature bits in
MCSubtargetInfo in one shot.




More information about the All-commits mailing list