Skip to content
Commit c050af91 authored by Reid Spencer's avatar Reid Spencer
Browse files

Clean up some code around the store V, (cast P) -> store (cast V), P

transform. Change some variable names so it is clear what is source and
what is dest of the cast. Also, add an assert to ensure that the integer
to integer case is asserting if the bitwidths are different. This prevents
illegal casts from being formed and catches bitwidth bugs sooner.

llvm-svn: 33337
parent f15cd563
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