Skip to content
Commit 2d463eff authored by Matt Wala's avatar Matt Wala
Browse files

Implement a ternary operator.

This basically introduces support for pymbolic's If node, but renames
it to IfThenElse (to avoid ambiguity with the If instruction).

To handle Fortran, introduce a pass to expand IfThenElse operations
into their equivalents that are based on control flow instructions.

Bug: #69
parent 89d9978e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment