[PATCH] D21409: Emit a swap for STXVD2X when it's emitted by matching a 'store' node

Ehsan Amiri via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 17 14:14:52 PDT 2016


amehsan added a comment.

Just and idea, but now that you are investigating it, you may consider this. We should not have C++ code for code gen if it is possible to do things in .td files. Could we keep this patch and get rid of the code in  PPCTargetLowering::expandVSXStoreForLE() which generates PPCISD::STXVD2X  (and possibly get rid of PPCISD::STXVC2X altogether?).


Repository:
  rL LLVM

http://reviews.llvm.org/D21409





More information about the llvm-commits mailing list