Changeset 5378


Ignore:
Timestamp:
Mar 29, 2017, 3:28:40 PM (2 years ago)
Author:
nmedfort
Message:

Bug fix for last checkin: canLosslesslyBitCastTo does not think i128 can losslessly bit cast to <1 xi128>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/IR_Gen/idisa_builder.cpp

    r5377 r5378  
    2424Value * IDISA_Builder::fwCast(const unsigned fw, Value * const a) {
    2525    VectorType * const ty = fwVectorType(fw);
    26     assert (a->getType()->canLosslesslyBitCastTo(fwVectorType(fw)));
     26    assert (a->getType()->getPrimitiveSizeInBits() == ty->getPrimitiveSizeInBits());
    2727    return CreateBitCast(a, ty);
    2828}
Note: See TracChangeset for help on using the changeset viewer.