[all-commits] [llvm/llvm-project] add6b2: [NFC][SPIRV] Fix for selectExtInst to be able to p...

Farzon Lotfi via All-commits all-commits at lists.llvm.org
Wed Oct 2 12:34:27 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: add6b2f35f2bcf1f59a2ab2d5b3dab124fe0895a
      https://github.com/llvm/llvm-project/commit/add6b2f35f2bcf1f59a2ab2d5b3dab124fe0895a
  Author: Farzon Lotfi <1802579+farzonl at users.noreply.github.com>
  Date:   2024-10-02 (Wed, 02 Oct 2024)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp

  Log Message:
  -----------
  [NFC][SPIRV] Fix for selectExtInst to be able to process intrinsics (#110864)

`selectExtInst` tries to add the intrinsic to the SPIRV GL extension
instruction.
`MO_IntrinsicID` is always the first operand when we come from
`selectIntrinsic`.
For all those cases `selectExtInst` needs to know to start at index 2.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list