summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-01-19 21:55:26 +0000
committerChris Lattner <sabre@nondot.org>2009-01-19 21:55:26 +0000
commitdd8ef1bf30637000efd4856d278d6a323374fba1 (patch)
tree52d6e17bc3b366bd74a579c8f0826845bfa5f39c /llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
parentcd0b1bf0a06dec7da3860090d5a9d214a220753c (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud