Skip to content
Commit 2538eb66 authored by Chris Lattner's avatar Chris Lattner
Browse files

rewrite OptimizeAwayTrappingUsesOfLoads to 1) avoid a temporary

vector and extraneous loop over it, 2) not delete globals used by
phis/selects etc which could actually be useful.  This fixes PR3321.
Many thanks to Duncan for narrowing this down.

llvm-svn: 62201
parent e725ff12
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