diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-01-26 19:31:42 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2015-01-26 19:31:42 +0000 |
commit | 9a9e1a59ce6912565420d5074f2ab260b4fe227b (patch) | |
tree | 7dc2b1d3109916aa24ee3e5f758ebe3447fb6886 /llvm/lib/CodeGen/SelectionDAG | |
parent | 59063140a7a61f13ad9344b42b42372c8ffbca9a (diff) | |
download | bcm5719-llvm-9a9e1a59ce6912565420d5074f2ab260b4fe227b.tar.gz bcm5719-llvm-9a9e1a59ce6912565420d5074f2ab260b4fe227b.zip |
[SelectionDAG] Fix assert message copypasta. NFC.
llvm-svn: 227119
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp index 565e4bbe87a..537a2589fca 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp @@ -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; |