mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Fix cut-n-pasto.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69816 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
de444af6bb
commit
e2a17468d1
@ -94,8 +94,8 @@ Value *SCEVExpander::InsertCastOfTo(Instruction::CastOps opcode, Value *V,
|
||||
Value *SCEVExpander::InsertNoopCastOfTo(Value *V, const Type *Ty) {
|
||||
Instruction::CastOps Op = CastInst::getCastOpcode(V, false, Ty, false);
|
||||
assert((Op == Instruction::BitCast ||
|
||||
Op == Instruction::Instruction::PtrToInt ||
|
||||
Op == Instruction::Instruction::IntToPtr) &&
|
||||
Op == Instruction::PtrToInt ||
|
||||
Op == Instruction::IntToPtr) &&
|
||||
"InsertNoopCastOfTo cannot perform non-noop casts!");
|
||||
assert(SE.getTypeSizeInBits(V->getType()) == SE.getTypeSizeInBits(Ty) &&
|
||||
"InsertNoopCastOfTo cannot change sizes!");
|
||||
|
Loading…
Reference in New Issue
Block a user