[all-commits] [llvm/llvm-project] bd3a33: [X86] Simplify the API of FixupBWInstPass::getSupe...

Jay Foad via All-commits all-commits at lists.llvm.org
Thu Sep 7 02:19:25 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bd3a33c08d21ff10bd87bbba78c1676de97becf5
  Author: Jay Foad <jay.foad at amd.com>
  Date:   2023-09-07 (Thu, 07 Sep 2023)

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

  Log Message:
  [X86] Simplify the API of FixupBWInstPass::getSuperRegDestIfDead. NFC. (#65581)

It is easy to check the returned register for validity so there is no
need to return a separate boolean flag.

More information about the All-commits mailing list