[all-commits] [llvm/llvm-project] bbd785: ARC: Enforce function alignment at code emission time

Matt Arsenault via All-commits all-commits at lists.llvm.org
Thu Jun 18 14:47:55 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: bbd78519f9a15669580563b93a3ab5d4cad1febc
      https://github.com/llvm/llvm-project/commit/bbd78519f9a15669580563b93a3ab5d4cad1febc
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2020-06-18 (Thu, 18 Jun 2020)

  Changed paths:
    M llvm/lib/Target/ARC/ARCAsmPrinter.cpp
    M llvm/lib/Target/ARC/ARCMachineFunctionInfo.h

  Log Message:
  -----------
  ARC: Enforce function alignment at code emission time

Don't do this in the MachineFunctionInfo constructor. Also, ensure the
alignment rather than overwriting it outright. I vaguely remember
there was another place to enforce the target minimum alignment, but I
couldn't find it (it's there for instructions).




More information about the All-commits mailing list