commit | 4f377aa8299a4b0ddf25afe714a291e34439f5cb | [log] [tgz] |
---|---|---|
author | Tanya Lattner <tonic@nondot.org> | Mon May 12 18:49:37 2008 +0000 |
committer | Tanya Lattner <tonic@nondot.org> | Mon May 12 18:49:37 2008 +0000 |
tree | 08a04794c365f0e0e00cd2f112efbaba94142a32 | |
parent | 706141e426cf0f4ba6c3d7faf1ed3615b2028fb3 [diff] |
Merge from mainline. Since the order that basic blocks are output is not related to the cfg in general, it is possible to encounter a use of a gimple temporary before it is defined even though the definition dominates all uses. Handle this rare case by demoting the temporary to an ordinary variable. This fixes PR2264. llvm-svn: 50984