Skip to content
Commit 32912cbf authored by Dan Gohman's avatar Dan Gohman
Browse files

Add assertions to CastInst::getCastOpcode to catch attempted conversions

between integers and pointers when the source type is marked signed,
since inttoptr and ptrtoint always use zero-extension when the destination
is larger than the source.

llvm-svn: 72025
parent af7e400f
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