commit | 408902b3c461e95799f97e6ac18cb107e1d58e46 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Sep 12 23:23:25 2005 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Sep 12 23:23:25 2005 +0000 |
tree | d3d062e94d4833ce3b9af46283e7b8de0084d951 | |
parent | 15cc608a8f5b2ab2a0b5335f028482d5a012e3b4 [diff] |
Implement a simple xform to turn code like this: if () { store A -> P; } else { store B -> P; } into a PHI node with one store, in the most trival case. This implements load.ll:test10. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23324 91177308-0d34-0410-b5e6-96231b3b80d8