llvm.org GIT mirror llvm / bffc866
Committing unsaved changes that should've been with r66237. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66242 91177308-0d34-0410-b5e6-96231b3b80d8 Gordon Henriksen 10 years ago
1 changed file(s) with 7 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
524524 ;; Compute the derived pointer.
525525 %derived = getelementptr %object, i32 0, i32 2, i32 %n
526526
527

LLVM does not enforce this relationship between the object and derived

528 pointer (although a plugin might). However, it would be
529 an unusual collector that violated it.

530
527531

The use of these intrinsics is naturally optional if the target GC does

528 require the corresponding barrier. If so, the GC plugin will replace the
529 intrinsic calls with the corresponding load or store
530 instruction if they are used.

531
532

LLVM does not enforce any particular relationship between the object and

533 derived pointer (although a plugin might). However, it
534 would be unusual that the derived pointer not be a getelementptr of the
535 object pointer.

532 require the corresponding barrier. Such a GC plugin will replace the intrinsic
533 calls with the corresponding load or store instruction if they
534 are used.

536535
537536
538537