Commit e7573017 authored by Jack Koenig's avatar Jack Koenig Committed by mergify-bot
Browse files

Ensure InlineCasts does not inline complex Expressions (#2130)



Previously, InlineCasts could inline complex (ie. non-cast) Expressions
into other complex Expressions. Now it will only inline so long as there
no more than 1 complex Expression in the current nested Expression.

Co-authored-by: default avatarAlbert Magyar <albert.magyar@gmail.com>
(cherry picked from commit b274b319)

# Conflicts:
#	src/main/scala/firrtl/transforms/InlineCasts.scala
#	src/test/scala/firrtlTests/InlineCastsSpec.scala
parent 5ab6b20f
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