Skip to content
Commit 6aa6b1f2 authored by Chris Lattner's avatar Chris Lattner
Browse files

Teach ConvertUsesToScalar to handle memset, allowing it to handle

crazy cases like:

struct f {  int A, B, C, D, E, F; };
short test4() {
  struct f A;
  A.A = 1;
  memset(&A.B, 2, 12);
  return A.C;
}

llvm-svn: 63596
parent db39362c
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