Skip to content
Commit 5858b56c authored by Bill Wendling's avatar Bill Wendling
Browse files

Ignore unreachable blocks when doing memory dependence analysis on non-local

loads. It's not really profitable and may result in GVN going into an infinite
loop when it hits constructs like this:

     %x = gep %some.type %x, ...

Found via an LTO build of LLVM.

llvm-svn: 166490
parent b8097dec
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