projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13c10c4
)
EmitAtomicCmpSwap() custome inserter needs to delete the MI passed in. EmitAtomicBina...
author
Jim Grosbach
<grosbach@apple.com>
Fri, 15 Jan 2010 00:18:34 +0000
(
00:18
+0000)
committer
Jim Grosbach
<grosbach@apple.com>
Fri, 15 Jan 2010 00:18:34 +0000
(
00:18
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93479
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/ARM/ARMISelLowering.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/ARM/ARMISelLowering.cpp
b/lib/Target/ARM/ARMISelLowering.cpp
index 275b30c9ae9e91677769eecbdebbe186806f1d8f..7c87448c4e868c9660bec10e868f56635bf27607 100644
(file)
--- a/
lib/Target/ARM/ARMISelLowering.cpp
+++ b/
lib/Target/ARM/ARMISelLowering.cpp
@@
-3130,6
+3130,9
@@
ARMTargetLowering::EmitAtomicCmpSwap(MachineInstr *MI,
// exitMBB:
// ...
BB = exitMBB;
+
+ MF->DeleteMachineInstr(MI); // The instruction is gone now.
+
return BB;
}