[all-commits] [llvm/llvm-project] 14c59b: [X86] Remove getProcFamily() method from X86Subtar...

topperc via All-commits all-commits at lists.llvm.org
Sat Jul 25 22:53:03 PDT 2020


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

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

  Log Message:
  -----------
  [X86] Remove getProcFamily() method from X86Subtarget. NFC

This isn't used and we've decided in the past that a CPU enum
for tuning is not a good idea.


  Commit: 1a1448e6568d9b11f198e510fa9c4cb6b1f4216a
      https://github.com/llvm/llvm-project/commit/1a1448e6568d9b11f198e510fa9c4cb6b1f4216a
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-25 (Sat, 25 Jul 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86MCInstLower.cpp

  Log Message:
  -----------
  [X86] Merge X86MCInstLowering's maxLongNopLength into emitNop and remove check for FeatureNOPL.

The switch in emitNop uses 64-bit registers for nops exceeding
2 bytes. This isn't valid outside 64-bit mode. We could fix this
easily enough, but there are no users that ask for more than 2
bytes outside 64-bit mode.

Inlining the method to make the coupling between the two methods
more explicit.


Compare: https://github.com/llvm/llvm-project/compare/595d214f47e4...1a1448e6568d


More information about the All-commits mailing list