[flang-commits] [flang] [flang] Fix crash in HLFIR generation (PR #118399)
via flang-commits
flang-commits at lists.llvm.org
Tue Dec 3 00:52:48 PST 2024
https://github.com/jeanPerier approved this pull request.
Thanks for the fix. I liked the "sorted after semantic analysis" invariant to avoid the quadratic aspect, and I do not really get why it does not hold here. But given most structure constructors will likely have under a dozen components, the compiler performance point is likely moot, so if you think semantic cannot easily/cheaply guarantee the ordering, I am fine with this patch.
https://github.com/llvm/llvm-project/pull/118399
More information about the flang-commits
mailing list