what it thought it was doing.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40044
91177308-0d34-0410-b5e6-
96231b3b80d8
cerr << MVT::getValueTypeString(LD->getLoadedVT()) << ">";
const char *AM = getIndexedModeName(LD->getAddressingMode());
- if (AM != "")
+ if (*AM)
cerr << " " << AM;
} else if (const StoreSDNode *ST = dyn_cast<StoreSDNode>(this)) {
if (ST->isTruncatingStore())
<< MVT::getValueTypeString(ST->getStoredVT()) << ">";
const char *AM = getIndexedModeName(ST->getAddressingMode());
- if (AM != "")
+ if (*AM)
cerr << " " << AM;
}
}