[all-commits] [llvm/llvm-project] 5927bb: Pre-commit test

Juan Manuel Martinez Caamaño via All-commits all-commits at lists.llvm.org
Mon Nov 10 00:14:50 PST 2025


  Branch: refs/heads/users/jmmartinez/spirv/fix_assertion
  Home:   https://github.com/llvm/llvm-project
  Commit: 5927bb56909afb9139bb65e8b41949d5978a37c9
      https://github.com/llvm/llvm-project/commit/5927bb56909afb9139bb65e8b41949d5978a37c9
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2025-11-10 (Mon, 10 Nov 2025)

  Changed paths:
    A llvm/test/CodeGen/SPIRV/non_int_constant_null.ll

  Log Message:
  -----------
  Pre-commit test


  Commit: a38d0d140865dabf2fc5e4f30a5fd5e220daa17d
      https://github.com/llvm/llvm-project/commit/a38d0d140865dabf2fc5e4f30a5fd5e220daa17d
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2025-11-10 (Mon, 10 Nov 2025)

  Changed paths:
    M llvm/lib/Target/SPIRV/SPIRVAsmPrinter.cpp
    M llvm/test/CodeGen/SPIRV/non_int_constant_null.ll

  Log Message:
  -----------
  [SPIRV] Fix failing assertion in SPIRVAsmPrinter

When +SPV_KHR_float_controls2 and there was a non-int OpConstantZero we
would call MI.getOperand(1).getImm() when MI was not an OpTypeInt (the
associated test has an OpTypeArray zeroinitialized).

This patch adds the missing condition.


Compare: https://github.com/llvm/llvm-project/compare/db3552b14747...a38d0d140865

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