mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
Add hasSideEffects=0 to some atomic instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171122 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b87a5b3a1f
commit
ee5b63cb52
@ -559,7 +559,7 @@ defm : PSEUDO_ATOMIC_LOAD_BINOP_PATS<"ATOMUMAX", "atomic_load_umax">;
|
||||
defm : PSEUDO_ATOMIC_LOAD_BINOP_PATS<"ATOMUMIN", "atomic_load_umin">;
|
||||
|
||||
multiclass PSEUDO_ATOMIC_LOAD_BINOP6432<string mnemonic> {
|
||||
let usesCustomInserter = 1, mayLoad = 1, mayStore = 1 in
|
||||
let usesCustomInserter = 1, mayLoad = 1, mayStore = 1, hasSideEffects = 0 in
|
||||
def #NAME#6432 : I<0, Pseudo, (outs GR32:$dst1, GR32:$dst2),
|
||||
(ins i64mem:$ptr, GR32:$val1, GR32:$val2),
|
||||
!strconcat(mnemonic, "6432 PSEUDO!"), []>;
|
||||
|
Loading…
Reference in New Issue
Block a user