Skip to content
Commit 21cd9902 authored by Chris Lattner's avatar Chris Lattner
Browse files

When inserting casts, be careful of where we put them. We cannot insert

a cast immediately before a PHI node.

This fixes Regression/CodeGen/Generic/2006-05-06-GEP-Cast-Sink-Crash.ll

llvm-svn: 28143
parent cbeb178e
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