Skip to content

Commit

Permalink
pr: Add some unary operations.
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Jan 15, 2025
1 parent e26d620 commit 2e863f3
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/vast/Conversion/Parser/ToParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -634,11 +634,14 @@ namespace vast::conv {

using operation_conversions = util::type_list<
ToNoParse< hl::ConstantOp >,
ToNoParse< hl::ImplicitCastOp >,
ToMaybeParse< hl::ImplicitCastOp >,
ToNoParse< hl::CmpOp >, ToNoParse< hl::FCmpOp >,
ToMaybeParse< hl::Deref >,
// Integer arithmetic
ToMaybeParse< hl::AddIOp >, ToMaybeParse< hl::SubIOp >,
// Non-parsing integer arithmetic operations
ToMaybeParse< hl::PostIncOp >, ToMaybeParse< hl::PostDecOp >,
ToMaybeParse< hl::PreIncOp >, ToMaybeParse< hl::PreDecOp >,
// Non-parsing integer arithmetic
ToNoParse< hl::MulIOp >,
ToNoParse< hl::DivSOp >, ToNoParse< hl::DivUOp >,
ToNoParse< hl::RemSOp >, ToNoParse< hl::RemUOp >,
Expand Down

0 comments on commit 2e863f3

Please sign in to comment.