Displaying 1 result from an estimated 1 matches for "bb_else".
Did you mean:
_else
2015 Mar 16
4
[LLVMdev] possible addrspacecast problem
...or example (assume that
isDereferenceablePointer(p)
is true),
The following code:
%pm = addrspaacecast float* %p to float addrspacecast(m)*
if (p is in addrspace(m))
// BB_then
%r0 = load float, float addrspace(m)* %pm;
else // p is in default addrspace
// BB_else
%r1 = load float, float* p;
%r = phi float [r0, BB_then], [r1, BB_else]
will be transformed to
%pm = addrspaacecast float* %p to float addrspacecast(m)*
%r0 = load float addrspace(m)* %pm;
%r1 = load float* p;
%r = select i1 (p is in adrspace(m)) float %r0, float...