Skip to content

Commit 7638440

Browse files
committed
fixup condition
1 parent 3065e12 commit 7638440

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3414,8 +3414,7 @@ RValue CodeGenFunction::EmitBuiltinExpr(const GlobalDecl GD, unsigned BuiltinID,
34143414
// Linux PPC will not be adding additional PPCDoubleDouble support.
34153415
// WIP to switch default to IEEE long double. Will emit libcall for
34163416
// frexpl instead of legalizing this type in the BE.
3417-
if (getTarget().getTriple().isPPC() &&
3418-
&getTarget().getLongDoubleFormat() == &llvm::APFloat::PPCDoubleDouble())
3417+
if (&getTarget().getLongDoubleFormat() == &llvm::APFloat::PPCDoubleDouble())
34193418
break;
34203419
LLVM_FALLTHROUGH;
34213420
}

0 commit comments

Comments
 (0)