[PATCH] D104364: [RISCV] Don't enable Interleaved Access Vectorization

Luke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 16 01:39:55 PDT 2021


luke957 created this revision.
luke957 added reviewers: craig.topper, frasercrmck.
Herald added subscribers: vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
luke957 requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

The patch https://reviews.llvm.org/D101469 is intended to enable loop unrolling, not interleaved access vectorization. The method `bool enableInterleavedAccessVectorization()` should not be implemented.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104364

Files:
  llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h


Index: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
===================================================================
--- llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
+++ llvm/lib/Target/RISCV/RISCVTargetTransformInfo.h
@@ -178,7 +178,6 @@
     }
   }
 
-  bool enableInterleavedAccessVectorization() { return true; }
   unsigned getMaxInterleaveFactor(unsigned VF) {
     return ST->getMaxInterleaveFactor();
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104364.352371.patch
Type: text/x-patch
Size: 425 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210616/c1667d1a/attachment.bin>


More information about the llvm-commits mailing list