If a PHI node has a single implicit_def source, replace it with an implicit_def inste...
authorEvan Cheng <evan.cheng@apple.com>
Fri, 11 Apr 2008 17:54:45 +0000 (17:54 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Fri, 11 Apr 2008 17:54:45 +0000 (17:54 +0000)
commitf870fbc554ac862ad6d45cf97148739802a3ed12
tree26cad3fe0b50cb98f1ad187f469735b6ec8db6f7
parent4cce6b4c7882ef0cc993d931b90bf33985c96110
If a PHI node has a single implicit_def source, replace it with an implicit_def instead of a copy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49543 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/PHIElimination.cpp
test/CodeGen/ARM/2008-04-11-PHIofImpDef.ll [new file with mode: 0644]