mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
SelectionDAG: Fix a typo.
Found by "cppcheck". PR18208. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197047 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ee06f15a0e
commit
7a4d29e569
@ -4303,7 +4303,7 @@ static SDValue expandExp2(SDLoc dl, SDValue Op, SelectionDAG &DAG,
|
||||
static SDValue expandPow(SDLoc dl, SDValue LHS, SDValue RHS,
|
||||
SelectionDAG &DAG, const TargetLowering &TLI) {
|
||||
bool IsExp10 = false;
|
||||
if (LHS.getValueType() == MVT::f32 && LHS.getValueType() == MVT::f32 &&
|
||||
if (LHS.getValueType() == MVT::f32 && RHS.getValueType() == MVT::f32 &&
|
||||
LimitFloatPrecision > 0 && LimitFloatPrecision <= 18) {
|
||||
if (ConstantFPSDNode *LHSC = dyn_cast<ConstantFPSDNode>(LHS)) {
|
||||
APFloat Ten(10.0f);
|
||||
|
Loading…
x
Reference in New Issue
Block a user