Skip to content
Commit 57e3f732 authored by Zhou Sheng's avatar Zhou Sheng
Browse files

Clean up codes in ComputeMaskedBits():

1. Line out nested use of zext/trunc.
2. Make more use of getHighBitsSet/getLowBitsSet.
3. Use APInt[] != 0 instead of "(APInt & SignBit) != 0".

llvm-svn: 35408
parent 4388043b
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