Skip to content
Commit d96dc902 authored by Reid Spencer's avatar Reid Spencer
Browse files

Fix constant fold of div by zero and rem by zero to match IEEE 754

requirements. We must return NaN in some cases and correctly signed
infinity in other cases. Passes CFP2006 (not that that says much).

llvm-svn: 35277
parent 0900993e
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