[llvm-bugs] [Bug 28348] New: Regression(270823:273743): error in backend: Cannot select: t45: i32 = ARMISD::BFI t4, Constant:i32<1>, t34
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jun 28 13:24:20 PDT 2016
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: unassignedbugs at nondot.org
Reporter: nicolasweber at gmx.de
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
thakis at 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 at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160628/624fa651/attachment.html>
More information about the llvm-bugs
mailing list