search for: r263875

Displaying 2 results from an estimated 2 matches for "r263875".

2016 Sep 24
4
RFC: ConstantData should not have use-lists
...moved most instances of iterating through the use-lists of an instance of ConstantData. I'd like to make this illegal. Since the users of ConstantData are spread across an LLVMContext, most code that looks at the users is wrong. Adding an assertion should catch a lot of bugs (see r263853 and r263875) and avoid some expensive walks through uninteresting code. (The same is not true of Constant, generally. A GlobalValue's use-list will local to the GlobalValue's Module. Any ConstantVector, ConstantArray, or ConstantStruct that points at a GlobalValue will also be local to the same Modu...
2016 Sep 24
2
RFC: ConstantData should not have use-lists
...rough the >> use-lists of an instance of ConstantData. I'd like to make this >> illegal. Since the users of ConstantData are spread across an >> LLVMContext, most code that looks at the users is wrong. Adding an >> assertion should catch a lot of bugs (see r263853 and r263875) and >> avoid some expensive walks through uninteresting code. >> >> (The same is not true of Constant, generally. A GlobalValue's use-list >> will local to the GlobalValue's Module. Any ConstantVector, >> ConstantArray, or ConstantStruct that points at a Gl...