[all-commits] [llvm/llvm-project] 884bc6: [X86] Modify LOOP*, HLT control flow attributes

Amir Aupov via All-commits all-commits at lists.llvm.org
Fri Jul 2 10:35:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 884bc6a6ed95befa128e4bcb1a1e64cf39d73117
      https://github.com/llvm/llvm-project/commit/884bc6a6ed95befa128e4bcb1a1e64cf39d73117
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2021-07-02 (Fri, 02 Jul 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrControl.td
    M llvm/lib/Target/X86/X86InstrSystem.td

  Log Message:
  -----------
  [X86] Modify LOOP*, HLT control flow attributes

Add missing control flow attributes:
- LOOP*: isBranch, isTerminator
- HLT: isTerminator

This helps downstream disassemblers (such as BOLT) reconstruct the control
flow graph more accurately.

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D102297




More information about the All-commits mailing list