[all-commits] [llvm/llvm-project] 256bde: [X86] Use Register in X86InstrBuilder.h. NFC (#130...

Craig Topper via All-commits all-commits at lists.llvm.org
Mon Mar 10 20:01:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 256bde4fe426947698259c5c46bb841467e9d7ab
      https://github.com/llvm/llvm-project/commit/256bde4fe426947698259c5c46bb841467e9d7ab
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2025-03-10 (Mon, 10 Mar 2025)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrBuilder.h

  Log Message:
  -----------
  [X86] Use Register in X86InstrBuilder.h. NFC (#130514)

I had to give the X86AddressMode Base union a name and a constructor so
it would default to Register. This means the Base.Reg = 0 in the
X86AddressMode constructor is no longer needed.



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