Skip to content

Commit

Permalink
pr: Implement cast conversions
Browse files Browse the repository at this point in the history
  • Loading branch information
xlauko committed Feb 24, 2025
1 parent 4d071e5 commit 1d67511
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions lib/vast/Conversion/Parser/ToParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -691,9 +691,11 @@ namespace vast::conv {

using operation_conversions = util::type_list<
ToNoParse< hl::ConstantOp >,
ToMaybeParse< hl::ImplicitCastOp >,
ToNoParse< hl::CmpOp >, ToNoParse< hl::FCmpOp >,
ToMaybeParse< hl::Deref >,
// Cast operations
ToMaybeParse< hl::ImplicitCastOp >, ToMaybeParse< hl::BuiltinBitCastOp >,
ToMaybeParse< hl::CStyleCastOp >,
// Comparison operations
ToNoParse< hl::CmpOp >, ToNoParse< hl::FCmpOp >, ToMaybeParse< hl::Deref >,
// Integer arithmetic
ToMaybeParse< hl::AddIOp >, ToMaybeParse< hl::SubIOp >,
ToMaybeParse< hl::PostIncOp >, ToMaybeParse< hl::PostDecOp >,
Expand Down

0 comments on commit 1d67511

Please sign in to comment.