Skip to content
Commit 3edda87c authored by Craig Topper's avatar Craig Topper
Browse files

[InstCombine] Move the call to isSignBitCheck into getDemandedBitsLHSMask...

[InstCombine] Move the call to isSignBitCheck into getDemandedBitsLHSMask instead of calling it outside and passing its result through a flag. NFCI

The result of the isSignBitCheck isn't used anywhere else and this allows us to share the m_APInt call in the likely case that it isn't a sign bit check.

llvm-svn: 314018
parent 5b35b687
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment