[all-commits] [llvm/llvm-project] 05d316: [MLIR][SPIRVToLLVM] Conversion of SPIR-V branch ops

George Mitenkov via All-commits all-commits at lists.llvm.org
Tue Jul 21 00:53:07 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 05d3160c9c4f9fa651f865a679750c63d23602fd
      https://github.com/llvm/llvm-project/commit/05d3160c9c4f9fa651f865a679750c63d23602fd
  Author: George Mitenkov <georgemitenk0v at gmail.com>
  Date:   2020-07-21 (Tue, 21 Jul 2020)

  Changed paths:
    M mlir/lib/Conversion/SPIRVToLLVM/ConvertSPIRVToLLVM.cpp
    A mlir/test/Conversion/SPIRVToLLVM/control-flow-ops-to-llvm.mlir

  Log Message:
  -----------
  [MLIR][SPIRVToLLVM] Conversion of SPIR-V branch ops

This patch introduces conversion for `spv.Branch` and `spv.BranchConditional`
ops. Branch weigths for `spv.BranchConditional` are not supported at the
moment, and conversion in this case fails.

Reviewed By: antiagainst

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




More information about the All-commits mailing list