Skip to content
Commit 1a1c3ed5 authored by Vikram S. Adve's avatar Vikram S. Adve
Browse files

Add function GetConstantValueAsUnsignedInt.

Fix 2 bugs in FoldGetElemChain so index vector is not modified
when no GEPs are folded in, and so a hasLeadingZero is computed
only for the last folded GEP, not the one after that if any.

llvm-svn: 3244
parent b430c3f3
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