[all-commits] [llvm/llvm-project] f9677c: Mips: Make test resistant to future changes

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Dec 21 01:56:35 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f9677c47573f7933dd6ea6fe3086fb58e159969a
      https://github.com/llvm/llvm-project/commit/f9677c47573f7933dd6ea6fe3086fb58e159969a
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2019-12-21 (Sat, 21 Dec 2019)

  Changed paths:
    M llvm/test/CodeGen/Mips/branch-relaxation-with-hazard.ll

  Log Message:
  -----------
  Mips: Make test resistant to future changes

This seems to have been relying on extra spills being inserted in
these blocks to increase the code size to trigger branch
relaxation. This broke when these spills were avoided. Add some asm to
pad the size of the blocks to make it not matter.




More information about the All-commits mailing list