use 'auto' to improve readability; NFC
authorSanjay Patel <spatel@rotateright.com>
Tue, 12 May 2015 15:15:55 +0000 (15:15 +0000)
committerSanjay Patel <spatel@rotateright.com>
Tue, 12 May 2015 15:15:55 +0000 (15:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237144 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86ISelLowering.cpp

index 512a9f91d02e60f227124396907f17a96166ffc7..30cb2238afa528f37d453494e752e449534f4447 100644 (file)
@@ -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<BinaryWithFlagsSDNode>(Op.getNode());
+      const auto *BinNode = cast<BinaryWithFlagsSDNode>(Op.getNode());
       if (BinNode->Flags.hasNoSignedWrap())
         break;
     }