Silence a warning produced in assertions-disabled mode

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29108 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2006-07-11 18:31:26 +00:00
parent 27bc97d247
commit ed36b2f1c2

View File

@ -2902,7 +2902,7 @@ Instruction *InstCombiner::MatchBSwap(BinaryOperator &I) {
// If they do then *success* we can turn this into a bswap. Figure out what
// bswap to make it into.
Module *M = I.getParent()->getParent()->getParent();
const char *FnName;
const char *FnName = 0;
if (I.getType() == Type::UShortTy)
FnName = "llvm.bswap.i16";
else if (I.getType() == Type::UIntTy)