Change-Id: Ieb8fb7c623ecd8b9ddd15cdb6eb2c6326a9bbd3b
Reviewed-on: https://go-review.googlesource.com/c/go/+/435941
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: Cherry Mui <cherryyz@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
return true
}
// LDADDx/SWPx/CASx atomic instructions
- if arm64.IsAtomicInstruction(op) {
- return true
- }
- return false
+ return arm64.IsAtomicInstruction(op)
}
// IsARM64TBL reports whether the op (as defined by an arm64.A*