[mlir][ArithToAMDGPU][NFC] Add PatternBenefit (#150091)

Since there may be caseses where these patterns are run alongside the
generic patterns from ArithExpandOps, add a PatternBenefit argument to
allow these architecture-specific patterns to be prioritized.

GitOrigin-RevId: 5ebbc258d4f410c45f247eb53bc722798b4d4f45
2 files changed
tree: 3b83e354edde0e470495e3fe1a6ee849f8c0f083
  1. benchmark/
  2. cmake/
  3. docs/
  4. examples/
  5. include/
  6. lib/
  7. python/
  8. test/
  9. tools/
  10. unittests/
  11. utils/
  12. .clang-format
  13. .clang-tidy
  14. CMakeLists.txt
  15. LICENSE.TXT
  16. README.md
README.md

Multi-Level Intermediate Representation

See https://mlir.llvm.org/ for more information.