[all-commits] [llvm/llvm-project] a500d6: [MLIR][ACC] Fix -Wunused-variable in dfe7738

Aiden Grossman via All-commits all-commits at lists.llvm.org
Thu Mar 5 17:33:03 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a500d65868ab6760a64de662344516ce4db5ae79
      https://github.com/llvm/llvm-project/commit/a500d65868ab6760a64de662344516ce4db5ae79
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M mlir/lib/Dialect/OpenACC/IR/OpenACCCG.cpp

  Log Message:
  -----------
  [MLIR][ACC] Fix -Wunused-variable in dfe7738

There was a variable only used in an assertion which causes warnings in
non-assertions builds. Fix the issue by inlining the variable into the
assertion given it is only used in one place.



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