Commit 6c8adc50 authored by Nikita Popov's avatar Nikita Popov
Browse files

[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.
parent 2555ed55
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment