aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2016-08-08 01:30:53 +0000
committerEli Friedman <eli.friedman@gmail.com>2016-08-08 01:30:53 +0000
commit2a65dd1ba608aa2477a397f58194c505ba69cf83 (patch)
tree9ae2a0c0515b4b8a2aacb6725aa35f0a778a91f1 /llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
parent2fdf202493fcef9a3cf7c1b14843090d9eef2539 (diff)
downloadllvm-2a65dd1ba608aa2477a397f58194c505ba69cf83.zip
llvm-2a65dd1ba608aa2477a397f58194c505ba69cf83.tar.gz
llvm-2a65dd1ba608aa2477a397f58194c505ba69cf83.tar.bz2
[SROA] Fix crash with lifetime intrinsic partially covering alloca.
Summary: PromoteMemToReg looks specifically for the pattern bitcast+lifetime.start (or a bitcast-equivalent GEP); any offset will lead to an assertion failure. Fixes https://llvm.org/bugs/show_bug.cgi?id=27999 . Differential Revision: https://reviews.llvm.org/D22737 llvm-svn: 277969
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp')
0 files changed, 0 insertions, 0 deletions