[all-commits] [llvm/llvm-project] 2024bf: [AMDGPU] Remove int types from isSISrcFPOperand (#...

Stanislav Mekhanoshin via All-commits all-commits at lists.llvm.org
Tue Sep 26 01:38:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2024bfec9c659d516b7984e75b5a5248cf8a3447
      https://github.com/llvm/llvm-project/commit/2024bfec9c659d516b7984e75b5a5248cf8a3447
  Author: Stanislav Mekhanoshin <rampitec at users.noreply.github.com>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M llvm/lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp

  Log Message:
  -----------
  [AMDGPU] Remove int types from isSISrcFPOperand (#67401)

This is NFCI, I don't believe there are any instructions using packed
types in the ins dag, only in patterns, and the affected function is
only used in the asm parser. However, int types shall not be reported as
fp types.

This may be usesul if we create an asm syntax for packed fp literals
which we currently don't. If/when we do it that shall affect if we
accept FP modifiers on these types or not. Say we could create a syntax
like v2(-lit1, |lit2|) that would matter then.




More information about the All-commits mailing list