search for: pr27849

Displaying 1 result from an estimated 1 matches for "pr27849".

Did you mean: 27849
2018 Mar 05
1
Allow CallSlot optimization for throwing functions for sret arguments
...i8.i64(i8* nonnull %5, i8* nonnull %4, i64 16, i32 8, i1 false) call void @llvm.lifetime.end.p0i8(i64 16, i8* nonnull %4) ret void } CallSlot optimization does not handle this case, because the call to %1 might throw, and should calls are no longer subject to CallSlot optimization as a fix for PR27849 -- https://bugs.llvm.org/show_bug.cgi?id=27849 The difference between that PR and this case is that the code in the PR took a reference through which the value was modified, while in this case we deal with a return value through an sret argument. I'm wondering whether the "must not throw&...