diff options
author | Petar Avramovic <Petar.Avramovic@amd.com> | 2022-12-05 11:49:20 +0100 |
---|---|---|
committer | Petar Avramovic <Petar.Avramovic@amd.com> | 2022-12-05 12:45:39 +0100 |
commit | fc85ccd7b3cf7e6a7e7aef9e04c181df15b543e3 (patch) | |
tree | 0eebde8323b4c98362bdd2680c31a5a7d724ccf5 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | 04aae2527bb1abea554ff8051a95cda9b1fea23c (diff) | |
download | llvm-fc85ccd7b3cf7e6a7e7aef9e04c181df15b543e3.zip llvm-fc85ccd7b3cf7e6a7e7aef9e04c181df15b543e3.tar.gz llvm-fc85ccd7b3cf7e6a7e7aef9e04c181df15b543e3.tar.bz2 |
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
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions