Displaying 1 result from an estimated 1 matches for "dx_ptr".
Did you mean:
d_ptr
2012 Jun 30
2
[LLVMdev] llc -O# / opt -O# differences
...nts, however it looks like the results are somewhat
different. Here's a silly unoptimized bit of code which I'm generating
from my LLVM-backed program
; ModuleID = 'foo'
%Coord = type { double, double, double }
define double @foo(%Coord*, %Coord*) nounwind uwtable ssp {
entry:
%dx_ptr = alloca double
%b_ptr = alloca %Coord*
%a_ptr = alloca %Coord*
store %Coord* %0, %Coord** %a_ptr
store %Coord* %1, %Coord** %b_ptr
%a = load %Coord** %a_ptr
%addr = getelementptr %Coord* %a, i64 0
%2 = getelementptr inbounds %Coord* %addr, i32 0, i32 0
%3 = load double* %2
%b = l...