[PATCH] D140669: [RISCV] Use tail agnostic if inserting subvector/element at the end of a vector.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 30 08:58:07 PST 2022


craig.topper accepted this revision.
craig.topper added a comment.
This revision is now accepted and ready to land.

LGTM with those typos fixed



================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:5243
+
+  // Use tail agnostic poliy if Idx is the last index of Vec.
+  unsigned Policy = RISCVII::TAIL_UNDISTURBED_MASK_UNDISTURBED;
----------------
poliy->policy


================
Comment at: llvm/lib/Target/RISCV/RISCVISelLowering.cpp:6158
+
+    // Use tail agnostic poliy if OrigIdx is the last index of Vec.
+    unsigned Policy = RISCVII::TAIL_UNDISTURBED_MASK_UNDISTURBED;
----------------
poliy->policy


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D140669/new/

https://reviews.llvm.org/D140669



More information about the llvm-commits mailing list