[all-commits] [llvm/llvm-project] 6e687c: [SPARC] Prevent meta instructions from being inser...

Koakuma via All-commits all-commits at lists.llvm.org
Sun Oct 5 23:39:57 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e687cbe0dd3a6fc89cdd007dca6e4f5578fccff
      https://github.com/llvm/llvm-project/commit/6e687cbe0dd3a6fc89cdd007dca6e4f5578fccff
  Author: Koakuma <koachan at protonmail.com>
  Date:   2025-10-06 (Mon, 06 Oct 2025)

  Changed paths:
    M llvm/lib/Target/Sparc/DelaySlotFiller.cpp
    M llvm/test/CodeGen/SPARC/2011-01-19-DelaySlot.ll

  Log Message:
  -----------
  [SPARC] Prevent meta instructions from being inserted into delay slots (#161111)

Do not move meta instructions like `FAKE_USE`/`@llvm.fake.use` into
delay slots, as they don't correspond to real machine instructions.

This should fix crashes when compiling with, for example, `clang -Og`.

(cherry picked from commit 2e1fab93467ec8c37a236ae6e059300ebaa0c986)



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