[all-commits] [llvm/llvm-project] 2320a4: [mlir][spirv] Workaround driver bug in math.ctlz c...

Lei Zhang via All-commits all-commits at lists.llvm.org
Thu Jun 16 07:54:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2320a4ae907fd0006389d3176e1b9fdbf891b729
      https://github.com/llvm/llvm-project/commit/2320a4ae907fd0006389d3176e1b9fdbf891b729
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2022-06-16 (Thu, 16 Jun 2022)

  Changed paths:
    M mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
    M mlir/test/Conversion/MathToSPIRV/math-to-glsl-spirv.mlir

  Log Message:
  -----------
  [mlir][spirv] Workaround driver bug in math.ctlz conversion again

The previous approach does not work as the Adreno driver is
clever at optimizing away the selection. So now check two
inputs together.

Reviewed By: ThomasRaoux

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




More information about the All-commits mailing list