[PATCH] Fix an issue with certain constants as live values in patchpoints.

Sanjoy Das sanjoy at playingwithpointers.com
Mon Nov 3 14:52:46 PST 2014


Hi ributzka, atrick,

The patchpoint lowering logic crashes with live constants equal to the tombstone or empty keys of a DenseMap<uint64_t, T>.  This patch fixes the issue (and adds a tests case).

http://reviews.llvm.org/D6101

Files:
  include/llvm/CodeGen/StackMaps.h
  lib/CodeGen/StackMaps.cpp
  test/CodeGen/X86/stackmap-large-constants.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6101.15735.patch
Type: text/x-patch
Size: 3417 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141103/2732a76a/attachment.bin>


More information about the llvm-commits mailing list