[flang-commits] [flang] [mlir] [MLIR][LLVMIR] Use TargetFolder when creating globals (PR #126745)

Tobias Gysi via flang-commits flang-commits at lists.llvm.org
Tue Feb 11 10:37:42 PST 2025


https://github.com/gysit approved this pull request.

LGTM

Thanks for the fix!

Is this correctness issue limited to globals, or could this also be an issue when translating the operations within function bodies? Does the llvm builder always fold or does the constant folding happen once the expression is casted to a constant expression (the latter is only done for globals/aliases I believe)?

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


More information about the flang-commits mailing list