[all-commits] [llvm/llvm-project] 620c38: [mlir][nfc] De-duplicate tests from `Type::isIntOr...

Andrzej Warzyński via All-commits all-commits at lists.llvm.org
Thu Mar 6 01:04:51 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 620c38371de46d45e9095936c823e3e40a2c5f64
      https://github.com/llvm/llvm-project/commit/620c38371de46d45e9095936c823e3e40a2c5f64
  Author: Andrzej Warzyński <andrzej.warzynski at arm.com>
  Date:   2025-03-06 (Thu, 06 Mar 2025)

  Changed paths:
    M mlir/lib/Interfaces/DataLayoutInterfaces.cpp
    M mlir/lib/Target/LLVMIR/ModuleImport.cpp

  Log Message:
  -----------
  [mlir][nfc] De-duplicate tests from `Type::isIntOrFloat` (#129710)

This PR makes sure that we always use `Type::isIntOrFloat` rather than
re-implementing this condition inline. Also, it removes `isScalarType`
that effectively re-implemented this method.



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