[all-commits] [llvm/llvm-project] 091b18: [X86] Return const& in IntelExprStateMachine::getI...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Thu Oct 22 07:55:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 091b18ba81fc1c9774f36df0d903d75aa72b64fb
      https://github.com/llvm/llvm-project/commit/091b18ba81fc1c9774f36df0d903d75aa72b64fb
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp

  Log Message:
  -----------
  [X86] Return const& in IntelExprStateMachine::getIdentifierInfo(). NFCI.

Avoid unnecessary copy in X86AsmParser::ParseIntelOperand


  Commit: 26929780506c3492dddd980da728a92f050fe069
      https://github.com/llvm/llvm-project/commit/26929780506c3492dddd980da728a92f050fe069
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2020-10-22 (Thu, 22 Oct 2020)

  Changed paths:
    M llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp

  Log Message:
  -----------
  [X86] X86AsmParser - make methods const where possible. NFCI.

Reported by cppcheck


Compare: https://github.com/llvm/llvm-project/compare/68ac02c0dd2b...26929780506c


More information about the All-commits mailing list