[llvm] r237144 - use 'auto' to improve readability; NFC
Sanjay Patel
spatel at rotateright.com
Tue May 12 08:15:55 PDT 2015
Author: spatel
Date: Tue May 12 10:15:55 2015
New Revision: 237144
URL: http://llvm.org/viewvc/llvm-project?rev=237144&view=rev
Log:
use 'auto' to improve readability; NFC
Modified:
llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=237144&r1=237143&r2=237144&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Tue May 12 10:15:55 2015
@@ -12595,8 +12595,7 @@ SDValue X86TargetLowering::EmitTest(SDVa
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;
}
More information about the llvm-commits
mailing list