[all-commits] [llvm/llvm-project] a5621e: [mlir][spirv] Use type dyn_cast when scanning spv....

Lei Zhang via All-commits all-commits at lists.llvm.org
Sun Aug 29 09:08:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5621e26dbc90be3d5af164978f6fcc398f0a1d1
      https://github.com/llvm/llvm-project/commit/a5621e26dbc90be3d5af164978f6fcc398f0a1d1
  Author: Lei Zhang <antiagainst at google.com>
  Date:   2021-08-29 (Sun, 29 Aug 2021)

  Changed paths:
    M mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp

  Log Message:
  -----------
  [mlir][spirv] Use type dyn_cast when scanning spv.GlobalVariable

This avoids crashes when there are spv.GlobalVariable without
pointer type.




More information about the All-commits mailing list