Skip to content

[PET-to-MLIR] ternaryop for gt condition,floats - #11

Merged
chelini merged 2 commits into
LoopTactics:pet-mlirfrom
Komisarczyk:ternaryOp
Sep 10, 2020
Merged

chelini merged 2 commits into
LoopTactics:pet-mlirfrom
Komisarczyk:ternaryOp

Conversation

@Komisarczyk

Copy link
Copy Markdown

havent done any correctness checks
would need to add another binary conditions- now its only gt
assumption: pet_op_cond only appears for ternaryOp within isl AST as op; other types of control flow would appear as IF-nodes in the isl AST.

Comment thread mlir/tools/mlir-pet/Lib/mlirCodegen.cc Resolved
Comment thread mlir/tools/mlir-pet/Lib/mlirCodegen.cc Resolved
Comment thread mlir/tools/mlir-pet/Test/ternary.mlir Resolved
@chelini
chelini merged commit 325a41c into LoopTactics:pet-mlir Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants