[PATCH] D12559: Fix IRBuilder CreateBitOrPointerCast for vector types
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 2 15:08:35 PDT 2015
eugenis added a comment.
Almost minimized test case, build with --target=armv7-linux-gnueabi -std=c++11 -O2 -c
class A {
char *Data;
int Length;
public:
A() : Data(), Length() {}
};
void *operator new(unsigned, void *);
class B {
public:
A *resize_I;
void m_fn1() {
for (auto E = m_fn2(); resize_I != E; ++resize_I)
new (resize_I) A;
}
A *m_fn2();
};
class C {
void m_fn3(B &) const;
};
void C::m_fn3(B &p1) const const { p1.m_fn1(); }
http://reviews.llvm.org/D12559
More information about the llvm-commits
mailing list