[all-commits] [llvm/llvm-project] fb923e: [Local] Verify opcodes match for all insts passed ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed May 28 08:03:48 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fb923e98d13e80d0d1cf878ba5b10da4e81b5cd5
      https://github.com/llvm/llvm-project/commit/fb923e98d13e80d0d1cf878ba5b10da4e81b5cd5
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-05-28 (Wed, 28 May 2025)

  Changed paths:
    M llvm/include/llvm/Transforms/Utils/Local.h
    M llvm/lib/Transforms/Utils/Local.cpp

  Log Message:
  -----------
  [Local] Verify opcodes match for all insts passed to mergeFlags (NFC). (#141231)

The logic for tracking flags relies on all instructions having the same
opcode. Add an assert to check, as suggested in
https://github.com/llvm/llvm-project/pull/140406.

PR: https://github.com/llvm/llvm-project/pull/141231



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