Displaying 1 result from an estimated 1 matches for "bb_then".
2015 Mar 16
4
[LLVMdev] possible addrspacecast problem
...are the same). But for the following case, it will make
non-speculative
load to be moved out of its guard. For 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 = loa...