aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/ModuleUtils.cpp
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2017-04-27 17:17:16 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2017-04-27 17:17:16 +0000
commit40c32dd9a0b711bf4d3d46fe1ed3e1e1965695f0 (patch)
treed196f0259e8889e5d6730467096e4bc5a1c3f942 /llvm/lib/Transforms/Utils/ModuleUtils.cpp
parenteaaba2b59ee61fba3cbe42de59121aad395c5681 (diff)
downloadllvm-40c32dd9a0b711bf4d3d46fe1ed3e1e1965695f0.zip
llvm-40c32dd9a0b711bf4d3d46fe1ed3e1e1965695f0.tar.gz
llvm-40c32dd9a0b711bf4d3d46fe1ed3e1e1965695f0.tar.bz2
Use a pointer type for target frame indices during statepoint lowering
Summary: The type of the target frame index is intptr, not the type of the value we're going to store into it. Without this change we crash in the attached test case when trying to type-legalize a TargetFrameIndex. Patchpoint lowering types the target frame index as intptr as well. Reviewers: reames, bogner, arsenm Subscribers: arsenm, mcrosier, llvm-commits Differential Revision: https://reviews.llvm.org/D32256 llvm-svn: 301566
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions