search for: codgegenprepar

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

Did you mean: codgegenprepare
2014 Jan 07
2
[LLVMdev] A question about everyone's favorite constructs: NSW and NUW
...hers to confirm or refute this point). Since we can't do anything to change that, let's just declare that those codegen IR transforms are part of the "backend" and be done. Naturally, the more a target customizes codegen preparation, the less DAGCombine can be reused. Yes. That’s CodgeGenPrepare in a nutshell, really. I don’t think anyone claims CGP is a good thing, merely that with our existing infrastructure, it’s a necessary and effective thing. -Jim > > That said, if NSW can be added to SelectionDAG without too many issues, then it may be a moot point. > > -Andy >...
2014 Jan 05
4
[LLVMdev] A question about everyone's favorite constructs: NSW and NUW
So, I know there are a lot of mixed feelings about NSW and NUW, but I'm running into a common pattern where they really help: void f(char *array, int i) { // do some stuff... g(array[i++]); // do some more stuff... g(array[i++]); // more of the same } So, this kind of code comes up pretty frequently. Unrolled loops with an int IV[1], encoding, decoding, compression, etc. What