[all-commits] [llvm/llvm-project] f281b0: [SPIR-V] Fix result type deduction for sub-byte G_...

Arseniy Obolenskiy via All-commits all-commits at lists.llvm.org
Wed Jun 10 07:57:05 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f281b029ab91e65fd482405aab08cfe8954993b8
      https://github.com/llvm/llvm-project/commit/f281b029ab91e65fd482405aab08cfe8954993b8
  Author: Arseniy Obolenskiy <arseniy.obolenskiy at amd.com>
  Date:   2026-06-10 (Wed, 10 Jun 2026)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVPostLegalizer.cpp
    M llvm/test/CodeGen/SPIRV/trunc-nonstd-bitwidth.ll

  Log Message:
  -----------
  [SPIR-V] Fix result type deduction for sub-byte G_TRUNC (#202717)

G_TRUNC fell through to the default operand-based deduction, so a
sub-byte truncation inherited its wider source type and fed an ill-typed
value into i32 consumers



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list