[all-commits] [llvm/llvm-project] 6effec: [GlobalIsel][X86] Move G_PTRTOINT/G_INTTOPTR legal...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Sun Jun 4 07:22:13 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6effec1a5058ccd19ebea520b0956732075cd8a7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2023-06-04 (Sun, 04 Jun 2023)

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

  Log Message:
  [GlobalIsel][X86] Move G_PTRTOINT/G_INTTOPTR legalization before legacy handling and merge 32-bit/64-bit handling

I've kept the legalForCartesianProduct call, but this requires us to maintain 32-bit/64-bit integer lists - we might want to just use legalIf and perform the type pair set matching manually.

More information about the All-commits mailing list