| commit | 522a91181af75702f1526640d8fd356e22ea383a | [log] [tgz] |
|---|---|---|
| author | David Majnemer <david.majnemer@gmail.com> | Fri Jul 22 04:54:44 2016 +0000 |
| committer | David Majnemer <david.majnemer@gmail.com> | Fri Jul 22 04:54:44 2016 +0000 |
| tree | 40ee58b3e30ca6cdbdf69e8bd1881b4ec2a23afc | |
| parent | d382e9d82b086187601cf786d4143816e124eb9f [diff] |
Don't remove side effecting instructions due to ConstantFoldInstruction Just because we can constant fold the result of an instruction does not imply that we can delete the instruction. It may have side effects. This fixes PR28655. llvm-svn: 276389