Skip to content

Error in backend: Cannot select RRCL #10

@mskvortsov

Description

@mskvortsov

Input:

extern const char _ctype_[];
int
isblank (int c)
{
 return (((_ctype_)[c+1] & 0200) || (c == '\t'));
}

Command line: clang -O2 -c isblank.c
Message:

fatal error: error in backend: Cannot select: t28: i8 = MSP430ISD::RRCL t9
  t9: i8,ch = load<(load 1 from %ir.arrayidx, !tbaa !2)> t0, t23, undef:i16
    t23: i16 = add t2, t43
      t2: i16,ch = CopyFromReg t0, Register:i16 %0
        t1: i16 = Register %0
      t43: i16 = MSP430ISD::Wrapper TargetGlobalAddress:i16<[0 x i8]* @_ctype_> + 1
        t42: i16 = TargetGlobalAddress<[0 x i8]* @_ctype_> + 1
    t8: i16 = undef

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions