Go to file
David Majnemer 5d2670c52a ScalarEvolution: Construct SCEVDivision's Derived type instead of itself
SCEVDivision::divide constructed an object of SCEVDivision<Derived>
instead of Derived.  divide would call visit which would cast the
SCEVDivision<Derived> to type Derived.  As it happens,
SCEVDivision<Derived> and Derived currently have the same layout but
this is fragile and grounds for UB.

Instead, just construct Derived.  No functional change intended.

llvm-svn: 222126
2014-11-17 11:27:45 +00:00
clang
clang-tools-extra
compiler-rt
debuginfo-tests
libclc
libcxx
libcxxabi
lld
lldb
llvm ScalarEvolution: Construct SCEVDivision's Derived type instead of itself 2014-11-17 11:27:45 +00:00
openmp
polly