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

Add an isUnitValue method for comparison against 1. This just follows a

common pattern with isNullValue, isAllOnesValue, etc. It also helps to
prevent things like getZExtValue() == 1, which could assert for large
bitwidths.

llvm-svn: 34813
parent 90db5453
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