[all-commits] [llvm/llvm-project] ff77d1: BasicTTIImpl.h - remove unused MCSchedule.h includ...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Fri Sep 11 02:45:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ff77d165a8161705c8ec3bb3ced2711dce297699
      https://github.com/llvm/llvm-project/commit/ff77d165a8161705c8ec3bb3ced2711dce297699
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-09-11 (Fri, 11 Sep 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/BasicTTIImpl.h

  Log Message:
  -----------
  BasicTTIImpl.h - remove unused MCSchedule.h include. NFCI.


  Commit: 70a05ee2880e0ad88416ae4b4bed3cadc53e5cd1
      https://github.com/llvm/llvm-project/commit/70a05ee2880e0ad88416ae4b4bed3cadc53e5cd1
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-09-11 (Fri, 11 Sep 2020)

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

  Log Message:
  -----------
  [X86] Keep variables from getDataLayout/getDebugLoc calls as const reference. NFCI.

These are only ever used as references in the called functions, so just pass the original reference instead of copying it.


Compare: https://github.com/llvm/llvm-project/compare/bceca7a99624...70a05ee2880e


More information about the All-commits mailing list