[InstCombine] Remove unnecessary byval check in callee cast fold
The logic for handling this was fixed in 8d7f118a, but the check for byval on the callee was retained. This resulted in a weird situation where the transform would work depending on whether the byval was only on the call or on both the call and the function.
Loading
Please sign in to comment