[all-commits] [llvm/llvm-project] 7a4e39: [MLIR][SPIRVToLLVM] Implementation of spv.BitField...

George Mitenkov via All-commits all-commits at lists.llvm.org
Wed Jul 8 02:38:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7a4e39b326d0cc69e6b4fbe9010aaf5dc704a12f
      https://github.com/llvm/llvm-project/commit/7a4e39b326d0cc69e6b4fbe9010aaf5dc704a12f
  Author: George Mitenkov <georgemitenk0v at gmail.com>
  Date:   2020-07-08 (Wed, 08 Jul 2020)

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

  Log Message:
  -----------
  [MLIR][SPIRVToLLVM] Implementation of spv.BitFieldSExtract and spv.BitFieldUExtract patterns

This patch adds conversion patterns for `spv.BitFieldSExtract` and `spv.BitFieldUExtract`.
As in the patch for `spv.BitFieldInsert`, `offset` and `count` have to be broadcasted in
vector case and casted to match the type of the base.

Reviewed By: antiagainst

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




More information about the All-commits mailing list