From: Sanjay Patel Date: Tue, 12 May 2015 15:15:55 +0000 (+0000) Subject: use 'auto' to improve readability; NFC X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ef2ae014d267a239c1ff3b929e2acfa109c15f5;p=llvm use 'auto' to improve readability; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237144 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp index 512a9f91d02..30cb2238afa 100644 --- a/lib/Target/X86/X86ISelLowering.cpp +++ b/lib/Target/X86/X86ISelLowering.cpp @@ -12595,8 +12595,7 @@ SDValue X86TargetLowering::EmitTest(SDValue Op, unsigned X86CC, SDLoc dl, case ISD::SUB: case ISD::MUL: case ISD::SHL: { - const BinaryWithFlagsSDNode *BinNode = - cast(Op.getNode()); + const auto *BinNode = cast(Op.getNode()); if (BinNode->Flags.hasNoSignedWrap()) break; }