[all-commits] [llvm/llvm-project] 452d0b: [mips] Make MipsAsmParser::isEvaluated static func...

Simon Atanasyan via All-commits all-commits at lists.llvm.org
Wed Nov 20 05:08:00 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 452d0b21e00d6f80e3b12f9ffc4fb5bc4986f081
      https://github.com/llvm/llvm-project/commit/452d0b21e00d6f80e3b12f9ffc4fb5bc4986f081
  Author: Simon Atanasyan <simon at atanasyan.com>
  Date:   2019-11-20 (Wed, 20 Nov 2019)

  Changed paths:
    M llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp

  Log Message:
  -----------
  [mips] Make MipsAsmParser::isEvaluated static function. NFC


  Commit: 8ac68f9dc58ab7420449fd49533f62788681e622
      https://github.com/llvm/llvm-project/commit/8ac68f9dc58ab7420449fd49533f62788681e622
  Author: Simon Atanasyan <simon at atanasyan.com>
  Date:   2019-11-20 (Wed, 20 Nov 2019)

  Changed paths:
    M llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp

  Log Message:
  -----------
  [mips] Put conditions when we need to expand memory operand into a separate function. NFC

`expandMemInst` expects instruction with 3 or 4 operands and the last
operand requires expanding. It's redundant to scan all operands in a
loop. We can check the last operands.


Compare: https://github.com/llvm/llvm-project/compare/525f9c0be538...8ac68f9dc58a


More information about the All-commits mailing list