[StackMaps] Increase the size of the "location size" field
authorSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 28 Apr 2017 04:48:42 +0000 (04:48 +0000)
committerSanjoy Das <sanjoy@playingwithpointers.com>
Fri, 28 Apr 2017 04:48:42 +0000 (04:48 +0000)
commitba0daee6b236cfda7488c68a1f16d51b6a60d521
tree36413afccebf401e3196b48412a5890197229bb2
parent41d9ef3cedbe05b83e8c03c62aeaf01a1e52b134
[StackMaps] Increase the size of the "location size" field

Summary:
In some cases LLVM (especially the SLP vectorizer) will create vectors
that are 256 bytes (or larger).  Given that this is intentional[0] is
likely to get more common, this patch updates the StackMap binary
format to deal with the spill locations for said vectors.

This change also bumps the stack map version from 2 to 3.

[0]: https://reviews.llvm.org/D32533#738350

Reviewers: reames, kavon, skatkov, javed.absar

Subscribers: mcrosier, nemanjai, llvm-commits

Differential Revision: https://reviews.llvm.org/D32629

llvm-svn: 301615
21 files changed:
llvm/docs/StackMaps.rst
llvm/lib/CodeGen/StackMaps.cpp
llvm/test/CodeGen/AArch64/arm64-anyregcc.ll
llvm/test/CodeGen/AArch64/arm64-stackmap.ll
llvm/test/CodeGen/AArch64/stackmap-liveness.ll
llvm/test/CodeGen/PowerPC/ppc64-anyregcc.ll
llvm/test/CodeGen/PowerPC/ppc64-stackmap.ll
llvm/test/CodeGen/X86/anyregcc.ll
llvm/test/CodeGen/X86/deopt-bundles.ll
llvm/test/CodeGen/X86/deopt-intrinsic-cconv.ll
llvm/test/CodeGen/X86/deopt-intrinsic.ll
llvm/test/CodeGen/X86/patchpoint-invoke.ll
llvm/test/CodeGen/X86/stackmap-fast-isel.ll
llvm/test/CodeGen/X86/stackmap-large-constants.ll
llvm/test/CodeGen/X86/stackmap-large-location-size.ll [new file with mode: 0644]
llvm/test/CodeGen/X86/stackmap-liveness.ll
llvm/test/CodeGen/X86/stackmap.ll
llvm/test/CodeGen/X86/statepoint-allocas.ll
llvm/test/CodeGen/X86/statepoint-live-in.ll
llvm/test/CodeGen/X86/statepoint-stackmap-format.ll
llvm/test/CodeGen/X86/statepoint-vector.ll