Skip to content
Commit 3e77d145 authored by Tobias Grosser's avatar Tobias Grosser
Browse files

Add indvar pass to canonicalization sequence

Running indvar before Polly is useful as this eliminates zexts as they commonly
appear when a 32 bit induction variable (type int) was used on a 64 bit system.
These zexts confuse our delinearization and prevent for example the successful
delinearization of the nussinov kernel in polybench-c-4.1.

This fixes http://llvm.org/PR23426



Suggested-by: default avatarXing Su <xsu.llvm@outlook.com>
llvm-svn: 238643
parent 3bedf440
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment