[all-commits] [llvm/llvm-project] 2bcedd: [SPIR-V] Emit OpExecutionMode ContractionOff for n...

Michal Paszkowski via All-commits all-commits at lists.llvm.org
Thu Jan 19 06:27:23 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bcedd464348e170587b6f798d021f4e182f62e2
      https://github.com/llvm/llvm-project/commit/2bcedd464348e170587b6f798d021f4e182f62e2
  Author: Michal Paszkowski <michal.paszkowski at outlook.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
    R llvm/test/CodeGen/SPIRV/metadata-opencl.ll
    R llvm/test/CodeGen/SPIRV/opencl/kernel_arg_type_function_metadata.ll
    R llvm/test/CodeGen/SPIRV/opencl/kernel_arg_type_module_metadata.ll
    A llvm/test/CodeGen/SPIRV/opencl/metadata/fp_contractions_metadata.ll
    A llvm/test/CodeGen/SPIRV/opencl/metadata/kernel_arg_type_function_metadata.ll
    A llvm/test/CodeGen/SPIRV/opencl/metadata/kernel_arg_type_module_metadata.ll
    A llvm/test/CodeGen/SPIRV/opencl/metadata/no_fp_contractions_metadata.ll
    A llvm/test/CodeGen/SPIRV/opencl/metadata/opencl_version_metadata.ll

  Log Message:
  -----------
  [SPIR-V] Emit OpExecutionMode ContractionOff for no FP_CONTRACT metadata

This change makes the AsmPrinter emit OpExecutionMode ContractionOff
when both opencl.enable.FP_CONTRACT and spirv.ExecutionMode
metadata are not present.

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




More information about the All-commits mailing list