From 9bc2e6daaf3a3a08aefe485aa924c820689de981 Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Wed, 31 Oct 2018 14:59:40 -0700 Subject: Remove all uses of get_flip and deprecate It is O(n) and every use is in an O(n) iteration resulting in O(n^2). Same information can be extracted from create_exps which happens to also be called at every use of get_flip. --- src/test/scala/firrtlTests/WidthSpec.scala | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/test/scala/firrtlTests/WidthSpec.scala') diff --git a/src/test/scala/firrtlTests/WidthSpec.scala b/src/test/scala/firrtlTests/WidthSpec.scala index 9ca965f6..ab8cb7ac 100644 --- a/src/test/scala/firrtlTests/WidthSpec.scala +++ b/src/test/scala/firrtlTests/WidthSpec.scala @@ -53,6 +53,7 @@ class WidthSpec extends FirrtlFlatSpec { ResolveKinds, InferTypes, CheckTypes, + ResolveGenders, InferWidths, CheckWidths) val input = @@ -75,6 +76,7 @@ class WidthSpec extends FirrtlFlatSpec { ResolveKinds, InferTypes, CheckTypes, + ResolveGenders, InferWidths, CheckWidths) val input = @@ -93,6 +95,7 @@ class WidthSpec extends FirrtlFlatSpec { ResolveKinds, InferTypes, CheckTypes, + ResolveGenders, InferWidths, CheckWidths) val input = @@ -117,6 +120,7 @@ class WidthSpec extends FirrtlFlatSpec { ResolveKinds, InferTypes, CheckTypes, + ResolveGenders, InferWidths) val input = """circuit Unit : @@ -138,6 +142,7 @@ class WidthSpec extends FirrtlFlatSpec { ResolveKinds, InferTypes, CheckTypes, + ResolveGenders, InferWidths) val input = """circuit Unit : -- cgit v1.2.3