[clang][RelativeVTablesABI] Update CodeGenCXX/RelativeVTablesABI/dynamic-cast.cpp
authorLeonard Chan <leonardchan@google.com>
Mon, 29 Jun 2020 20:06:42 +0000 (13:06 -0700)
committerLeonard Chan <leonardchan@google.com>
Mon, 29 Jun 2020 20:06:42 +0000 (13:06 -0700)
commitde172dd17f0334e1fcbbf28a33d0ea24f7cbff1a
tree816fe5dad6092ec63e6cdd40519c1419dbeff2a7
parent7b8cf98b4a9a2f5ea3667fdbf913a4f8952ed36a
[clang][RelativeVTablesABI] Update CodeGenCXX/RelativeVTablesABI/dynamic-cast.cpp

After c7bcd431d9c4bfeb631a3599f1d628603e6351d6, this test started failing when
running with the new pass manager. One of the CHECKs in this file checks how the
vtable is loaded for a void cast, which involves taking 2 bitcasts from the pointer
to the original object. The order of these bitcasts changes under the new PM.
The order doesn't matter, so this relaxes the CHECKs.

Differential Revision: https://reviews.llvm.org/D82802
clang/test/CodeGenCXX/RelativeVTablesABI/dynamic-cast.cpp