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)
commite839965faa22d6ed5dd41402c80bd806eb8f6c26
tree54d209276bc456db3a37314dbd8c9c006667e43b
parent8691dc5b754f32c4262236481ca29770c3219353
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).

llvm-svn: 221214
llvm/include/llvm/CodeGen/StackMaps.h
llvm/lib/CodeGen/StackMaps.cpp
llvm/test/CodeGen/X86/stackmap-large-constants.ll [new file with mode: 0644]