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

Clean up codes in InstCombiner::SimplifyDemandedBits():

1. Line out nested call of APInt::zext/trunc.
2. Make more use of APInt::getHighBitsSet/getLowBitsSet.
3. Use APInt[] operator instead of expression like "APIntVal & SignBit".

llvm-svn: 35444
parent 4961cf1c
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