[all-commits] [llvm/llvm-project] 5acab1: [mlir][SPIRV] `IfOpConversion`: Compute result typ...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Apr 4 09:37:37 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5acab1bd15004e0ab7af60d2c4919c189bd38520
      https://github.com/llvm/llvm-project/commit/5acab1bd15004e0ab7af60d2c4919c189bd38520
  Author: Matthias Springer <me at m-sp.org>
  Date:   2025-04-04 (Fri, 04 Apr 2025)

  Changed paths:
    M mlir/lib/Conversion/SCFToSPIRV/SCFToSPIRV.cpp

  Log Message:
  -----------
  [mlir][SPIRV] `IfOpConversion`: Compute result types earlier (#134380)

Compute the result types and bail out before modifying any IR. That is
more efficient when type conversion failed, because no modifications
must be rolled back.

Note: This is in preparation of the One-Shot Dialect Conversion
refactoring.



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