[all-commits] [llvm/llvm-project] 905251: [Flang] Remove unnecessary static_assert

David Green via All-commits all-commits at lists.llvm.org
Tue Jan 9 09:45:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90525125421300d9d1b6bf55288bd1871855d35d
      https://github.com/llvm/llvm-project/commit/90525125421300d9d1b6bf55288bd1871855d35d
  Author: David Green <david.green at arm.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp

  Log Message:
  -----------
  [Flang] Remove unnecessary static_assert

Certain compilers do not seem to like the static assert with a string, causing
a implicit conversion. It can be removed as it should not be reachable and the
mlir::failure should handle it correctly in case it is.




More information about the All-commits mailing list