@@ -1060,9 +1060,9 @@ TEST_F(ContinuationsTest, PipelinedLoopBackwardsPropagation) {
10601060
10611061 EXPECT_EQ (SliceInputsDeclCount (third_slice, " i" ), 2 );
10621062 EXPECT_EQ (SliceInputsDeclCount (third_slice, " a" ), 2 );
1063- EXPECT_TRUE (SliceInputsDecl (third_slice, " a" , /* direct_in=*/ true ,
1063+ EXPECT_TRUE (SliceInputsDecl (third_slice, " a" , /* direct_in=*/ false ,
10641064 /* is_feedback=*/ false , /* func=*/ func));
1065- EXPECT_TRUE (SliceInputsDecl (third_slice, " i" , /* direct_in=*/ true ,
1065+ EXPECT_TRUE (SliceInputsDecl (third_slice, " i" , /* direct_in=*/ false ,
10661066 /* is_feedback=*/ false , /* func=*/ func));
10671067 EXPECT_TRUE (SliceInputsDecl (third_slice, " a" , /* direct_in=*/ false ,
10681068 /* is_feedback=*/ true , /* func=*/ func));
@@ -1322,9 +1322,9 @@ TEST_F(ContinuationsTest, PipelinedLoopNothingOutside) {
13221322 ++slice_it;
13231323 const xlscc::GeneratedFunctionSlice& third_slice = *slice_it;
13241324
1325- EXPECT_TRUE (SliceOutputsDecl (first_slice, " a" , /* direct_in*/ true ));
1326- EXPECT_TRUE (SliceOutputsDecl (first_slice, " i" , /* direct_in*/ true ));
1327- EXPECT_TRUE (SliceOutputsDecl (first_slice, " c" , /* direct_in*/ true ));
1325+ EXPECT_TRUE (SliceOutputsDecl (first_slice, " a" , /* direct_in*/ false ));
1326+ EXPECT_TRUE (SliceOutputsDecl (first_slice, " i" , /* direct_in*/ false ));
1327+ EXPECT_TRUE (SliceOutputsDecl (first_slice, " c" , /* direct_in*/ false ));
13281328
13291329 EXPECT_FALSE (SliceInputsDecl (second_slice, " i" ));
13301330 EXPECT_FALSE (SliceInputsDecl (second_slice, " a" ));
@@ -2131,8 +2131,8 @@ TEST_F(ContinuationsTest, PipelinedLoopBackwardsPropagationInSubroutine) {
21312131 const xlscc::GeneratedFunctionSlice& fourth_slice = *slice_it;
21322132
21332133 EXPECT_TRUE (SliceOutputsDecl (second_slice, " ctrl" ));
2134- EXPECT_TRUE (SliceOutputsDecl (second_slice, " a" , /* direct_in=*/ true ));
2135- EXPECT_TRUE (SliceOutputsDecl (second_slice, " i" , /* direct_in=*/ true ));
2134+ EXPECT_TRUE (SliceOutputsDecl (second_slice, " a" , /* direct_in=*/ false ));
2135+ EXPECT_TRUE (SliceOutputsDecl (second_slice, " i" , /* direct_in=*/ false ));
21362136
21372137 EXPECT_EQ (SliceInputsDeclCount (third_slice, " i" ), 2 );
21382138 EXPECT_EQ (SliceInputsDeclCount (third_slice, " a" ), 2 );
@@ -2420,15 +2420,12 @@ TEST_F(ContinuationsTest, ContinuationLiteralDecomposed) {
24202420 ++slice_it;
24212421 const xlscc::GeneratedFunctionSlice& second_slice = *slice_it;
24222422
2423- // TODO(seanhaskell): Calling literals direct-in is stopped them from being
2424- // decomposed. This makes loops less efficient
2425-
2426- EXPECT_TRUE (SliceInputsDecl (second_slice, " x" , /* direct_in=*/ true ,
2423+ EXPECT_TRUE (SliceInputsDecl (second_slice, " x" , /* direct_in=*/ false ,
24272424 /* is_feedback=*/ false , /* func=*/ func,
2428- /* decl_index=*/ - 1 ));
2425+ /* decl_index=*/ 0 ));
24292426 EXPECT_TRUE (SliceInputsDecl (second_slice, " x" , /* direct_in=*/ false ,
24302427 /* is_feedback=*/ true , /* func=*/ func,
2431- /* decl_index=*/ - 1 ));
2428+ /* decl_index=*/ 0 ));
24322429}
24332430
24342431TEST_F (ContinuationsTest, StaticThisDecomposed) {
0 commit comments