[all-commits] [llvm/llvm-project] 28ffa7: [flang][OpenMP] Fix missing missing inode issue (#...
Michael Klemm via All-commits
all-commits at lists.llvm.org
Thu Mar 13 07:50:59 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 28ffa7f6a4d609e097a4861090f42c35459e9303
https://github.com/llvm/llvm-project/commit/28ffa7f6a4d609e097a4861090f42c35459e9303
Author: Michael Klemm <michael.klemm at amd.com>
Date: 2025-03-13 (Thu, 13 Mar 2025)
Changed paths:
A flang/test/Lower/OpenMP/missing-inode.f90
M mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp
Log Message:
-----------
[flang][OpenMP] Fix missing missing inode issue (#130798)
When outlining an offload region, Flang creates a unique name by
querying an inode ID. However, when the name of the actual source file
does not match the logical file in a `#line` preprocessor directive,
code-gen was failing as it could not determine the inode ID. This PR
checks for this condition and if the logical file name does not exist,
the inode is replaced with a hash value created from the source code
itself.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list