[PATCH] D78647: [MLIR] Lower GenericAtomicRMWOp to llvm.cmpxchg.

Frank Laub via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 22 11:26:17 PDT 2020


flaub added a comment.

OK, I could see always lowering enums that would lower to `cmpxchg` via the generic op. But at the moment we have a higher layer that uses the enumerated version for min/max, so I'd prefer to don't remove that. It's much easier to pattern match (even declaratively) the enumerated version than the one with a region.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D78647/new/

https://reviews.llvm.org/D78647





More information about the llvm-commits mailing list