[llvm-commits] PATCH: Initializing a required analysis pass in the unroller

Pranav Bhandarkar pranavb at codeaurora.org
Wed Oct 19 15:30:05 PDT 2011


Hi,

I hit a problem when I tried to change the pass structure for some
experiments that I was doing. LLVM failed an assert because the Loop
Unroller requires Scalar Evolution Analysis, which in my modified pass
structure was not initialized. The problem is that Scalar Evolution Analysis
is initialized by an INITIALIZE_PASS_DEPENDENCY statement.

The attached patch should fix this problem. I have tested it on x86_64.

Thanks,
Pranav

Qualcomm Innovation Center, Inc is a member of Code Aurora Forum.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: LoopUnrollInitDependence.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111019/8c624576/attachment.txt>


More information about the llvm-commits mailing list