Do not attempt to do parial redundancy elimination on void values.
authorJohn Criswell <criswell@uiuc.edu>
Tue, 10 Mar 2009 15:04:53 +0000 (15:04 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Tue, 10 Mar 2009 15:04:53 +0000 (15:04 +0000)
commit090c0a2ffd0e3374ca55e964773c44ae2a3c80e7
treee4a758f74249ffd194ae3c6f65c3f37cb2816d76
parentff7d0e9509cf8f359fe14c05dc29a05a293ce88f
Do not attempt to do parial redundancy elimination on void values.
Also fixed a punctuation error in the header comment.
This fixes PR3775.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66542 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/GVN.cpp
test/Transforms/GVN/2009-03-10-PREOnVoid.ll [new file with mode: 0644]