Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-05-05 | Small fix in InstCombineCasts.cpp. Restored "alloca + bitcast" reducing for ↵ | Stepan Dyatkovskiy | |
case when alloca's size is calculated within the "add/sub/... nsw". Also added fix to 2011-06-13-nsw-alloca.ll test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156231 91177308-0d34-0410-b5e6-96231b3b80d8 | |||
2011-06-13 | Avoid fusing bitcasts with dynamic allocas if the amount-to-allocate | Stuart Hastings | |
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132926 91177308-0d34-0410-b5e6-96231b3b80d8 |