[PATCH] D72184: [BPF] support atomic instructions
Yonghong Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 3 14:37:39 PST 2020
yonghong-song added inline comments.
================
Comment at: llvm/test/CodeGen/BPF/atomics_2.ll:124
+; CHECK: r0 = r2
+; CHECK: r0 = cmpxchg_64(r1 + 0, r0, r3)
+; CHECK: encoding: [0xdb,0x01,0x00,0x00,0xf1,0x03,0x00,0x00]
----------------
ast wrote:
> Looks like it's generating correct code without special handling in ISelLowering. Nice. I wonder why x86 had to use it. Because of eflags, I guess?
which specific x86 codes you are referring to?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72184/new/
https://reviews.llvm.org/D72184
More information about the cfe-commits
mailing list