Skip to content
Commit dd8ef1bf authored by Chris Lattner's avatar Chris Lattner
Browse files

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
parent cd0b1bf0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment