[X86] Update PR20841 test description to make it clear we SHOULDN'T be folding EFLAGS with XADD

This commit is contained in:
Simon Pilgrim 2021-04-30 13:09:28 +01:00
parent d0e3a15e36
commit bd82cec016
1 changed files with 3 additions and 1 deletions

View File

@ -124,7 +124,9 @@ L4:
ret i32 4
}
; FIXME: PR20841 - ensure we reuse the ZF flag from XADD for compares with zero.
; PR20841 - ensure we don't reuse the ZF flag from XADD for compares with zero,
; the flags are set for the result of the add result (the value stored to memory),
; not the value returned by the atomicrmw add.
define zeroext i1 @xadd_cmp0_i64(i64* %x) nounwind {
; X64-LABEL: xadd_cmp0_i64: