Fix: Src operand is not the out operand

This commit is contained in:
Rot127 2024-09-07 09:46:42 -05:00 committed by Rot127
parent 139e42930c
commit 600a1b3d97

View File

@ -11785,7 +11785,7 @@ class BaseCASEncoding<dag oops, dag iops, string asm, string operands,
class BaseCAS<string order, string size, RegisterClass RC>
: BaseCASEncoding<(outs RC:$out),(ins RC:$Rs, RC:$Rt, GPR64sp:$Rn),
"cas" # order # size, "\t$Rs, $Rt, [$Rn]",
"$out = $Rs",[]>,
"$out = $Rn",[]>,
Sched<[WriteAtomic]> {
let NP = 1;
}