[all-commits] [llvm/llvm-project] 6abf5e: [MLIR] NFC: Change dyn_cast to isa to prevent warn...

Kiran Chandramohan via All-commits all-commits at lists.llvm.org
Thu Feb 15 23:14:25 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6abf5e5be2be8834183163f1db33a6cff696f13e
      https://github.com/llvm/llvm-project/commit/6abf5e5be2be8834183163f1db33a6cff696f13e
  Author: Kiran Chandramohan <kiran.chandramohan at arm.com>
  Date:   2024-02-16 (Fri, 16 Feb 2024)

  Changed paths:
    M mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp

  Log Message:
  -----------
  [MLIR] NFC: Change dyn_cast to isa to prevent warning (#81899)

This is to avoid warnings when invoked from the flang documentation
generation build.

The warning can be seen in the CI
(https://lab.llvm.org/buildbot/#/builders/89/builds/57451).
```
/home/buildbot/as-worker-4/publish-sphinx-docs/llvm-project/mlir/tools/mlir-tblgen/OpDefinitionsGen.cpp:2956:38: warning: unused variable ‘operand’ [-Wunused-variable]
```




More information about the All-commits mailing list