[all-commits] [llvm/llvm-project] 6e1a7a: [llvm][x64] Mark win x64 SEH pseudo instruction as...

Daniel Paoliello via All-commits all-commits at lists.llvm.org
Mon Oct 21 13:34:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e1a7ac53163c335868d5773b1b35b55828f329c
      https://github.com/llvm/llvm-project/commit/6e1a7ac53163c335868d5773b1b35b55828f329c
  Author: Daniel Paoliello <danpao at microsoft.com>
  Date:   2024-10-21 (Mon, 21 Oct 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrCompiler.td
    A llvm/test/CodeGen/X86/no-dup-cv-directive.ll
    M llvm/test/CodeGen/X86/x86-win64-shrink-wrapping.ll

  Log Message:
  -----------
  [llvm][x64] Mark win x64 SEH pseudo instruction as meta instructions (again) (#112962)

When adding new SEH pseudo instructions in #110024 I noticed that some
of the tests were changing their output since these new instructions
were counting towards thresholds for branching versus folding decisions.

These instructions do not result in real machine instructions being
emitted, so they should be marked as meta instructions.

This is a re-do of #110889 as we hit an issue where some of the SEH
pseudo instructions in the prolog were being duplicated, which resulted
errors being raised as the CodeView generator was seeing prolog
directives after an end-prolog directive:
<https://github.com/llvm/llvm-project/pull/110889#issuecomment-2393405613>.
The fix for this is to mark the prolog related SEH pseudo instructions
as being non-duplicatable.



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