[Statepoint Lowering] Allow other than N byte sized types in deopt bundle
authorYevgeny Rouban <yrouban@azul.com>
Wed, 7 Apr 2021 10:45:05 +0000 (17:45 +0700)
committerYevgeny Rouban <yrouban@azul.com>
Wed, 7 Apr 2021 10:48:31 +0000 (17:48 +0700)
commit3e738afae4b5994b3f5e4fc6f7249083fc470df5
tree9ac87407fe7cefea38aa31d7e421637f3c16745e
parent4821c15691bab9efaef871c957a8ba73697cdda9
[Statepoint Lowering] Allow other than N byte sized types in deopt bundle

I do not see any bit-width restriction from the point of the
LLVM Lang Ref - Operand Bundles on the types of the deopt bundle
operands. Statepoint Lowering seems to be able to work with any
types.
This patch relaxes the two related assertions and adds a new test
for this change.

Reviewed By: reames
Differential Revision: https://reviews.llvm.org/D100006
llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
llvm/test/CodeGen/X86/statepoint-spill-slot-size-promotion.ll [new file with mode: 0644]