Skip to content
Commit 351a3f88 authored by Stuart Hastings's avatar Stuart Hastings
Browse files

Avoid fusing bitcasts with dynamic allocas if the amount-to-allocate

might overflow.  Re-typing the alloca to a larger type (e.g. double)
hoists a shift into the alloca, potentially exposing overflow in the
expression.  rdar://problem/9265821

llvm-svn: 132926
parent 558d09d8
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