[PATCH] D75539: [mlir] Generate CmpFPredicate as an EnumAttr in tablegen

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 3 09:40:20 PST 2020


rriddle created this revision.
rriddle added a reviewer: ftynse.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar, mehdi_amini.
Herald added a project: LLVM.
rriddle added a child revision: D75540: [mlir][NFC] Sort the operations alphabetically and add header guards..

This allows for attaching the attribute to CmpF as a proper argument, and thus enables the removal of a bunch of c++ code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75539

Files:
  mlir/include/mlir/Dialect/StandardOps/IR/Ops.h
  mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
  mlir/lib/Dialect/StandardOps/IR/Ops.cpp
  mlir/test/IR/invalid-ops.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75539.247938.patch
Type: text/x-patch
Size: 10532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200303/45b978eb/attachment.bin>


More information about the llvm-commits mailing list