diff options
author | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2021-01-25 14:16:01 +0000 |
---|---|---|
committer | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2021-01-25 14:17:03 +0000 |
commit | 05d5125d8a9ffa458ea2deff90eb73473db0047e (patch) | |
tree | 5983d16df8b8d5560909de3309ca648c794db45a /llvm/docs/tutorial | |
parent | 7163aa999060f7c524a98024550c5c0cd99c2b4c (diff) | |
download | llvm-05d5125d8a9ffa458ea2deff90eb73473db0047e.zip llvm-05d5125d8a9ffa458ea2deff90eb73473db0047e.tar.gz llvm-05d5125d8a9ffa458ea2deff90eb73473db0047e.tar.bz2 |
[mlir] Generalize OpFoldResult usage in ops with offsets, sizes and operands.
This revision starts evolving the APIs to manipulate ops with offsets, sizes and operands towards a ValueOrAttr abstraction that is already used in folding under the name OpFoldResult.
The objective, in the future, is to allow such manipulations all the way to the level of ODS to avoid all the genuflexions involved in distinguishing between values and attributes for generic constant foldings.
Once this evolution is accepted, the next step will be a mechanical OpFoldResult -> ValueOrAttr.
Differential Revision: https://reviews.llvm.org/D95310
Diffstat (limited to 'llvm/docs/tutorial')
0 files changed, 0 insertions, 0 deletions