[parrot/parrot] 8c9f82: [test] TODO the 3 remaining failing -O2 tests

GitHub noreply at github.com
Fri Feb 28 15:30:04 UTC 2014


  Branch: refs/heads/rurban/imccO2
  Home:   https://github.com/parrot/parrot
  Commit: 8c9f82736418bf6bddfc61c77a4767f59446ebec
      https://github.com/parrot/parrot/commit/8c9f82736418bf6bddfc61c77a4767f59446ebec
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M t/fullharness
    M t/op/exit.t
    M t/op/jitn.t
    M t/pmc/exception-old.t

  Log Message:
  -----------
  [test] TODO the 3 remaining failing -O2 tests

Each one with a ticket. Still trying to fix them though.
Looks easy enough.
Add -O2 to t/fullharness. Save to run now, to detect further
regressions.


  Commit: 03345bee87e84e3cac2ba3f3d7854434e8749bdf
      https://github.com/parrot/parrot/commit/03345bee87e84e3cac2ba3f3d7854434e8749bdf
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-02-27 (Thu, 27 Feb 2014)

  Changed paths:
    M ChangeLog
    M compilers/imcc/optimizer.c
    M t/op/jitn.t

  Log Message:
  -----------
  [imcc] fix -O2 check types in constant propagation #1043

set reg, const is only a valid const setter ifregx and const have the same type,
otherwise the type are coerced, like set N0, 1 or set I1, 1.5.
Do not propagate such values.
Fixes t/op/jitn_13.pir [GH #1043]


  Commit: 414d7f85582a48632791154ef2b78a09f89fb2a0
      https://github.com/parrot/parrot/commit/414d7f85582a48632791154ef2b78a09f89fb2a0
  Author: Reini Urban <rurban at cpanel.net>
  Date:   2014-02-28 (Fri, 28 Feb 2014)

  Changed paths:
    M ChangeLog
    M compilers/imcc/optimizer.c
    M t/op/exit.t

  Log Message:
  -----------
  [imcc] fix -O2 empty ins->next in used_once [GH #1042]

If the deleted op leads to the last op, which has no op->next
break the used_once loop.

Fixes GH #1042 t/op/exit_6.pasm
    set I0, 0 # used_once => deleted
    end


Compare: https://github.com/parrot/parrot/compare/132ad1af078c...414d7f85582a


More information about the parrot-commits mailing list