Open
Description
During converting AssignOp
to FIR we insert AllocaOp
here:
If the AssignOp
is inside a loop, this alloca
may cause excessive stack usage. We need to either insert stacksave
/stackrestore
around it or use fir::FirOpBuilder::createTemporary
as discussed in https://reviews.llvm.org/D149222.