Insert code in the right location when lowering PowerPC atomics.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 4 Apr 2011 17:57:29 +0000 (17:57 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 4 Apr 2011 17:57:29 +0000 (17:57 +0000)
commit5fcb81dace175106024941b09fa27aecba2d7db7
tree856f6540045711508686325c6eb40fa7d8a3f79d
parent866bdadd83357e6d8811f5ff295adc00513591c7
Insert code in the right location when lowering PowerPC atomics.

This causes defs to dominate uses, no instructions after terminators, and other
goodness.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128836 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelLowering.cpp