[PATCH] D100398: [AArch64][GlobalISel] Regbankselect + select @llvm.aarch64.neon.uaddlv

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 15 14:02:30 PDT 2021


paquette added inline comments.


================
Comment at: llvm/lib/Target/AArch64/GISel/AArch64RegisterBankInfo.cpp:477
+    return false;
+  case Intrinsic::aarch64_neon_uaddlv:
+    return true;
----------------
aemerson wrote:
> Can we look up this information using the type signature of the intrinsic instead of hard coding it?
Maybe I'm looking in the wrong place, but it looks like probably not:

```
  class AdvSIMD_1VectorArg_Int_Across_Intrinsic
    : DefaultAttrsIntrinsic<[llvm_anyint_ty], [llvm_anyvector_ty], [IntrNoMem]>;
  ...
  def int_aarch64_neon_uaddlv : AdvSIMD_1VectorArg_Int_Across_Intrinsic;
```





CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D100398/new/

https://reviews.llvm.org/D100398



More information about the llvm-commits mailing list