[clang] [CIR][OpenACC] Implement pointer/array recipe destructors (PR #160189)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 24 08:34:18 PDT 2025
erichkeane wrote:
> > Open for suggestions how how to do so! One of the problems I ran into with this is that the 'recipe' is always added at the 'top' when we create it, so it is inverse order. AND FileCheck doesn't let you go 'backwards', so I was unable to put the recipes inline.
>
> I agree that it is wonky to use FileCheck with CHECK-DAG especially if it is backwards. One suggestion to alleviate the FileCheck issue is to actually insert in order - one possible way is to keep last recipe insertion point.
Andy poked at it a bit lately, CHECK-DAG doesn't let you do 'next' unfortunately. As far as keeping the last-recipe-insertion point, that is probably a good idea. It'll take a while and perhaps mean i have to modify a bunch of other tests here, but perhaps i cna do that in a separate patch then rebase this on top of it.
https://github.com/llvm/llvm-project/pull/160189
More information about the cfe-commits
mailing list