search for: constanexpr

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

Did you mean: constantexpr
2014 May 23
2
[LLVMdev] Changing the design of GlobalAliases to represent what is actually possible in object files.
...also makes general IR operation like rauw easier to reason about. Since ConstantExpr are uniqued, they have a more complex replace implementation where they have to be replaced one level at a time. We would have to wait until the replacement reaches the GlobalAlias to see if it still is one of the ConstanExprs that happen to be just a label and an offset, and if it is not we would have not easy way of knowing what went wrong. Cheers, Rafael
2014 May 23
3
[LLVMdev] Changing the design of GlobalAliases to represent what is actually possible in object files.
...e rauw easier to reason about. >> Since ConstantExpr are uniqued, they have a more complex replace >> implementation where they have to be replaced one level at a time. We >> would have to wait until the replacement reaches the GlobalAlias to >> see if it still is one of the ConstanExprs that happen to be just a >> label and an offset, and if it is not we would have not easy way of >> knowing what went wrong. > > Is this not still true under the global-and-offset model? If you replace > the target of a GlobalAlias with a ConstantExpr, RAUW will have to > e...