Skip to content
Commit 945d08d7 authored by Chris Lattner's avatar Chris Lattner
Browse files

Generalize instcombine's isSafeToLoadUnconditionally() function

to ignore readonly calls, and factor it out of instcombine so
that it can be used by other passes.  Patch by Frits van Bommel!

llvm-svn: 73506
parent 0571d9bb
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