[all-commits] [llvm/llvm-project] c2a8a1: [MLIR][NFC] Remove unnecessary cast.

Antonio via All-commits all-commits at lists.llvm.org
Mon Apr 4 10:01:10 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2a8a104ec320c8bed39c3632eae2fb37f53487b
      https://github.com/llvm/llvm-project/commit/c2a8a104ec320c8bed39c3632eae2fb37f53487b
  Author: antonio-cortes-perez <antonio.cortes.perez at gmail.com>
  Date:   2022-04-04 (Mon, 04 Apr 2022)

  Changed paths:
    M mlir/include/mlir/IR/OpDefinition.h

  Log Message:
  -----------
  [MLIR][NFC] Remove unnecessary cast.

I was reading this post:
https://www.fluentcpp.com/2017/05/19/crtp-helper/

And I noticed that most likely this cast is not needed.
Unless it is needed by some compiler versions.
I tested it with:
cmake --build . --target check-mlir

Reviewed By: rriddle

Differential Revision: https://reviews.llvm.org/D121555




More information about the All-commits mailing list