[all-commits] [llvm/llvm-project] 2bc36a: [SPARC][IAS] Handle the case of non-4-byte aligned...

Koakuma via All-commits all-commits at lists.llvm.org
Sun Jun 9 08:15:37 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bc36afcdb282618d3dc08462375fffca32cd7ed
      https://github.com/llvm/llvm-project/commit/2bc36afcdb282618d3dc08462375fffca32cd7ed
  Author: Koakuma <koachan at protonmail.com>
  Date:   2024-06-09 (Sun, 09 Jun 2024)

  Changed paths:
    M llvm/lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp

  Log Message:
  -----------
  [SPARC][IAS] Handle the case of non-4-byte aligned writeNopData

If the Count passed into writeNopData is not a multiple of four,
add a little amount of zeros before writing the NOP stream.
This makes it match the behavior of GNU binutils.

Reviewers: brad0, rorth, s-barannikov, jrtc27

Reviewed By: s-barannikov

Pull Request: https://github.com/llvm/llvm-project/pull/94251



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list