llvm.org GIT mirror llvm / d186203
Add comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92883 91177308-0d34-0410-b5e6-96231b3b80d8 Jakob Stoklund Olesen 10 years ago
3 changed file(s) with 6 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
314314 /// 'Orig' instruction, identical in all ways except the the instruction
315315 /// has no parent, prev, or next.
316316 ///
317 /// See also TargetInstrInfo::duplicate() for target-specific fixes to cloned
318 /// instructions.
317319 MachineInstr *CloneMachineInstr(const MachineInstr *Orig);
318320
319321 /// DeleteMachineInstr - Delete the given MachineInstr.
234234 /// duplicate - Create a duplicate of the Orig instruction in MF. This is like
235235 /// MachineFunction::CloneMachineInstr(), but the target may update operands
236236 /// that are required to be unique.
237 ///
238 /// The instruction must be duplicable as indicated by isNotDuplicable().
237239 virtual MachineInstr *duplicate(MachineInstr *Orig,
238240 MachineFunction &MF) const = 0;
239241
0 ; RUN: llc -relocation-model=pic -pre-regalloc-taildup < %s | grep {:$} | sort | uniq -d | count 0
11 target datalayout = "e-p:32:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-i64:32:32-f32:32:32-f64:32:32-v64:64:64-v128:128:128-a0:0:32-n32"
22 target triple = "thumbv7-apple-darwin10"
3
4 ; This function produces a duplicate LPC label unless special care is taken when duplicating a t2LDRpci_pic instruction.
35
46 %struct.PlatformMutex = type { i32, [40 x i8] }
57 %struct.SpinLock = type { %struct.PlatformMutex }