[all-commits] [llvm/llvm-project] 56253c: [GlobalISel][AArch64] Generate ptrtoint/inttoptr a...

David Green via All-commits all-commits at lists.llvm.org
Sat Nov 9 05:35:16 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 56253c79c61fb5478bc3162cfe1e25e98791a148
      https://github.com/llvm/llvm-project/commit/56253c79c61fb5478bc3162cfe1e25e98791a148
  Author: David Green <david.green at arm.com>
  Date:   2024-11-09 (Sat, 09 Nov 2024)

  Changed paths:
    M llvm/include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h
    M llvm/test/CodeGen/AArch64/GlobalISel/legalize-unmerge-values.mir
    M llvm/test/CodeGen/AArch64/ptradd.ll

  Log Message:
  -----------
  [GlobalISel][AArch64] Generate ptrtoint/inttoptr as opposed to bitcast in unmerge combine. (#115225)

When combining unmerge we could end up with ptr to i64 bitcasts. Make
sure they are created as ptrtoint/inttoptr instead.



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