[llvm] r227119 - [SelectionDAG] Fix assert message copypasta. NFC.
Ahmed Bougacha
ahmed.bougacha at gmail.com
Mon Jan 26 11:31:42 PST 2015
Author: ab
Date: Mon Jan 26 13:31:42 2015
New Revision: 227119
URL: http://llvm.org/viewvc/llvm-project?rev=227119&view=rev
Log:
[SelectionDAG] Fix assert message copypasta. NFC.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp?rev=227119&r1=227118&r2=227119&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Mon Jan 26 13:31:42 2015
@@ -4738,10 +4738,10 @@ SelectionDAG::getLoad(ISD::MemIndexedMod
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;
More information about the llvm-commits
mailing list