Fix warning about an expression with side effects being passed to __builtin_assume

LOGMAN_THROW_AA_FMT has no benefit over LOGMAN_THROW_A_FMT here, so just use
the latter.
This commit is contained in:
Tony Wasserka 2024-07-10 18:49:36 +02:00
parent 8d2b15665d
commit f19fe3b6f3

View File

@ -53,7 +53,7 @@ DEF_OP(Copy) {
DEF_OP(Swap1) {
auto Op = IROp->C<IR::IROp_Swap1>();
auto A = GetReg(Op->A.ID()), B = GetReg(Op->B.ID());
LOGMAN_THROW_AA_FMT(B == GetReg(Node), "Invariant");
LOGMAN_THROW_A_FMT(B == GetReg(Node), "Invariant");
mov(ARMEmitter::Size::i64Bit, TMP1, A);
mov(ARMEmitter::Size::i64Bit, A, B);