[PATCH] D15845: [ADT] Switch from a hacky use of PointerIntPair and poorly chosen arbitrary integers cast to Instruction pointers to a sum type over Instruction * and a PointerEmbeddedInt.
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 2 02:53:16 PST 2016
chandlerc created this revision.
chandlerc added a subscriber: llvm-commits.
chandlerc added a dependency: D15843: [ADT] Add a sum type abstraction for pointer-like types..
This is a good example of how PointerSumType and PointerEmbeddedInt can be used
to create a more clean sum type abstraction.
No functionality changed.
Depends on D15843.
Depneds on D15844.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 7598 bytes
Desc: not available
More information about the llvm-commits