[PATCH] D119604: AttributorAttributes: avoid a crashing on bad alignments

Augie Fackler via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 22 09:02:45 PST 2022


durin42 added a comment.

In D119604#3316283 <https://reviews.llvm.org/D119604#3316283>, @jdoerfert wrote:

> LG, assuming we change the lang ref to make these alignments not UB but "ok"

I'm a little confused: isn't it fine for them to still be UB? The only point of this change was to avoid a crash in the compiler when encountering such an alignment.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119604/new/

https://reviews.llvm.org/D119604



More information about the llvm-commits mailing list