[GC] improve testing around gc.relocate and fix a test
authorPhilip Reames <listmail@philipreames.com>
Wed, 7 Jan 2015 22:48:01 +0000 (22:48 +0000)
committerPhilip Reames <listmail@philipreames.com>
Wed, 7 Jan 2015 22:48:01 +0000 (22:48 +0000)
commita7f8f932a67badb25ac005186e39ed419ea15681
tree55aa53fb6dbf891abf6f08d81dbf50ac9da0dd54
parenta84b573c980f53e359b751928aa2a84569ea6386
[GC] improve testing around gc.relocate and fix a test

Patch by: Ramkumar Ramachandra <artagnon@gmail.com>

"This patch started out as an exploration of gc.relocate, and an attempt
to write a simple test in call-lowering. I then noticed that the
arguments of gc.relocate were not checked fully, so I went in and fixed
a few things. Finally, the most important outcome of this patch is that
my new error handling code caught a bug in a callsite in
stackmap-format."

Differential Revision: http://reviews.llvm.org/D6824

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225412 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/Verifier.cpp
test/CodeGen/X86/statepoint-call-lowering.ll
test/CodeGen/X86/statepoint-stackmap-format.ll