[PATCH] D107277: GlobalISel: Add helper function for getting EVT from LLT

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 5 15:22:20 PDT 2021


paquette added inline comments.


================
Comment at: llvm/lib/CodeGen/TargetLoweringBase.cpp:1753
+  EVT VT = getApproximateEVTForLLT(Ty, DL, Context);
+  return allowsMemoryAccess(Context, DL, VT, MMO.getAddrSpace(), MMO.getAlign(),
+                            MMO.getFlags(), Fast);
----------------
Since this is an approximation, could this return the wrong answer?


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

https://reviews.llvm.org/D107277



More information about the llvm-commits mailing list