bcardosolopes wrote: > I am thinking to create a temp alloca to store the result of the call and > load it after cleanup to use it in the yield of the ternary.
This is expected in a lot of scenarios, seems like a legit use. > %temp_result = cir.alloca !cir.bool, !cir.ptr<!cir.bool>, ["temp"] Maybe `temp` can be something like `cleanup.scope.tmp` https://github.com/llvm/llvm-project/pull/180276 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
