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

Use isUnitValue() instead of getZExtValue() == 1 which will prevent an

assert if the ConstantInt's value is large.

llvm-svn: 34814
parent 9c61acc4
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