mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-04 01:11:44 +00:00
d0b9369094
This gets gas and llc -filetype=obj to agree on the order of prefixes. For llvm-mc we need to fix the asm parser to know that it makes a difference on which line the "lock" is in. Part of pr23594. llvm-svn: 238232
10 lines
267 B
LLVM
10 lines
267 B
LLVM
; RUN: llc < %s -O2 -march=x86-64 -verify-machineinstrs | FileCheck %s
|
|
|
|
define void @pr21099(i64* %p) {
|
|
; CHECK-LABEL: pr21099
|
|
; CHECK: lock addq $-2147483648
|
|
; This number is INT32_MIN: 0x80000000UL
|
|
%1 = atomicrmw add i64* %p, i64 -2147483648 seq_cst
|
|
ret void
|
|
}
|