[all-commits] [llvm/llvm-project] 5cd56c: [MLIR][NVVM] Remove Pure trait from clock, clock64...

Pradeep Kumar via All-commits all-commits at lists.llvm.org
Fri Jul 11 03:06:08 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5cd56c9216b2c524423a5d913fc8458d28e25d1a
      https://github.com/llvm/llvm-project/commit/5cd56c9216b2c524423a5d913fc8458d28e25d1a
  Author: Pradeep Kumar <pradeepku at nvidia.com>
  Date:   2025-07-11 (Fri, 11 Jul 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
    A mlir/test/Dialect/LLVMIR/cse-nvvm.mlir

  Log Message:
  -----------
  [MLIR][NVVM] Remove Pure trait from clock, clock64, globaltimer Ops (#147608)

This commit removes Pure trait from clock, clock64 and globaltimer Ops by creating NVVM_NCSpecialRegisterOp class to represent Ops which return non-constant values. This prevents CSE pass from optimizing awayredundant uses of them



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