[all-commits] [llvm/llvm-project] 108989: [IR] Disallow ZeroInit for spirv.Image (#73887)

Wenju He via All-commits all-commits at lists.llvm.org
Mon Dec 18 21:54:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 108989b7176651d7a0f3161a7baba588f7c4ea52
      https://github.com/llvm/llvm-project/commit/108989b7176651d7a0f3161a7baba588f7c4ea52
  Author: Wenju He <wenju.he at intel.com>
  Date:   2023-12-19 (Tue, 19 Dec 2023)

  Changed paths:
    M llvm/lib/IR/Type.cpp
    M llvm/unittests/Transforms/Utils/ValueMapperTest.cpp

  Log Message:
  -----------
  [IR] Disallow ZeroInit for spirv.Image (#73887)

According to spirv spec, OpConstantNull's result type can't be image
type. So we can't generate zeroinitializer for spirv.Image.




More information about the All-commits mailing list