[all-commits] [llvm/llvm-project] 9641bd: [TableGen] RuleMatcher::defineComplexSubOperand av...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Jan 25 03:41:06 PST 2021


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9641bd0f87dda34c09c606358bb0cb08a641a4f6
      https://github.com/llvm/llvm-project/commit/9641bd0f87dda34c09c606358bb0cb08a641a4f6
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

  Changed paths:
    M llvm/utils/TableGen/GlobalISelEmitter.cpp

  Log Message:
  -----------
  [TableGen] RuleMatcher::defineComplexSubOperand avoid std::string copy. NFCI.

Use const reference to avoid std::string copy - accordingly to the style guide we shouldn't be using auto anyway.

Fixes MSVC analyzer warning.


  Commit: f461e35cbafed593e637305e2a76822dfb7ca6c7
      https://github.com/llvm/llvm-project/commit/f461e35cbafed593e637305e2a76822dfb7ca6c7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-01-25 (Mon, 25 Jan 2021)

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

  Log Message:
  -----------
  [X86][AVX] combineX86ShuffleChain - avoid bitcasts around insert_subvector() shuffle patterns.

We allow insert_subvector lowering of all legal types, so don't always cast to the vXi64/vXf64 shuffle types - this is only necessary for X86ISD::SHUF128/X86ISD::VPERM2X128 patterns later.


Compare: https://github.com/llvm/llvm-project/compare/d196f9e2fca3...f461e35cbafe


More information about the All-commits mailing list