https://bugs.llvm.org/show_bug.cgi?id=39877

            Bug ID: 39877
           Summary: [Hexagon] Cannot select:v2i16/v4i16 = any_extend
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Backend: Hexagon
          Assignee: unassignedb...@nondot.org
          Reporter: llvm-...@redking.me.uk
                CC: bcah...@codeaurora.org, kparz...@codeaurora.org,
                    llvm-bugs@lists.llvm.org, sgund...@codeaurora.org,
                    spatel+l...@rotateright.com

Created attachment 21193
  --> https://bugs.llvm.org/attachment.cgi?id=21193&action=edit
ISD::EXTRACT_VECTOR_ELT SimplifyDemandedBits Support

The attached WIP patch to add SimplifyDemandedBits support for
ISD::EXTRACT_VECTOR_ELT exposes issues in Hexagon:

Failing Tests (2):
    LLVM :: CodeGen/Hexagon/vect/setcc-v2i32.ll
    LLVM :: CodeGen/Hexagon/vect/zext-v4i1.ll

LLVM ERROR: Cannot select: t41: v4i16 = any_extend t31
  t31: v4i1 = setcc t26, t48, seteq:ch
    t26: v4i16,ch = load<(load 8 from %ir.a0, align 64)> t0, t2, undef:i32
      t2: i32,ch = CopyFromReg t0, Register:i32 %1
        t1: i32 = Register %1
      t4: i32 = undef
    t48: v4i16 = bitcast Constant:i64<0>
      t47: i64 = Constant<0>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to