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

Amara Emerson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 17 11:14:47 PDT 2021


aemerson added inline comments.


================
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 {
----------------
paquette wrote:
> 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?
Yeah, will do.


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