Do not extend extension results beyond the use of a PHI instruction at the start...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 19 Jan 2010 19:45:51 +0000 (19:45 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 19 Jan 2010 19:45:51 +0000 (19:45 +0000)
commit590d16be6f335da07c66f3c92693d0e8a2f40069
tree09708195f1b3d6aae1d8e9770c05efe1c4eb985e
parent91093ecf0fed6f007e08f1a4531cdb6f438672a2
Do not extend extension results beyond the use of a PHI instruction at the start of a use block. A PHI use is expected to kill its source values.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93895 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/OptimizeExts.cpp
test/CodeGen/X86/2010-01-19-OptExtBug.ll [new file with mode: 0644]