[PATCH] D71888: [mlir] Added llvm.resume and personality functions in LLVM IR Dialect
shraiysh via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 1 03:07:41 PST 2020
shraiysh updated this revision to Diff 241873.
shraiysh retitled this revision from "[mlir] Added llvm.resume in LLVM IR Dialect" to "[mlir] Added llvm.resume and personality functions in LLVM IR Dialect".
shraiysh edited the summary of this revision.
shraiysh added a reviewer: rriddle.
shraiysh added a comment.
Herald added subscribers: Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen.
Please review this.
Also, I am unable to figure out how to model constant expressions for personality in MLIR.
For example,
define dso_local i32 @main() personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) {
...
}
will break right now, because I could not model `bitcast` globally.
Any insights into how do I get bitcast to work as a global instruction will help.
Thanks
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71888/new/
https://reviews.llvm.org/D71888
Files:
mlir/include/mlir/Dialect/LLVMIR/LLVMOps.td
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/lib/Target/LLVMIR/ConvertFromLLVMIR.cpp
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
mlir/test/Dialect/LLVMIR/invalid.mlir
mlir/test/Dialect/LLVMIR/roundtrip.mlir
mlir/test/Target/import.ll
mlir/test/Target/llvmir.mlir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71888.241873.patch
Type: text/x-patch
Size: 15541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200201/85f7e751/attachment.bin>
More information about the llvm-commits
mailing list