move IR-level optimization flags into their own struct
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.cpp
index 1797ce4a11f5aad9a38257e83009d4113f3903a4..60c3e69ff141d70a6eb6f9d582d3c1c246557859 100644 (file)
@@ -12560,7 +12560,7 @@ SDValue X86TargetLowering::EmitTest(SDValue Op, unsigned X86CC, SDLoc dl,
     case ISD::SHL: {
       const BinaryWithFlagsSDNode *BinNode =
           cast<BinaryWithFlagsSDNode>(Op.getNode());
-      if (BinNode->hasNoSignedWrap())
+      if (BinNode->Flags.hasNoSignedWrap())
         break;
     }
     default: