mirror of
https://github.com/RPCS3/llvm.git
synced 2024-11-25 21:00:00 +00:00
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:
parent
27bc97d247
commit
ed36b2f1c2
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user