hanchenye-llvm-project/llvm/lib
Sanjoy Das 40c32dd9a0 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
2017-04-27 17:17:16 +00:00
..
Analysis Kill the old Simplify* APIs, leave SimplifyInstruction for the moment 2017-04-26 20:56:17 +00:00
AsmParser Add support for DW_TAG_thrown_type. 2017-04-26 22:56:44 +00:00
Bitcode Turn DISubprogram into a variable-length node. 2017-04-26 23:59:52 +00:00
CodeGen Use a pointer type for target frame indices during statepoint lowering 2017-04-27 17:17:16 +00:00
DebugInfo [CodeView] Isolate Debug Info Fragments into standalone classes. 2017-04-27 16:12:16 +00:00
Demangle
ExecutionEngine Revert "[APInt] Fix a few places that use APInt::getRawData to operate within the normal API." 2017-04-23 12:15:30 +00:00
Fuzzer Fixup for r301054: Use an explicit constructor. 2017-04-21 23:28:01 +00:00
IR Use accessors for ValueHandleBase::V; NFC 2017-04-27 06:02:18 +00:00
IRReader
LTO LTO: Mark undefined module asm symbols as used. 2017-04-26 17:53:39 +00:00
LibDriver Fix some ArgList uses after API change in r300135. 2017-04-12 23:43:58 +00:00
LineEditor
Linker
MC Rename some PDB classes. 2017-04-27 16:11:19 +00:00
Object LTO: Mark undefined module asm symbols as used. 2017-04-26 17:53:39 +00:00
ObjectYAML [WebAssembly] Allow for signed relocation addends 2017-04-26 00:02:31 +00:00
Option ArgList: cache index ranges containing arguments with each ID 2017-04-12 23:19:51 +00:00
Passes Disable GVN Hoist due to still more bugs being found in it. There is 2017-04-27 00:28:03 +00:00
ProfileData [ProfileData] Unify getInstrProf*SectionName helpers 2017-04-15 00:09:57 +00:00
Support Refactor DynamicLibrary so searching for a symbol will have a defined order and 2017-04-27 16:55:24 +00:00
TableGen
Target [AMDGPU] DPP: add support for GFX9 2017-04-27 15:42:38 +00:00
Transforms [PartialInlining]: Improve partial inlining to handle complex conditions 2017-04-27 16:34:00 +00:00
XRay [XRay] - Fix spelling error to test commit access. 2017-04-06 03:32:01 +00:00
CMakeLists.txt
LLVMBuild.txt