[VE] Convert test to opaque pointers (NFC)
authorNikita Popov <npopov@redhat.com>
Fri, 23 Dec 2022 11:46:41 +0000 (12:46 +0100)
committerNikita Popov <npopov@redhat.com>
Fri, 23 Dec 2022 11:51:06 +0000 (12:51 +0100)
commit4861a58769e882fc9fef2ec55429a639deb0aa42
treeee256e38c94dc291b3b771492f66815985db3a25
parent5ce4e92264102de21760c94db9166afe8f71fcf6
[VE] Convert test to opaque pointers (NFC)

There is a minor codegen regression here (an extra and instruction).
The reason is that CGP only eliminates fallthrough branches if it
has made some other kind of change, and with opaque pointers that
other change does not occur.

Ideally, we should probably always try to eliminate fallthroughs,
but this runs into the problem that performing a dummy fallthrough
is a common pattern in tests for forcing SDAG to select them
separately, so it's not quite that simple.
llvm/test/CodeGen/VE/Scalar/atomic_cmp_swap.ll