[PATCH] D138496: [OpenMP][OMPContext] Move SIMD alignment calculation to LLVM Frontend

Jan Sjödin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 23 07:17:37 PST 2022


jsjodin added inline comments.


================
Comment at: llvm/include/llvm/Target/TargetMachine.h:203
+  unsigned getMaximalSimdAlignment() const { return OpenMPSimdMaxAlignment; }
+
   /// Reset the target options based on the function's attributes.
----------------
This will be clearer if we put OpenMP in the function name as well getOpenMPMaximalSimdAlignment or something like that. 


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

https://reviews.llvm.org/D138496



More information about the llvm-commits mailing list