[all-commits] [llvm/llvm-project] 758e11: [X86] Simplify the code for EFLAGS copy lowering, ...

Shengchen Kan via All-commits all-commits at lists.llvm.org
Wed May 22 02:42:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 758e1199f6dbcddc0a8d425753c56a42507dd313
      https://github.com/llvm/llvm-project/commit/758e1199f6dbcddc0a8d425753c56a42507dd313
  Author: Shengchen Kan <shengchen.kan at intel.com>
  Date:   2024-05-22 (Wed, 22 May 2024)

  Changed paths:
    M llvm/lib/Target/X86/X86FlagsCopyLowering.cpp

  Log Message:
  -----------
  [X86] Simplify the code for EFLAGS copy lowering, NFCI

1. MF.begin() == MF.end() -> MF.empty()
2. Set FlagsKilled by API modifiesRegister
3. Utilize APIs in X86GenMnemonicTables.inc to check arithmetic op
4. Merge duplicated code for rewrite*
5. Clang format

This is to address review comments in #91849



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