[all-commits] [llvm/llvm-project] fc85cc: AMDGPU/MC: Simplify AsmParser for VOP3P

petar-avramovic via All-commits all-commits at lists.llvm.org
Mon Dec 5 03:47:08 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fc85ccd7b3cf7e6a7e7aef9e04c181df15b543e3
      https://github.com/llvm/llvm-project/commit/fc85ccd7b3cf7e6a7e7aef9e04c181df15b543e3
  Author: Petar Avramovic <Petar.Avramovic at amd.com>
  Date:   2022-12-05 (Mon, 05 Dec 2022)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp

  Log Message:
  -----------
  AMDGPU/MC: Simplify AsmParser for VOP3P

Remove check that instruction has src_modifiers because
isRegOrImmWithInputMods essentially includes this check.
isMod is no longer used after the refactor. Also, was unreachable case
inside for loop. clamp and omod operands are handled after the loop.

Differential Revision: https://reviews.llvm.org/D139194




More information about the All-commits mailing list