[NFC] G_DYN_STACKALLOC realign iff align > 1, update documentation
authorGuillaume Chatelet <gchatelet@google.com>
Fri, 3 Apr 2020 08:10:59 +0000 (08:10 +0000)
committerGuillaume Chatelet <gchatelet@google.com>
Fri, 3 Apr 2020 08:12:39 +0000 (08:12 +0000)
commit9f5c786876ce213578037006e95536f171cc189e
treed5e5f33686d758882dcd81112d9bc37b39fdda30
parent6825920b1816e8493804fd82e44c0af387abce53
[NFC] G_DYN_STACKALLOC realign iff align > 1, update documentation

Summary: I think it would be better to require the alignment to be >= 1. It is currently confusing to allow both values.

Reviewers: courbet

Subscribers: hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D77372
llvm/docs/GlobalISel/GenericOpcode.rst
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp