MMarius Brehler[mlir][emitc] Add div, mul and rem operators
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[mlir][emitc] Add div, mul and rem operators This adds operations for binary multiplicative arithmetic operators to EmitC. The input and output arguments for the remainder operator are restricted to index (emitted as size_t), integers and the EmitC opaque types (as the operator can be overloaded for a custom type). The multiplication and division operator further support floating point numbers. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D154846 | 2 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][emitc] Add a cast op This adds a cast operation that allows to perform an explicit type conversion. The cast op is emitted as a C-style cast. It can be applied to integer, float, index and EmitC types. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D123514 | 4 年前 | |
[mlir][emitc] Replace !emitc.opaque pointers Replaces using !emitc.opaque pointers which using !emitc.ptr types. | 4 年前 | |
[mlir][emitc][nfc] Clean up tests With https://reviews.llvm.org/D131666 the types were removed from the EmitC opaque attributes. This cleans up the tests accordingly. | 3 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][NFC] Remove trailing whitespaces from *.td and *.mlir files. This is generated by running sed --in-place 's/[[:space:]]\+$//' mlir/**/*.td sed --in-place 's/[[:space:]]\+$//' mlir/**/*.mlir Reviewed By: rriddle, dcaballe Differential Revision: https://reviews.llvm.org/D138866 | 3 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir][math] Rename math.abs -> math.absf To make room for introducing math.absi. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D131325 | 3 年前 | |
[mlir][NFC] Update textual references of func to func.func in Pass/Target tests The special case parsing of func operations is being removed. | 4 年前 | |
[mlir:Parser] Don't use strings for the "ugly" form of Attribute/Type syntax This commit refactors the syntax of "ugly" attribute/type formats to not use strings for wrapping. This means that moving forward attirbutes and type formats will always need to be in some recognizable form, i.e. if they use incompatible characters they will need to manually wrap those in a string, the framework will no longer do it automatically. This has the benefit of greatly simplifying how parsing attributes/types work, given that we currently rely on some extremely complicated nested parser logic which is quite problematic for a myriad of reasons; unecessary complexity(we create a nested source manager/lexer/etc.), diagnostic locations can be off/wrong given string escaping, etc. Differential Revision: https://reviews.llvm.org/D118505 | 3 年前 | |
[mlir][emitc][nfc] Clean up tests With https://reviews.llvm.org/D131666 the types were removed from the EmitC opaque attributes. This cleans up the tests accordingly. | 3 年前 |