| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[flang][hlfir] Support polymorphic hlfir.expr values. This patch sets 'polymorphic' attribute of hlfir::ExprType when the value is created from a polymorphic entity. Memoization of such ExprType involves creating a mutable descriptor on the stack, which is initialized (as a null box) and passed to AllocatableApplyMold with the mold being the entity from which the ExprType value is being created. This patch fixes "creating polymorphic temporary" TODO and also several cases of "'fir.convert' op invalid type conversion" error. Reviewed By: tblah Differential Revision: https://reviews.llvm.org/D155541 | 3 年前 | |
[flang][hlfir] Fixed KindMapping for HLFIR intrinsics lowering. hlfir.count lowering was using incorrect default integer kind by ignoring the kind specified in the ModuleOp. Reviewed By: tblah Differential Revision: https://reviews.llvm.org/D156017 | 2 年前 | |
[flang] Add hlfir.declare codegen hlfir.declare codegen generates a fir.declare, and may generate a fir.embox/fir.rebox/fir.emboxchar if the base value does not convey all the variable bounds and length parameter information. Leave OPTIONAL as a TODO to keep this patch simple. It will require making the embox/rebox optional to preserve the optionality aspects. Differential Revision: https://reviews.llvm.org/D137789 | 3 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 3 年前 | ||
| 2 年前 | ||
| 3 年前 |