[clang][Interp] Classify ArrayInitIndexExpr type
authorTimm Bäder <tbaeder@redhat.com>
Fri, 14 Oct 2022 09:08:57 +0000 (11:08 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Fri, 14 Oct 2022 09:10:28 +0000 (11:10 +0200)
commitae27323428ff9666b1c4cf32e0ea928681ce778e
treefc7ee7fcf960297c62991da669f3babc0a46d6b5
parent99dcee6f504bcc84ca816febca72ad8b7281fe30
[clang][Interp] Classify ArrayInitIndexExpr type

We can't just push a uint64 unconditionally here, since on 32bit arches
we later expect a different type, e.g. uint32.

This broke e.g. these builders:
https://lab.llvm.org/buildbot#builders/171/builds/21514
https://lab.llvm.org/buildbot#builders/38/builds/6643
clang/lib/AST/Interp/ByteCodeExprGen.cpp