Skip to content
Commit 32f889e5 authored by Dan Gohman's avatar Dan Gohman
Browse files

Do GEP offset calculations with unsigned math rather than signed math

to avoid undefined behavior on overflow, noticed by John Regehr.

llvm-svn: 109594
parent 44ee7429
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