File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -5801,7 +5801,7 @@ SDValue DAGCombiner::hoistLogicOpWithSameOpcodeHands(SDNode *N) {
58015801 // widening a binop.
58025802 if (TLI.isZExtFree(VT, XVT) && TLI.isTruncateFree(XVT, VT))
58035803 return SDValue();
5804- // Prevent an infinite loop if the target preferts the inverse
5804+ // Prevent an infinite loop if the target preferts the inverse
58055805 // transformation.
58065806 if (TLI.isNarrowingProfitable(XVT, VT))
58075807 return SDValue();
Original file line number Diff line number Diff line change @@ -509,7 +509,8 @@ class NVPTXTargetLowering : public TargetLowering {
509509 // Truncating 64-bit to 32-bit is free in SASS.
510510 if (!(SrcVT.isScalarInteger () && DestVT.isScalarInteger ()))
511511 return false ;
512- return SrcVT.getFixedSizeInBits () == 64 && DestVT.getFixedSizeInBits () == 32 ;
512+ return SrcVT.getFixedSizeInBits () == 64 &&
513+ DestVT.getFixedSizeInBits () == 32 ;
513514 }
514515
515516 EVT getSetCCResultType (const DataLayout &DL, LLVMContext &Ctx,
You can’t perform that action at this time.
0 commit comments