[all-commits] [llvm/llvm-project] e0c007: [SPIRV][AMD] Disable SPV_KHR_float_control2 for AM...

Juan Manuel Martinez Caamaño via All-commits all-commits at lists.llvm.org
Thu Nov 27 07:16:43 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0c0075819f4fe30c1522a1972b683641e66507a
      https://github.com/llvm/llvm-project/commit/e0c0075819f4fe30c1522a1972b683641e66507a
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2025-11-27 (Thu, 27 Nov 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVCommandLine.cpp
    A llvm/test/CodeGen/SPIRV/extensions/SPV_KHR_float_controls2/disabled-on-amd.ll

  Log Message:
  -----------
  [SPIRV][AMD] Disable SPV_KHR_float_control2 for AMD flavored SPIRV (#169659)

AMD uses the translator to recover LLVM-IR from SPIRV.

Currently, the translator doesn't implement the
`SPV_KHR_float_controls2` extension (I'm working on it).
If this extension is used by the SPIRV module, we cannot translate it
back to LLVM-IR.

I'm working on the extension, but in the meantime, lets just disable it
when the target triple's vendor is `amd`.



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