[all-commits] [llvm/llvm-project] 9fc51d: [mlir][spirv] Fix SPIR-V translation registration

Lei Zhang via All-commits all-commits at lists.llvm.org
Mon Apr 27 10:24:04 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9fc51d23db7fddf7fe6f426746cdb680d8d7fa1a
      https://github.com/llvm/llvm-project/commit/9fc51d23db7fddf7fe6f426746cdb680d8d7fa1a
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M mlir/include/mlir/InitAllTranslations.h
    M mlir/lib/Dialect/SPIRV/Serialization/TranslateRegistration.cpp

  Log Message:
  -----------
  [mlir][spirv] Fix SPIR-V translation registration

'From' and 'To' should be reversed. And now we must explicitly
call the registration function given that MLIR moved away from
static registration.

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




More information about the All-commits mailing list