[all-commits] [llvm/llvm-project] dc4330: [SPIR-V] Promote arbitrary width ints to regular w...

Michal Paszkowski via All-commits all-commits at lists.llvm.org
Mon Mar 13 14:46:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dc4330a9259f8a5326c8356f3034b598a11e2025
      https://github.com/llvm/llvm-project/commit/dc4330a9259f8a5326c8356f3034b598a11e2025
  Author: Michal Paszkowski <michal.paszkowski at outlook.com>
  Date:   2023-03-13 (Mon, 13 Mar 2023)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVGlobalRegistry.cpp
    M llvm/lib/Target/SPIRV/SPIRVISelLowering.cpp
    M llvm/lib/Target/SPIRV/SPIRVInstructionSelector.cpp
    M llvm/lib/Target/SPIRV/SPIRVUtils.cpp
    A llvm/test/CodeGen/SPIRV/constant/local-arbitrary-width-integers-constants-type-promotion.ll
    M llvm/test/CodeGen/SPIRV/constant/local-integers-constants.ll

  Log Message:
  -----------
  [SPIR-V] Promote arbitrary width ints to regular width

After this patch all arbitrary size integers (smaller than 64 bits) in
LLVM IR will be promoted to regular size type in SPIR-V (OpTypeInt
8/16/32/64).

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




More information about the All-commits mailing list