[AArch64] Add implicit uses to speculative hardening MIR test
authorJay Foad <jay.foad@amd.com>
Mon, 15 May 2023 12:05:14 +0000 (13:05 +0100)
committerJay Foad <jay.foad@amd.com>
Tue, 23 May 2023 08:21:17 +0000 (09:21 +0100)
commit47d30de549954f71a4118000cee0accc29267f9a
tree6b46b720acd0ed3cbd4418dda30418730c05d7dd
parentde45ab3c92d530c00d9c7ce20a85e01da4d37303
[AArch64] Add implicit uses to speculative hardening MIR test

A couple of tests were setting liveins to add fake live registers, but
that only works if you track liveness forwards. Add some implicit uses
too, so that it also works if you track liveness backwards.

Differential Revision: https://reviews.llvm.org/D150559
llvm/test/CodeGen/AArch64/speculation-hardening.mir