[all-commits] [llvm/llvm-project] 67bd3c: [X86] Add register definitions for cfi directives

Alex Brachet via All-commits all-commits at lists.llvm.org
Thu Jan 19 06:11:16 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 67bd3c58c0c7389e39c5a2f4d3b1a30459ccf5b7
      https://github.com/llvm/llvm-project/commit/67bd3c58c0c7389e39c5a2f4d3b1a30459ccf5b7
  Author: Alex Brachet <abrachet at google.com>
  Date:   2023-01-19 (Thu, 19 Jan 2023)

  Changed paths:
    M llvm/lib/Target/X86/X86RegisterInfo.td
    M llvm/test/CodeGen/X86/ipra-reg-usage.ll
    M llvm/test/MC/ELF/cfi-offset.s

  Log Message:
  -----------
  [X86] Add register definitions for cfi directives

Add {e,r}flags, {g,f}s.base registers so they can be referenced in cfi
directives,. They are not otherwise useable in any instructions,
but can be implicitly pushed to the stack like with pushf for
{e,r}flags.

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




More information about the All-commits mailing list