[all-commits] [llvm/llvm-project] 832456: [mlir][spirv] Correctly deduce PhysicalStorageBuff...

Alexander Batashev via All-commits all-commits at lists.llvm.org
Tue Jun 7 02:15:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8324561e33b44804fe44215a28a2f64c15717dc0
      https://github.com/llvm/llvm-project/commit/8324561e33b44804fe44215a28a2f64c15717dc0
  Author: Alexander Batashev <alexbatashev at outlook.com>
  Date:   2022-06-07 (Tue, 07 Jun 2022)

  Changed paths:
    M mlir/lib/Dialect/SPIRV/IR/TargetAndABI.cpp
    M mlir/test/Dialect/SPIRV/Transforms/vce-deduction.mlir

  Log Message:
  -----------
  [mlir][spirv] Correctly deduce PhysicalStorageBuffer64 addressing model

According to the SPIR-V specification[1], PhysicalStorageBuffer storage
class can only be used iff addressing model is PhysicalStorageBuffer64.

[1]: https://www.khronos.org/registry/SPIR-V/specs/unified1/SPIRV.html#_addressing_model

Reviewed By: antiagainst

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




More information about the All-commits mailing list