This patch allows the usage of the normalDestOperands and unwindDestOperands operands of llvm.invoke and have them be correctly mapped to phis in the successor when exported to LLVM IR.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D116706
[mlir][LLVM] Implement mapping of phi source values of `llvm.invoke` ClosedPublic Authored by zero9178 on Jan 5 2022, 3:08 PM.
Details Summary This patch allows the usage of the normalDestOperands and unwindDestOperands operands of llvm.invoke and have them be correctly mapped to phis in the successor when exported to LLVM IR.
Diff Detail Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 19 others. · View Herald TranscriptJan 5 2022, 3:08 PM This revision is now accepted and ready to land.Jan 5 2022, 5:52 PM Closed by commit rG560972052a25: [mlir][LLVM] Implement mapping of phi source values of `llvm.invoke` (authored by zero9178). · Explain WhyJan 6 2022, 2:28 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 397723 mlir/lib/Target/LLVMIR/Dialect/LLVMIR/LLVMToLLVMIRTranslation.cpp
mlir/lib/Target/LLVMIR/ModuleTranslation.cpp
mlir/test/Target/LLVMIR/llvmir.mlir
|