trimming: Avoid --strip-ir
when compiling with --trim=no
#57659
Merged
Loading