[all-commits] [llvm/llvm-project] 1edd88: Pre-commit test

Juan Manuel Martinez Caamaño via All-commits all-commits at lists.llvm.org
Mon Nov 10 01:19:58 PST 2025


  Branch: refs/heads/users/jmmartinez/spirv/fix_assertion
  Home:   https://github.com/llvm/llvm-project
  Commit: 1edd88a73c59377bc261f7790f6b4d99f51b3bc9
      https://github.com/llvm/llvm-project/commit/1edd88a73c59377bc261f7790f6b4d99f51b3bc9
  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: 1e86b008ab6e8a19e496eca24f0434bfb24786bf
      https://github.com/llvm/llvm-project/commit/1e86b008ab6e8a19e496eca24f0434bfb24786bf
  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/a38d0d140865...1e86b008ab6e

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