[PATCH] [AArch64] Match interleaved memory accesses into ldN/stN instructions.

Renato Golin renato.golin at linaro.org
Thu Jun 11 03:21:04 PDT 2015


In http://reviews.llvm.org/D10335#186081, @jmolloy wrote:

> I have some comments below. I think it would have been nicer if we'd managed to get this into CodeGen, but I do see the difficulties there. It's hard enough to match at the IR level!


There are two things we should common up: the static methods and AArch64InterleavedAccess.

The first one is easier, but the second one might be more important. I think it should be fine to add an InterleavedAccess.cpp into lib/CodeGen and have only AArch64 for now. Later, when we do ARM, you can rebase the AARch64 into a generic class, once we know more what the similarities are.

Meanwhile, that cpp file will contain the static methods, so when we do have an ARM version, we can easily reuse.

cheers,
--renato


http://reviews.llvm.org/D10335

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list