[PATCH] D111412: [AArch64][SVE] Ensure LowerEXTRACT_SUBVECTOR is not called for illegal types

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 11 04:24:21 PDT 2021


craig.topper added inline comments.


================
Comment at: llvm/lib/Target/AArch64/AArch64ISelLowering.cpp:10723
+  // If we don't have legal types yet, do nothing
+  if (!DAG.getTargetLoweringInfo().isTypeLegal(InVT))
+    return SDValue();
----------------
You don’t need DAG.getTargetLowering() here. You’re in a method on a subclass of TargetLowering.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D111412



More information about the llvm-commits mailing list