[all-commits] [llvm/llvm-project] 6a3c69: [mlir][spirv] Infer converted type of scf.for from...

Thomas via All-commits all-commits at lists.llvm.org
Tue Aug 25 23:36:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a3c69e918b13482f2f8492ddd3a79ccdcb70f76
      https://github.com/llvm/llvm-project/commit/6a3c69e918b13482f2f8492ddd3a79ccdcb70f76
  Author: Thomas Raoux <thomasraoux at google.com>
  Date:   2020-08-25 (Tue, 25 Aug 2020)

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

  Log Message:
  -----------
  [mlir][spirv] Infer converted type of scf.for from the init value

Instead of using the TypeConverter infer the value of the alloca created based
on the init value. This will allow some ambiguous types like multidimensional
vectors to be converted correctly.

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




More information about the All-commits mailing list