[all-commits] [llvm/llvm-project] d0f2a8: X86Subtarget.h - remove unnecessary TargetMachine....

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun May 24 04:31:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d0f2a8a0492367c6a049afd30eafa550f04e8d5e
      https://github.com/llvm/llvm-project/commit/d0f2a8a0492367c6a049afd30eafa550f04e8d5e
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-05-24 (Sun, 24 May 2020)

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

  Log Message:
  -----------
  X86Subtarget.h - remove unnecessary TargetMachine.h include. NFC.

By moving X86Subtarget::isPositionIndependent() into X86Subtarget.cpp we can remove the header dependency and move the few uses into source files.




More information about the All-commits mailing list