Commit 57384aeb authored by Nikita Popov's avatar Nikita Popov
Browse files

[ConstantFold] Avoid creating undesirable cast expressions

Similar to what we do for binops, for undesirable casts we should
call the constant folding API instead of the constant expr API,
to avoid indirect creation of undesirable cast ops.
parent c605431a
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment