[llvm-dev] extra loads in nested for-loop

Krzysztof Parzyszek via llvm-dev llvm-dev at lists.llvm.org
Mon Jul 11 14:20:29 PDT 2016


On 7/11/2016 3:27 PM, Phil Tomson via llvm-dev wrote:
>
> I guess I'm a bit surprised that -O3 wouldn't automatically do what I've
> done in the second version of the C code when generating code from the
> first version?

This is most likely because a, b, and c are assumed to be aliased.

-Krzysztof

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, 
hosted by The Linux Foundation


More information about the llvm-dev mailing list