1. 19 Jan, 2016 2 commits
  2. 15 Jan, 2016 1 commit
  3. 13 Jan, 2016 2 commits
    • Keith Randall's avatar
      [dev.ssa] cmd/compile: clean up comparisons · 3425295e
      Keith Randall authored
      Add new constant-flags opcodes.  These can be generated from
      comparisons that we know the result of, like x&31 < 32.
      
      Constant-fold the constant-flags opcodes into all flag users.
      
      Reorder some CMPxconst args so they read in the comparison direction.
      
      Reorg deadcode removal a bit - it needs to remove the OpCopy ops it
      generates when strength-reducing Phi ops.  So it needs to splice out all
      the dead blocks and do a copy elimination before it computes live
      values.
      
      Change-Id: Ie922602033592ad8212efe4345394973d3b94d9f
      Reviewed-on: https://go-review.googlesource.com/18267
      Run-TryBot: Keith Randall <khr@golang.org>
      Reviewed-by: 's avatarDavid Chase <drchase@google.com>
      3425295e
    • Keith Randall's avatar
      [dev.ssa] cmd/compile: fix spill sizes · 9094e3ad
      Keith Randall authored
      In code that does:
      
          var x, z int32
          var y int64
          z = phi(x, int32(y))
      
      We silently drop the int32 cast because truncation is a no-op.
      The phi operation needs to make sure it uses the size of the
      phi, not the size of its arguments, when generating spills.
      
      Change-Id: I1f7baf44f019256977a46fdd3dad1972be209042
      Reviewed-on: https://go-review.googlesource.com/18390Reviewed-by: 's avatarDavid Chase <drchase@google.com>
      9094e3ad
  4. 08 Jan, 2016 1 commit
  5. 07 Jan, 2016 15 commits
  6. 06 Jan, 2016 19 commits