[all-commits] [llvm/llvm-project] 5bd7cc: [AArch64][GlobalISel] Mark v2s64 -> v2p0 G_INTTOPT...

Jessica Paquette via All-commits all-commits at lists.llvm.org
Tue Jul 13 17:28:30 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5bd7cc4f42488129adb135539c64bb3933d5da4c
      https://github.com/llvm/llvm-project/commit/5bd7cc4f42488129adb135539c64bb3933d5da4c
  Author: Jessica Paquette <jpaquette at apple.com>
  Date:   2021-07-13 (Tue, 13 Jul 2021)

  Changed paths:
    M llvm/lib/Target/AArch64/GISel/AArch64LegalizerInfo.cpp
    A llvm/test/CodeGen/AArch64/GlobalISel/legalize-inttoptr.mir
    M llvm/test/CodeGen/AArch64/GlobalISel/select-int-ptr-casts.mir

  Log Message:
  -----------
  [AArch64][GlobalISel] Mark v2s64 -> v2p0 G_INTTOPTR as legal

Allow

```
%x:_<2 x p0> = G_INTTOPTR %y:_<2 x s64>
```

This shows up when building clang for AArch64 with GlobalISel.

Also show that we can select it.

This should match SDAG's behaviour: https://godbolt.org/z/33oqYoaYv

Differential Revision: https://reviews.llvm.org/D105944




More information about the All-commits mailing list