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

[ValueTracking] Prevent a call to computeKnownBits if we already know the...

[ValueTracking] Prevent a call to computeKnownBits if we already know the state of the bit we would calculate. Also reuse a temporary APInt instead of creating a new one.

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