diff options
Diffstat (limited to 'testsuite/tests/simplCore/should_compile/T4908.stderr')
-rw-r--r-- | testsuite/tests/simplCore/should_compile/T4908.stderr | 69 |
1 files changed, 36 insertions, 33 deletions
diff --git a/testsuite/tests/simplCore/should_compile/T4908.stderr b/testsuite/tests/simplCore/should_compile/T4908.stderr index 185b9b3529..62f300e962 100644 --- a/testsuite/tests/simplCore/should_compile/T4908.stderr +++ b/testsuite/tests/simplCore/should_compile/T4908.stderr @@ -44,50 +44,54 @@ T4908.$trModule :: Module Str=m, Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=IF_ARGS [] 10 30}] -T4908.$trModule = - GHC.Types.Module T4908.$trModule3 T4908.$trModule1 +T4908.$trModule + = GHC.Types.Module T4908.$trModule3 T4908.$trModule1 Rec { -- RHS size: {terms: 19, types: 5, coercions: 0, joins: 0/0} T4908.f_$s$wf [Occ=LoopBreaker] :: Int -> Int# -> Int# -> Bool -[GblId, Arity=3, Caf=NoCafRefs, Str=<L,A><L,1*U><S,1*U>] -T4908.f_$s$wf = - \ (sc :: Int) (sc1 :: Int#) (sc2 :: Int#) -> - case sc2 of ds { - __DEFAULT -> - case sc1 of ds1 { - __DEFAULT -> T4908.f_$s$wf sc ds1 (-# ds 1#); - 0# -> GHC.Types.True - }; - 0# -> GHC.Types.True - } +[GblId, + Arity=3, + Caf=NoCafRefs, + Str=<L,A><L,1*U><S,1*U>, + Unf=OtherCon []] +T4908.f_$s$wf + = \ (sc :: Int) (sc1 :: Int#) (sc2 :: Int#) -> + case sc2 of ds { + __DEFAULT -> + case sc1 of ds1 { + __DEFAULT -> T4908.f_$s$wf sc ds1 (-# ds 1#); + 0# -> GHC.Types.True + }; + 0# -> GHC.Types.True + } end Rec } -- RHS size: {terms: 24, types: 13, coercions: 0, joins: 0/0} -T4908.$wf [InlPrag=[0]] :: Int# -> (Int, Int) -> Bool +T4908.$wf [InlPrag=NOUSERINLINE[2]] :: Int# -> (Int, Int) -> Bool [GblId, Arity=2, Caf=NoCafRefs, Str=<S,1*U><L,1*U(A,1*U(1*U))>, Unf=Unf{Src=<vanilla>, TopLvl=True, Value=True, ConLike=True, WorkFree=True, Expandable=True, Guidance=IF_ARGS [30 20] 101 20}] -T4908.$wf = - \ (ww :: Int#) (w :: (Int, Int)) -> - case ww of ds { - __DEFAULT -> - case w of { (a, b) -> - case b of { I# ds1 -> - case ds1 of ds2 { - __DEFAULT -> T4908.f_$s$wf a ds2 (-# ds 1#); - 0# -> GHC.Types.True - } - } - }; - 0# -> GHC.Types.True - } +T4908.$wf + = \ (ww :: Int#) (w :: (Int, Int)) -> + case ww of ds { + __DEFAULT -> + case w of { (a, b) -> + case b of { I# ds1 -> + case ds1 of ds2 { + __DEFAULT -> T4908.f_$s$wf a ds2 (-# ds 1#); + 0# -> GHC.Types.True + } + } + }; + 0# -> GHC.Types.True + } -- RHS size: {terms: 8, types: 6, coercions: 0, joins: 0/0} -f [InlPrag=INLINE[0]] :: Int -> (Int, Int) -> Bool +f [InlPrag=NOUSERINLINE[2]] :: Int -> (Int, Int) -> Bool [GblId, Arity=2, Caf=NoCafRefs, @@ -97,13 +101,12 @@ f [InlPrag=INLINE[0]] :: Int -> (Int, Int) -> Bool Guidance=ALWAYS_IF(arity=2,unsat_ok=True,boring_ok=False) Tmpl= \ (w [Occ=Once!] :: Int) (w1 [Occ=Once] :: (Int, Int)) -> case w of { I# ww1 [Occ=Once] -> T4908.$wf ww1 w1 }}] -f = - \ (w :: Int) (w1 :: (Int, Int)) -> - case w of { I# ww1 -> T4908.$wf ww1 w1 } +f = \ (w :: Int) (w1 :: (Int, Int)) -> + case w of { I# ww1 -> T4908.$wf ww1 w1 } ------ Local rules for imported ids -------- -"SC:$wf0" [0] +"SC:$wf0" [2] forall (sc :: Int) (sc1 :: Int#) (sc2 :: Int#). T4908.$wf sc2 (sc, GHC.Types.I# sc1) = T4908.f_$s$wf sc sc1 sc2 |