[SelectionDAG] Fix assert message copypasta. NFC.
authorAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 26 Jan 2015 19:31:42 +0000 (19:31 +0000)
committerAhmed Bougacha <ahmed.bougacha@gmail.com>
Mon, 26 Jan 2015 19:31:42 +0000 (19:31 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227119 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/SelectionDAG.cpp

index 565e4bbe87a2b3ed8ed6f9f95d3cbf914e53be08..537a2589fcaee76465b0e13d4a2371dbde56d226 100644 (file)
@@ -4738,10 +4738,10 @@ SelectionDAG::getLoad(ISD::MemIndexedMode AM, ISD::LoadExtType ExtType,
     assert(VT.isInteger() == MemVT.isInteger() &&
            "Cannot convert from FP to Int or Int -> FP!");
     assert(VT.isVector() == MemVT.isVector() &&
-           "Cannot use trunc store to convert to or from a vector!");
+           "Cannot use an ext load to convert to or from a vector!");
     assert((!VT.isVector() ||
             VT.getVectorNumElements() == MemVT.getVectorNumElements()) &&
-           "Cannot use trunc store to change the number of vector elements!");
+           "Cannot use an ext load to change the number of vector elements!");
   }
 
   bool Indexed = AM != ISD::UNINDEXED;