[llvm] [mlir] [OpenMP][CodeExtractor]Add align metadata to load instructions (PR #131131)

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 7 04:05:35 PDT 2025


================
@@ -248,6 +248,19 @@ buildExtractionBlockSet(ArrayRef<BasicBlock *> BBs, DominatorTree *DT,
   return Result;
 }
 
+static bool isAlignmentPreservedForAddrCast(const Triple &TargetTriple) {
----------------
Meinersbur wrote:

Could you add a `///` comment explainign what this function is for?

https://github.com/llvm/llvm-project/pull/131131


More information about the llvm-commits mailing list