Increasing the pir::Parameter::PIR_OPT_BC_SIZE from 20 to 200 which controls when the OSR from callee-caller is triggered, things start to fail (cf. test_features_1 and the encapsulating pipeline).
The pir.check calls pirCheckWarmupBegin which sets the PIR_DEOPT_CHAOS=0. Any code that was compiled before was compiled with PIR_DEOPT_CHAOS=100000 therefore with deoptChaosTriggerImpl builtin in every branch. If such compiled code is run in the context of PIR_DEOPT_CHAOS=0, the assert fails.
Increasing the
pir::Parameter::PIR_OPT_BC_SIZE
from 20 to 200 which controls when the OSR from callee-caller is triggered, things start to fail (cf. test_features_1 and the encapsulating pipeline).Among them:
The
pir.check
callspirCheckWarmupBegin
which sets thePIR_DEOPT_CHAOS=0
. Any code that was compiled before was compiled withPIR_DEOPT_CHAOS=100000
therefore withdeoptChaosTriggerImpl
builtin in every branch. If such compiled code is run in the context ofPIR_DEOPT_CHAOS=0
, the assert fails.