[Bug tree-optimization/85406] Unnecessary blend when vectorizing short-cutted calculations

linux at carewolf dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 20 08:05:00 GMT 2018


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85406

--- Comment #3 from Allan Jensen <linux at carewolf dot com> ---
You need to add the loop around it

void test(unsigned *buffer, int count)
{
    for (int i = 0; i < count; ++i)
        buffer[i] = qPremultiply(buffer[i]);
}


More information about the Gcc-bugs mailing list