Skip to content
Commit 337d5611 authored by Dan Gohman's avatar Dan Gohman
Browse files

Special-case static allocas in IndVarSimplify's loop invariant

sinking code, since they are special. If the loop preheader happens
to be the entry block of a function, don't sink static allocas
out of it. This fixes PR4775.

llvm-svn: 80010
parent 4e9ac2a3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment