diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-01-19 21:55:26 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-01-19 21:55:26 +0000 |
| commit | dd8ef1bf30637000efd4856d278d6a323374fba1 (patch) | |
| tree | 52d6e17bc3b366bd74a579c8f0826845bfa5f39c /llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp | |
| parent | cd0b1bf0a06dec7da3860090d5a9d214a220753c (diff) | |
| download | bcm5719-llvm-dd8ef1bf30637000efd4856d278d6a323374fba1.tar.gz bcm5719-llvm-dd8ef1bf30637000efd4856d278d6a323374fba1.zip | |
div/rem by zero and div/rem overflow are both undefined according to
langref. Constant fold them to undef instead of trying to preserve
the trap. This fixes PR3354.
llvm-svn: 62534
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp')
0 files changed, 0 insertions, 0 deletions

