Fix an assertion message.
authorDale Johannesen <dalej@apple.com>
Thu, 28 Feb 2008 18:36:51 +0000 (18:36 +0000)
committerDale Johannesen <dalej@apple.com>
Thu, 28 Feb 2008 18:36:51 +0000 (18:36 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47722 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

index e0069b553fbac26aaf19708ad3f566c294b1c032..37dab7d7c165933949376122779a01210c2a82c2 100644 (file)
@@ -587,7 +587,7 @@ SDOperand ExpandUnalignedStore(StoreSDNode *ST, SelectionDAG &DAG,
     else if (VT==MVT::f32)
       intVT = MVT::i32;
     else
-      assert(0 && "Unaligned load of unsupported type");
+      assert(0 && "Unaligned store of unsupported type");
 
     SDOperand Result = DAG.getNode(ISD::BIT_CONVERT, intVT, Val);
     return DAG.getStore(Chain, Result, Ptr, ST->getSrcValue(),