[all-commits] [llvm/llvm-project] cfeeab: [SystemZ] Remove unused variable warning (#200359)

Dominik Steenken via All-commits all-commits at lists.llvm.org
Fri May 29 03:21:23 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfeeab33e66c56bf7619a8672bf44cb48473b00d
      https://github.com/llvm/llvm-project/commit/cfeeab33e66c56bf7619a8672bf44cb48473b00d
  Author: Dominik Steenken <dost at de.ibm.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    M llvm/lib/Target/SystemZ/SystemZInstrInfo.cpp

  Log Message:
  -----------
  [SystemZ] Remove unused variable warning (#200359)

This PR removes a variable declaration that was causing issues in builds
without assertions and `-Werror` enabled. Instead of declaring a
variable that is then only used in an assert, the value assigned to the
variable is moved into the assert instead.

This should resolve the build issue caused by #169317 discovered
[here](https://lab.llvm.org/buildbot/#/builders/228/builds/377).



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