https://llvm.org/bugs/show_bug.cgi?id=28348
Bug ID: 28348 Summary: Regression(270823:273743): error in backend: Cannot select: t45: i32 = ARMISD::BFI t4, Constant:i32<1>, t34 Product: libraries Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Backend: ARM Assignee: unassignedb...@nondot.org Reporter: nicolaswe...@gmx.de CC: llvm-bugs@lists.llvm.org Classification: Unclassified thakis@thakis:/tmp$ cat repro.cc struct A { A(char*); }; struct D : A { D(char* p1) : A(p1) {} }; class C { void m_fn1(int a); char *ValidateFrame_data_ptr; }; void C::m_fn1(int a) { D(new char[a & ~4095]); ValidateFrame_data_ptr += 4096 + (a & 4095); } thakis@thakis:/tmp$ $HOME/src/llvm-build/bin/clang-3.8 -cc1 -triple thumbv7--linux-android -emit-obj -Os repro.cc fatal error: error in backend: Cannot select: t45: i32 = ARMISD::BFI t4, Constant:i32<1>, t34 t4: i32,ch = CopyFromReg t0, Register:i32 %vreg1 t3: i32 = Register %vreg1 t44: i32 = Constant<1> t34: i32 = t2MOVi16 TargetConstant:i32<4095>, TargetConstant:i32<14>, Register:i32 %noreg t56: i32 = TargetConstant<4095> t51: i32 = TargetConstant<14> t52: i32 = Register %noreg In function: _ZN1C5m_fn1Ei -- 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