[all-commits] [llvm/llvm-project] be83f5: [BOLT][NFC] Simplify analyzeIndirectBranch (#91662)

Amir Ayupov via All-commits all-commits at lists.llvm.org
Fri May 24 15:13:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: be83f5c15003516d5e1e677890ddbbd44be8151f
      https://github.com/llvm/llvm-project/commit/be83f5c15003516d5e1e677890ddbbd44be8151f
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-05-24 (Fri, 24 May 2024)

  Changed paths:
    M bolt/lib/Target/X86/X86MCPlusBuilder.cpp

  Log Message:
  -----------
  [BOLT][NFC] Simplify analyzeIndirectBranch (#91662)

Simplify mutually exclusive sanity checks in analyzeIndirectBranch,
where an UNKNOWN IndirectBranchType is to be returned. Reduces confusion
and code duplication when adding a new IndirectBranchType (to be added
in #91667).

Test Plan: NFC



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