[all-commits] [llvm/llvm-project] 469922: [X86] Don't emit ENDBR for asm goto branch targets...

Sami Tolvanen via All-commits all-commits at lists.llvm.org
Wed Jun 11 09:57:44 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 469922f7c40a1733fba98e29fa2bd09a9565ddd6
      https://github.com/llvm/llvm-project/commit/469922f7c40a1733fba98e29fa2bd09a9565ddd6
  Author: Sami Tolvanen <samitolvanen at google.com>
  Date:   2025-06-11 (Wed, 11 Jun 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86IndirectBranchTracking.cpp
    A llvm/test/CodeGen/X86/callbr-asm-endbr.ll

  Log Message:
  -----------
  [X86] Don't emit ENDBR for asm goto branch targets (#143439)

Similarly to #141562, which disabled BTI generation for ARM asm goto
branch targets, drop unnecessary ENDBRs from IsInlineAsmBrIndirectTarget
machine basic blocks.



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