[all-commits] [llvm/llvm-project] 3e79f4: [MLIR][Arith] Fix arith::AtomicRMWKind::maximumf's...
    Abhishek Varma via All-commits 
    all-commits at lists.llvm.org
       
    Thu Oct 26 09:53:30 PDT 2023
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3e79f4d2c24faaa24a4a12041b4c33d39fec2ec7
      https://github.com/llvm/llvm-project/commit/3e79f4d2c24faaa24a4a12041b4c33d39fec2ec7
  Author: Abhishek Varma <avarma094 at gmail.com>
  Date:   2023-10-26 (Thu, 26 Oct 2023)
  Changed paths:
    M mlir/lib/Dialect/Arith/IR/ArithOps.cpp
    M mlir/test/Dialect/Linalg/transform-op-decompose.mlir
    M mlir/test/Dialect/Linalg/transform-op-split-reduction.mlir
  Log Message:
  -----------
  [MLIR][Arith] Fix arith::AtomicRMWKind::maximumf's identity value (#70312)
-- In order to compute maximum, we should always initialise the
   result with the largest negative value possible for the concerned
   element type, instead of the smallest.
-- This commit essentially adds a fix to this issue.
Signed-off-by: Abhishek Varma <abhishek at nod-labs.com>
    
    
More information about the All-commits
mailing list