The patchpoint lowering logic would crash with live constants equal to
authorSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 4 Nov 2014 00:59:21 +0000 (00:59 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Tue, 4 Nov 2014 00:59:21 +0000 (00:59 +0000)
commit67bcf74b14577b33c7a149f04bae9a203e357365
tree7dc9ba0f20253dafcc8872643d5e2a11d64a73f2
parenta25032214d92adb613a5db84adeec88e71d59b30
The patchpoint lowering logic would crash with live constants equal to
the tombstone or empty keys of a DenseMap<int64_t, T>.  This patch
fixes the issue (and adds a tests case).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221214 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/StackMaps.h
lib/CodeGen/StackMaps.cpp
test/CodeGen/X86/stackmap-large-constants.ll [new file with mode: 0644]