[PATCH] D98730: [AArch64][GlobalISel] Fall back if disabling neon/fp in the translator.

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 17 11:00:16 PDT 2021


paquette accepted this revision.
paquette added a comment.
This revision is now accepted and ready to land.

LGTM



================
Comment at: llvm/include/llvm/CodeGen/GlobalISel/CallLowering.h:411
 
-  virtual bool fallBackToDAGISel(const Function &F) const { return false; }
+  virtual bool fallBackToDAGISel(const Function &F,
+                                 const MachineFunction &MF) const {
----------------
Would it make sense for this hook to just only take in the MF, and then try to call `getFunction` or whatever to (try to) get at the Function?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98730



More information about the llvm-commits mailing list