[PATCH] D21690: Fix size computation of array allocation in inline cost analysis
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 24 13:17:20 PDT 2016
eli.friedman added a subscriber: eli.friedman.
eli.friedman added a comment.
While you're here, could you fix this to handle overflow correctly?
declare void @h(i32*)
define void @f(i128 %x) {
%y = alloca i32, i128 %x
call void @h(i32* %y)
ret void
}
define void @g() {
call void @f(i128 100000000000000000000000000000000000)
ret void
}
http://reviews.llvm.org/D21690
More information about the llvm-commits
mailing list