[PATCH] D87769: [ARM][MVE] tail-predication: predicate new checks on force-enabled option

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 16 08:59:15 PDT 2020


SjoerdMeijer updated this revision to Diff 292241.
SjoerdMeijer added a comment.

Thanks Dave, just for completeness, uploading a new diff with the codegen changes gone, which shouldn't have been there.


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

https://reviews.llvm.org/D87769

Files:
  llvm/lib/Target/ARM/MVETailPredication.cpp


Index: llvm/lib/Target/ARM/MVETailPredication.cpp
===================================================================
--- llvm/lib/Target/ARM/MVETailPredication.cpp
+++ llvm/lib/Target/ARM/MVETailPredication.cpp
@@ -411,7 +411,7 @@
                  << TC2 << " from get.active.lane.mask\n");
       return false;
     }
-  } else {
+  } else if (!ForceTailPredication) {
     // Smoke tests if the element count is a runtime value. I.e., this isn't
     // fully generic because that would require a full SCEV visitor here. It
     // would require extracting the variable from the elementcount SCEV


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D87769.292241.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200916/a7400c57/attachment.bin>


More information about the llvm-commits mailing list