[PATCH] D138496: [OMPIRBuilder] Add OpenMPDefaultSimdAlignment field to TargetMachine class

Dominik Adamski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 03:46:46 PST 2022


domada marked 4 inline comments as done.
domada added inline comments.


================
Comment at: clang/lib/AST/ASTContext.cpp:2509
+      getTargetInfo().getTriple().str(), Target->getTargetOpts().CPU,
+      TargetFeaturesString);
   return SimdAlign;
----------------
jdoerfert wrote:
> Why `.str()` ?
Because `createTargetMachine` function requires target triple as the string.


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

https://reviews.llvm.org/D138496



More information about the llvm-commits mailing list