[PATCH] D141767: [WIP][10/N][Clang][RISCV][NFC] Don't need to check for `MaskPolicy` in `isTAPolicy` and `isTUPolicy`

Yueh-Ting (eop) Chen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 14 11:26:41 PST 2023


eopXD updated this revision to Diff 489305.
eopXD added a comment.

Bump CI.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D141767

Files:
  clang/include/clang/Support/RISCVVIntrinsicUtils.h


Index: clang/include/clang/Support/RISCVVIntrinsicUtils.h
===================================================================
--- clang/include/clang/Support/RISCVVIntrinsicUtils.h
+++ clang/include/clang/Support/RISCVVIntrinsicUtils.h
@@ -122,11 +122,11 @@
   }
 
   bool isTAPolicy() const {
-    return TailPolicy == Agnostic && MaskPolicy == Omit;
+    return TailPolicy == Agnostic;
   }
 
   bool isTUPolicy() const {
-    return TailPolicy == Undisturbed && MaskPolicy == Omit;
+    return TailPolicy == Undisturbed;
   }
 
   bool isMAPolicy() const {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141767.489305.patch
Type: text/x-patch
Size: 560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230114/3193da45/attachment.bin>


More information about the cfe-commits mailing list