[LLVMdev] Predicated Vector Operations
dag at cray.com
dag at cray.com
Mon May 13 08:27:17 PDT 2013
Jeff Bush <jeffbush001 at gmail.com> writes:
> On Wed, May 8, 2013 at 11:32 AM, Nadav Rotem <nrotem at apple.com> wrote:
>>...we do need support for masked load/stores, and
>> I think that we should implement them as target independent intrinsics.
>
> As I understand, one of the tricks for converting to SSA form in LLVM
> is to make all variable references be loads/stores, then use Mem2Reg
> to convert those back to registers. It seems like using intrinsics
> would preclude this and require the front end of the compiler to do
> it, which is quite a bit of work.
Yep, that is a big concern here. How difficult would it be to teach
mem2reg about these new intrinsics?
-David
More information about the llvm-dev
mailing list